Skip to content

alias nrproc -all

Eoin Clerkin requested to merge e.clerkin/cbmroot:nproc into master

Execution of CBMROOT configuration file interferes with the normal operation of nproc due to the setting of an OMP_NUM_THREAD=1 environment variable. Nproc normally returns number of processing units available to the current process, and is often used in conjunction with make and cmake, i.e. make -jnproc, when compiling code including CBMROOT.

To instead return the number of installed processors, will replicate better the expected behaviour of nproc for the CBMROOT user.

See Redmine issue #3108 for discussion.

Merge request reports