SWIFTSIM / HBTplus

HBTplus halo finder adapted for the FLAMINGO and COLIBRE simulations
0 stars 0 forks source link

Set OMP_NUM_THREADS when running unit tests #37

Closed jchelly closed 1 month ago

jchelly commented 1 month ago

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.