mrirecon / bart

BART: Toolbox for Computational Magnetic Resonance Imaging
https://mrirecon.github.io/bart/
BSD 3-Clause "New" or "Revised" License
291 stars 161 forks source link

PARALLEL=1 can cause `make tests` to overload the machine #290

Open gdevenyi opened 2 years ago

gdevenyi commented 2 years ago

Parallel mode on tests can overload a machine due to the CPU/Memory load.

jtamir commented 2 years ago

Hi, this can be controlled with the environment variable PARALLEL_NJOBS. For example:

~/bart $ cat Makefile.local
PARALLEL=1
PARALLEL_NJOBS=2