forked from EESSI/test-suite
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
476 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
import os | ||
|
||
from eessi.testsuite.common_config import common_logging_config, common_general_config, common_eessi_init | ||
from eessi.testsuite.constants import * # noqa: F403 | ||
|
||
# This config will write all staging, output and logging to subdirs under this prefix | ||
# Override with RFM_PREFIX environment variable | ||
reframe_prefix = os.path.join(os.environ['HOME'], 'reframe_runs') | ||
|
||
# This is an example configuration file | ||
site_configuration = { | ||
'systems': [ | ||
{ | ||
'name': 'deucalion', | ||
'descr': 'Deucalion, a EuroHPC JU system', | ||
'modules_system': 'lmod', | ||
'hostnames': ['ln*', 'cn*', 'gn*'], | ||
'prefix': reframe_prefix, | ||
'partitions': [ | ||
{ | ||
'name': 'arm', | ||
'scheduler': 'slurm', | ||
'prepare_cmds': [ | ||
'wrap.sh << EOF', | ||
# bypass CPU autodetection for now aarch64/a64fx, | ||
# see https://github.com/EESSI/software-layer/pull/608 | ||
'export EESSI_SOFTWARE_SUBDIR_OVERRIDE=aarch64/a64fx', | ||
'source %s' % common_eessi_init(), | ||
# Pass job environment variables like $PATH, etc., into job steps | ||
'export SLURM_EXPORT_ENV=HOME,PATH,LD_LIBRARY_PATH,PYTHONPATH', | ||
], | ||
'launcher': 'mpirun', | ||
# Use --export=None to avoid that login environment is passed down to submitted jobs | ||
'access': ['-p normal-arm', '--export=None'], | ||
'environs': ['default'], | ||
'max_jobs': 120, | ||
'resources': [ | ||
{ | ||
'name': 'memory', | ||
'options': ['--mem={size}'], | ||
} | ||
], | ||
'features': [ | ||
FEATURES[CPU], | ||
] + list(SCALES.keys()), | ||
'extras': { | ||
# Make sure to round down, otherwise a job might ask for more mem than is available | ||
# per node | ||
# NB: Deucalion's MaxMemPerNode is undefined. Experimentally I found you cannot submit with | ||
# more than --mem=30000M | ||
'mem_per_node': 30000 # in MiB | ||
}, | ||
'descr': 'CPU ARM A64FX partition, see https://docs.macc.fccn.pt/deucalion/#compute-nodes' | ||
}, | ||
] | ||
}, | ||
], | ||
'environments': [ | ||
{ | ||
'name': 'default', | ||
'cc': 'cc', | ||
'cxx': '', | ||
'ftn': '', | ||
}, | ||
], | ||
'logging': common_logging_config(reframe_prefix), | ||
'general': [ | ||
{ | ||
# Enable automatic detection of CPU architecture for each partition | ||
# See https://reframe-hpc.readthedocs.io/en/stable/configure.html#auto-detecting-processor-information | ||
'remote_detect': True, | ||
**common_general_config(reframe_prefix) | ||
} | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.