Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,20 @@
# ============================================================


MAX_CORES ?= 250
MAX_CORES ?= 120

# EasyBuild installation prefix (imallona; edit accordingly) ## <------------------------------------!!!!
EASYBUILD_PREFIX ?= /data/imallona/.local/easybuild
export EASYBUILD_PREFIX

# omnibenchmark command template
OB_CMD = ob run benchmark --local-storage --cores ${MAX_CORES}
# OB_CMD = ob run benchmark --local-storage --cores ${MAX_CORES}
OB_CMD = ob run
OB_CMD_END = --cores ${MAX_CORES} -k --task-timeout 1min --yes

# actual benchmark plan repository - to be pinned (the commit/tag)
CLUSTERING_REPO = https://github.com/omnibenchmark/clustering_example
CLUSTERING_BRANCH = longer_yamls
CLUSTERING_BRANCH = full_yamls
CLUSTERING_DIR = clustering_example

# legacy reports in the wrong repository; to be moved to this one
Expand Down Expand Up @@ -81,7 +83,8 @@ run_conda: clone_yamls
for i in $(RUNS); do \
echo " Run $$i for seed $$seed and run $$i."; \
echo "DEST: results/out_conda_seed_$$seed\_run_$$i" ;\
${OB_CMD} -b $(CLUSTERING_DIR)/Clustering_conda_tmp.yml --out-dir results/out_conda_seed_$$seed\_run_$$i; \
mkdir -p results/out_conda_seed_$$seed\_run_$$i/ ;\
${OB_CMD} $(CLUSTERING_DIR)/Clustering_conda_tmp.yml --out-dir results/out_conda_seed_$$seed\_run_$$i ${OB_CMD_END}; \
cp $(CLUSTERING_DIR)/Clustering_conda_tmp.yml results/out_conda_seed_$$seed\_run_$$i/; \
done; \
done
Expand All @@ -93,7 +96,8 @@ run_oras: clone_yamls
sed -i "s/--seed\",[[:space:]]*[0-9]\+/--seed\", $$seed/" $(CLUSTERING_DIR)/Clustering_oras_tmp.yml; \
for i in $(RUNS); do \
echo " Run $$i for seed $$seed and run $$i."; \
${OB_CMD} -b $(CLUSTERING_DIR)/Clustering_oras_tmp.yml --out-dir results/out_oras_seed_$$seed\_run_$$i/; \
mkdir -p results/out_oras_seed_$$seed\_run_$$i/ ;\
${OB_CMD} $(CLUSTERING_DIR)/Clustering_oras_tmp.yml --out-dir results/out_oras_seed_$$seed\_run_$$i/ ${OB_CMD_END}; \
cp $(CLUSTERING_DIR)/Clustering_oras_tmp.yml results/out_oras_seed_$$seed\_run_$$i/; \
done; \
done
Expand All @@ -111,7 +115,8 @@ run_envs: clone_yamls
sed -i "s/--seed\",[[:space:]]*[0-9]\+/--seed\", $$seed/" $(CLUSTERING_DIR)/Clustering_envmodules_tmp.yml; \
for i in $(RUNS); do \
echo " Run $$i for seed $$seed and run $$i..."; \
${OB_CMD} -b $(CLUSTERING_DIR)/Clustering_envmodules_tmp.yml --out-dir results/out_envmodules_seed_$$seed\_run_$$i/; \
mkdir -p results/out_envmodules_seed_$$seed\_run_$$i/ ;\
${OB_CMD} $(CLUSTERING_DIR)/Clustering_envmodules_tmp.yml --out-dir results/out_envmodules_seed_$$seed\_run_$$i/ ${OB_CMD_END}; \
cp $(CLUSTERING_DIR)/Clustering_envmodules_tmp.yml results/out_envmodules_seed_$$seed\_run_$$i/; \
done; \
done \
Expand Down
Loading