equinor / ert

ERT - Ensemble based Reservoir Tool - is designed for running ensembles of dynamical models such as reservoir models, in order to do sensitivity analysis and data assimilation. ERT supports data assimilation using the Ensemble Smoother (ES), Ensemble Smoother with Multiple Data Assimilation (ES-MDA) and Iterative Ensemble Smoother (IES).
https://ert.readthedocs.io/en/latest/
GNU General Public License v3.0
98 stars 104 forks source link

Write generic driver test that asserts OMP_NUM_THREADS #8195

Open berland opened 2 weeks ago

berland commented 2 weeks ago

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.

berland commented 2 weeks ago

Leftover issue from #8065