Skip to content
Open
Show file tree
Hide file tree
Changes from 9 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
1 change: 0 additions & 1 deletion .play_minio.json

This file was deleted.

24 changes: 12 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
# run_conda run conda backend with seeds + repeats
# run_oras run oras backend with seeds + repeats
# run_envs run envmodules backend with seeds + repeats
# knit_report generate RMarkdown reports - not fully tested
# knit_report generate RMarkdown reports and an aggregated CSV - not fully tested
#
# Environment:
# - MAX_CORES controls parallelism (default: 50).
# - MAX_CORES controls num concurrent rules
Comment thread
imallona marked this conversation as resolved.
# - EASYBUILD_PREFIX needs to be tuned to access the envmodules built extending EESSI <--------------!!!!
# see: https://github.com/omnibenchmark/clustering_example/pull/43
#
Expand All @@ -28,16 +28,17 @@

MAX_CORES ?= 50

# EasyBuild installation prefix (imallona; edit accordingly)
# 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}

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

# legacy reports in the wrong repository; to be moved to this one
REPORTS_REPO = https://github.com/imallona/clustering_report
Expand All @@ -49,10 +50,10 @@ all: clone_yamls clone_reports run_conda run_oras run_envs knit_report
clone_yamls:
@if [ ! -d "$(CLUSTERING_DIR)" ]; then \
echo "Cloning clustering_example repo..."; \
git clone --branch easyconfigs_py3126 $(CLUSTERING_REPO); \
git clone --branch ${CLUSTERING_BRANCH} $(CLUSTERING_REPO); \
else \
echo "clustering_example repo already present, pulling latest..."; \
cd $(CLUSTERING_DIR) && git fetch && git checkout easyconfigs_py3126 && git pull; \
cd $(CLUSTERING_DIR) && git fetch && git checkout ${CLUSTERING_BRANCH} && git pull; \
Comment thread
imallona marked this conversation as resolved.
fi

# clone the clustering_report repo (mark branch) if not already present
Expand Down Expand Up @@ -114,9 +115,8 @@ run_envs: clone_yamls
done \
'


knit_report: clone_reports
R -e 'rmarkdown::render("$(REPORTS_DIR)/07_metrics_across_backends.Rmd", params = list(performance_bn = "performance-results.rds", metrics_bn = "metrics-results.rds", clustering_dir = "."))'
R -e 'rmarkdown::render("$(REPORTS_DIR)/08_performances_across_backends.Rmd", params = list(performance_bn = "performance-results.rds", metrics_bn = "metrics-results.rds", clustering_dir = "."))'
python parse_results.py
R -e 'rmarkdown::render("analyze_results.Rmd")'
# R -e 'rmarkdown::render("$(REPORTS_DIR)/07_metrics_across_backends.Rmd", params = list(performance_bn = "performance-results.rds", metrics_bn = "metrics-results.rds", clustering_dir = "."))'
# R -e 'rmarkdown::render("$(REPORTS_DIR)/08_performances_across_backends.Rmd", params = list(performance_bn = "performance-results.rds", metrics_bn = "metrics-results.rds", clustering_dir = "."))'
python parse_results.py > aggregated_results.json
R -e 'rmarkdown::render("analyze_results_izaskun.Rmd")'
Loading