Skip to content

Commit 69fd5b5

Browse files
committed
1 parent 7b75e44 commit 69fd5b5

3 files changed

Lines changed: 23 additions & 1242 deletions

File tree

envs/README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,20 @@ eb --robot fcps.eb --job-cores=10
8787
eb --robot clustbench.eb --job-cores=10
8888
```
8989

90-
Running a benchmark:
90+
Running a benchmark assuming the modules were installed within the `MODULE_BASEPATH`/software/modules/all path (perhaps `MODULE_BASEPATH` equals `$EASYBUILD_PREFIX`):
9191

9292
```bash
93+
# during a debugging session, this was `/home/mark/envmodules_debug/.local/easybuild/`
94+
MODULE_BASEPATH='updateme'
95+
9396
source /cvmfs/software.eessi.io/versions/2025.06/init/lmod/bash ## if not loaded
9497
module load EESSI-extend/2025.06-easybuild ## if not loaded
95-
export MODULEPATH="$EASYBUILD_PREFIX"/software/modules/all:"$MODULEPATH"
98+
export MODULEPATH="$MODULE_BASEPATH"/software/modules/all:"$MODULEPATH"
9699
module use $MODULEPATH
100+
echo $MODULEPATH
101+
102+
# during a debugging session, the resulting $MODULEPATH contained both the MODULE_BASEPATH and EESSI's injections
103+
# /home/mark/envmodules_debug/.local/easybuild/software/modules/all:/home/mark/eessi/versions/2025.06/software/linux/x86_64/amd/zen2/modules/all:/cvmfs/software.eessi.io/host_injections/2025.06/software/linux/x86_64/amd/zen2/modules/all:/cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/amd/zen2/modules/all:/cvmfs/software.eessi.io/versions/2025.06/init/modules
97104

98105
ob run benchmark -b Clustering_envmodules.yml --local-storage --cores 30
99106
```

envs/clustbench.eb

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ builddependencies = [
2323
dependencies = [
2424
('Python', '3.12.3'),
2525
('SciPy-bundle', '2024.05'),
26-
('matplotlib', '3.9.2'),
27-
('scikit-learn', '1.6.1')
26+
('matplotlib', '3.9.2')
2827
]
2928

3029
sanity_pip_check = True
@@ -46,10 +45,10 @@ exts_list = [
4645
('fastcluster', '1.2.6', {
4746
'checksums': ['aab886efa7b6bba7ac124f4498153d053e5a08b822d2254926b7206cdf5a8aa6'],
4847
}),
49-
## ('scikit-learn', '1.6.1', {
50-
## 'modulename': 'sklearn',
51-
## 'source_urls' : [PYPI_SOURCE]
52-
## }),
48+
('scikit-learn', '1.4.2', {
49+
'modulename': 'sklearn',
50+
'source_urls' : [PYPI_SOURCE]
51+
}),
5352
('genieclust', '1.1.6', {
5453
'source_urls': ['https://github.com/gagolews/genieclust/archive/refs/tags/'],
5554
'sources': ['v1.1.6.tar.gz'],

0 commit comments

Comments
 (0)