Difference between revisions of "Thread:Talk:Contrib/swak4Foam/WM NCOMPPROCS and full optimization"

From OpenFOAMWiki
(New thread: WM_NCOMPPROCS and full optimization)
 
(No difference)

Latest revision as of 12:21, 5 October 2013

Hi Bruno!

Don't want to add noise to your tip about WM_NCOMPPROCS=4 for compilation. But that may be problematic for some people: certain compilers (for instance CLang) use HUGE amounts of memory when doing full optimiziation. The files generated by the grammars are very large and the problem is that three grammars from the base library get compiled at approximately the same time. I've seen cases where this forces machines with medium amount of memory (8Gig to be precise) into swapping and making them almost non-responsive. So I don't endorse this tip. I'd rather have people go "took me long to compile" than "compilation frooze my machine" (and I think I remember at least one such instance on the MessageBoard)

Bernhard