Skip to content
Snippets Groups Projects

Allow users to limit number of cores using NJOBS envvar.

Merged lintao@ihep.ac.cn requested to merge lintao/build/limit-njobs into master

In the recent IHEP cluster, the number of processes are limit to 150. When a user builds the CEPCSW with all the cpu cores, the resources will be unavailable. So this MR allow users to reduce the number of cores:

$ NJOBS=12 ./build.sh

If users don't specify the number, then it is decided by the min(proc, nthreads/factor), where nthreads is ulimit -u and factor is 16.

Edited by lintao@ihep.ac.cn

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading