Closed ykempf closed 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.
export OMP_NUM_THREADS=6 ; aprun -n 4 -d $OMP_NUM_THREADS ./vlasiator --run_config Magnetosphere_small.cfg
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}
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.