WM_NCOMPPROCS and full optimization
From OpenFOAMWiki
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page:
Return to Thread:Talk:Contrib/swak4Foam/WM NCOMPPROCS and full optimization/reply (3).
The problem is that optimizing the parser for swak is futile: the time spent doing the actual parsing is small compard to the actual "OF-work": calculations on the fields. That's why I added the special optimiziation switch for the parsers.
PS: and this "tries to optimize goto-stained code" is only a theory (I haven't looked at the source. But its behaviour - certain CLang versions freeze a 8 Gig machine when compiling FieldParser with O3 - make me pretty sure that this is the case)