diff --git a/easybuild/easyconfigs/d/DECAF-synthetic-data/DECAF-synthetic-data-0.1.6-foss-2023b.eb b/easybuild/easyconfigs/d/DECAF-synthetic-data/DECAF-synthetic-data-0.1.6-foss-2023b.eb index 5e7989af627..a2bfee4e2c8 100644 --- a/easybuild/easyconfigs/d/DECAF-synthetic-data/DECAF-synthetic-data-0.1.6-foss-2023b.eb +++ b/easybuild/easyconfigs/d/DECAF-synthetic-data/DECAF-synthetic-data-0.1.6-foss-2023b.eb @@ -23,6 +23,8 @@ dependencies = [ use_pip = True sanity_pip_check = True +local_pretestopts = "export SLURM_NTASKS_PER_NODE=$SLURM_NTASKS && " + exts_list = [ ('networkx', '2.8.8', { 'checksums': ['230d388117af870fce5647a3c52401fcf753e94720e6ea6b4197a5355648885e'], @@ -36,7 +38,7 @@ exts_list = [ 'sources': [{'download_filename': 'v%(version)s.tar.gz', 'filename': SOURCE_TAR_GZ}], 'checksums': ['8f34e99937d2ccc43bff97b310c371c450e27313c0801cdd36aa91664c8e3180'], 'testinstall': True, - 'runtest': 'pytest -vsx', + 'runtest': local_pretestopts + 'pytest -vsx', }), ]