Skip to content

Commit

Permalink
Merge pull request easybuilders#2950 from migueldiascosta/set_BGW_TES…
Browse files Browse the repository at this point in the history
…T_MPI_NPROCS

set BGW_TEST_MPI_NPROCS in BerkeleyGW test step
  • Loading branch information
akesandgren authored Jan 5, 2024
2 parents 2ee5c8c + 99619b6 commit de4e716
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion easybuild/easyblocks/b/berkeleygw.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@ def test_step(self):
"""Custom test step for BerkeleyGW."""
if self.cfg['runtest'] is not False:
self.cfg['runtest'] = 'check'
setvar('OMP_NUM_THREADS', '4')
setvar('BGW_TEST_MPI_NPROCS', '2')
setvar('OMP_NUM_THREADS', '2')
setvar('TEMPDIRPATH', os.path.join(self.builddir, 'tmp'))
super(EB_BerkeleyGW, self).test_step()

Expand Down

0 comments on commit de4e716

Please sign in to comment.