Skip to content

Commit fcc50eb

Browse files
few mods; bring in Izaskun's eb changes
1 parent 97bed63 commit fcc50eb

7 files changed

Lines changed: 52 additions & 1250 deletions

File tree

Clustering_conda.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,20 @@ stages:
9494
parameters:
9595
- method: "genie"
9696
gini_threshold: 0.5
97+
- id: genieclust2
98+
name: "genieclust"
99+
software_environment: "clustbench"
100+
repository:
101+
url: https://github.com/imallona/clustbench_genieclust
102+
commit: 7d9e799
103+
parameters:
97104
- method: ["gic", "ica"]
98105
- id: fcps
99106
name: "fcps"
100107
software_environment: "fcps"
101108
repository:
102-
url: https://github.com/imallona/clustbench_fcps
103-
commit: e780fed
109+
url: https://github.com/markrobinsonuzh/clustbench_fcps.git
110+
commit: c19094f
104111
parameters:
105112
- method: ["FCPS_Minimax", "FCPS_MinEnergy", "FCPS_HDBSCAN_2", "FCPS_HDBSCAN_4", "FCPS_HDBSCAN_8", "FCPS_Diana", "FCPS_Fanny", "FCPS_Hardcl", "FCPS_Softcl", "FCPS_Clara", "FCPS_PAM"]
106113
seed: 2

Clustering_envmodules.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,13 @@ stages:
9494
parameters:
9595
- method: "genie"
9696
gini_threshold: 0.5
97+
- id: genieclust2
98+
name: "genieclust"
99+
software_environment: "clustbench"
100+
repository:
101+
url: https://github.com/imallona/clustbench_genieclust
102+
commit: 7d9e799
103+
parameters:
97104
- method: ["gic", "ica"]
98105
- id: fcps
99106
name: "fcps"

Clustering_oras.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,13 @@ stages:
9494
parameters:
9595
- method: "genie"
9696
gini_threshold: 0.5
97+
- id: genieclust2
98+
name: "genieclust"
99+
software_environment: "clustbench"
100+
repository:
101+
url: https://github.com/imallona/clustbench_genieclust
102+
commit: 7d9e799
103+
parameters:
97104
- method: ["gic", "ica"]
98105
- id: fcps
99106
name: "fcps"

Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
MAX_CORES ?= 50
22

3-
# without continue on error (-k)
4-
OB_CMD=ob run benchmark --local --cores ${MAX_CORES} --yes
3+
# vanilla ob command
4+
OB_CMD=ob run --cores ${MAX_CORES}
55

66
# prepare_apptainer_env:
77
# cd envs && bash build_singularity.sh
88

9-
all: run_with_default_conda run_with_unpinned_oras run_with_default_envs # knit_report
9+
all: run_with_default_conda run_with_unpinned_oras run_with_default_envs
1010

1111
run_with_default_conda:
12-
${OB_CMD} -b Clustering_conda.yml
12+
${OB_CMD} Clustering_conda.yml
1313
cp Clustering_conda.yml out
1414
mv out out_conda_$(shell date +'%Y%m%d_%H%M')
1515

1616
run_with_unpinned_oras:
17-
${OB_CMD} -b Clustering_oras.yml
17+
${OB_CMD} Clustering_oras.yml
1818
cp Clustering_oras.yml out
1919
mv out out_singularity_$(shell date +'%Y%m%d_%H%M')
2020

2121
run_with_default_envs:
22-
${OB_CMD} -b Clustering_envmodules.yml
22+
${OB_CMD} Clustering_envmodules.yml
2323
cp Clustering_envmodules.yml out
2424
mv out out_envmodules_$(shell date +'%Y%m%d_%H%M')
2525

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)