ert
ert copied to clipboard
Write generic driver test that asserts OMP_NUM_THREADS
At least LSF and OpenPBS will set the environment variable $OMP_NUM_THREADS to the number of CPU cores that have been allocated when submitting the job.
Write a generic integration driver test that asserts that this environment variable is set to the requested number when a job is run, should work both for the mocked drivers and the real cluster.
NB! Let's find out how or if SLURM sets NUM_THREADS and the tests would be relevant for SLURM too.
Leftover issue from #8065