Template:Installation/swak4Foam/TipAboutNCOMPPROCS

From OpenFOAMWiki
Tip
If using a GCC or ICC compiler (and not clang), then before running Allwmake, the following command can define the number of cores to be used for a faster build process:
export WM_NCOMPPROCS=4
Where 4 means that the machine has got 4 processor cores. Using a value larger than the number of cores the machine has got, can risk using more memory than the machine has got and leading to a freeze or crash.