From e563a75474a5c50cab3f2754c74738d5f30d3bbb Mon Sep 17 00:00:00 2001 From: Kenneth Hoste Date: Wed, 31 Jan 2024 20:29:34 +0100 Subject: [PATCH 1/4] stick to using EESSI pilot 2021.12 for now, which includes both GROMACS and OSU-Micro-Benchmarks --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 00861f21..b8076383 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ jobs: fail-fast: false matrix: EESSI_VERSION: - - "2023.06" + - "2021.12" steps: - name: Check out software-layer repository uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 From 0d395100bf2c500bdee272ea97e8037757273c8a Mon Sep 17 00:00:00 2001 From: Kenneth Hoste Date: Wed, 31 Jan 2024 20:47:21 +0100 Subject: [PATCH 2/4] install ReFrame in CI worfklow when using EESSI pilot 2021.12 --- .github/workflows/test.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b8076383..fd2b085b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,7 +25,19 @@ jobs: - name: Run test suite run: | - source /cvmfs/pilot.eessi-hpc.org/versions/${{matrix.EESSI_VERSION}}/init/bash + # install latest version of EasyBuild, to install ReFrame with it, + # since that includes the ReFrame test library (hpctestlib) that we rely on + python3 -m venv venv + source venv/bin/activate + pip3 install easybuild + eb --version + export EASYBUILD_PREFIX=$HOME/easybuild + # need to force module generation with --module-only --force because 'pip check' fails + # in EESSI pilot 2021.12, see https://github.com/EESSI/compatibility-layer/issues/152 + eb ReFrame-4.3.3.eb || eb ReFrame-4.3.3.eb --module-only --force + + # load ReFrame + module use $HOME/easybuild/modules/all module load ReFrame/4.3.3 reframe --version From 1157d0275b0e228fa8174613ce57ea2d9e6520b5 Mon Sep 17 00:00:00 2001 From: Kenneth Hoste Date: Wed, 31 Jan 2024 20:51:27 +0100 Subject: [PATCH 3/4] initialise EESSI environment before installing ReFrame with EasyBuild in CI workflow --- .github/workflows/test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fd2b085b..f5686848 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,6 +25,8 @@ jobs: - name: Run test suite run: | + source /cvmfs/pilot.eessi-hpc.org/versions/${{matrix.EESSI_VERSION}}/init/bash + # install latest version of EasyBuild, to install ReFrame with it, # since that includes the ReFrame test library (hpctestlib) that we rely on python3 -m venv venv From e3272d439998f52cb747b3707f1cfe409aa69253 Mon Sep 17 00:00:00 2001 From: Kenneth Hoste Date: Thu, 1 Feb 2024 09:16:40 +0100 Subject: [PATCH 4/4] fix typo in partition names in configuration file for VSC Hortense --- config/vsc_hortense.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/vsc_hortense.py b/config/vsc_hortense.py index af7dd4c1..3cc609df 100644 --- a/config/vsc_hortense.py +++ b/config/vsc_hortense.py @@ -113,7 +113,7 @@ def command(self, job): 'name': 'gpu_rome_a100_40gb', 'scheduler': 'slurm', 'prepare_cmds': ['source %s' % common_eessi_init()], - 'access': hortense_access + ['--partition=cpu_rome_a100_40'], + 'access': hortense_access + ['--partition=gpu_rome_a100_40'], 'environs': ['default'], 'descr': 'GPU nodes (A100 40GB)', 'max_jobs': 20, @@ -154,7 +154,7 @@ def command(self, job): 'name': 'gpu_rome_a100_80gb', 'scheduler': 'slurm', 'prepare_cmds': ['source %s' % common_eessi_init()], - 'access': hortense_access + ['--partition=cpu_rome_a100_80'], + 'access': hortense_access + ['--partition=gpu_rome_a100_80'], 'environs': ['default'], 'descr': 'GPU nodes (A100 80GB)', 'max_jobs': 20,