fmihpc / vlasiator

Vlasiator - ten letters you can count on
https://www.helsinki.fi/en/researchgroups/vlasiator
Other
45 stars 37 forks source link

Thread count in logfile incorrect on sisu #320

Closed ykempf closed 7 years ago

ykempf commented 7 years ago

When running e.g. export OMP_NUM_THREADS=6 ; aprun -n 4 -d $OMP_NUM_THREADS ./vlasiator --run_config Magnetosphere_small.cfg the logfile only reports 1 thread, which is incorrect.

galfthan commented 7 years ago

This is running on interactive nodes? Environment variables are not exported automatically. Try adding the following option to aprun:

-e OMP_NUM_THREADS=${OMP_NUM_THREADS}