This pull request adds a cmake variable with the number of threads to use in unit tests and makes it default to 4.
This helps because if OMP_NUM_THREADS is not set each MPI rank tries to use all of the available cores so the cores become oversubscribed and make test takes many minutes to complete.
This pull request adds a cmake variable with the number of threads to use in unit tests and makes it default to 4.
This helps because if OMP_NUM_THREADS is not set each MPI rank tries to use all of the available cores so the cores become oversubscribed and
make test
takes many minutes to complete.