Skip to content

Change default WM_NCOMPPROCS

I was warned by the HPC manager that the third party make script uses all CPU cores in the head node.

Could you please consider adding a script to change the default behavior if it detects HPC environment?

For example, run lscpu | grep Socket. If the result is 2, ask the user if it's in HPC environment, then type in no. of cores (most HPC managers are OK with -j 4).

Edited by Guanyang Xue