Adjusted all working routes, full docker pipeline verified, added extra validations for docker, reduced julia environment, tested run succesful
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
.PHONY: build build-cpu run run-cpu shell shell-cpu \
|
||||
pipeline run-dataset \
|
||||
.PHONY: build build-cpu run run-cpu run-gpu shell shell-cpu \
|
||||
pipeline run-dataset run-dataset-cpu run-dataset-gpu \
|
||||
step1 step2 step3 step4 step5 step6 step7 \
|
||||
plot-spectra clean clean-all
|
||||
|
||||
# Opt-in NVIDIA GPU: layer the override file (see README "Troubleshooting").
|
||||
GPU_COMPOSE = docker compose -f docker-compose.yml -f docker-compose.gpu.yml
|
||||
|
||||
# ============================================================
|
||||
# Build
|
||||
# ============================================================
|
||||
@@ -21,6 +24,9 @@ run:
|
||||
run-cpu:
|
||||
docker compose run --rm msi-pipeline-cpu bash run_full_pipeline.sh
|
||||
|
||||
run-gpu:
|
||||
$(GPU_COMPOSE) run --rm msi-pipeline-gpu bash run_full_pipeline.sh
|
||||
|
||||
# ============================================================
|
||||
# Run single dataset
|
||||
# ============================================================
|
||||
@@ -28,6 +34,14 @@ run-dataset:
|
||||
@if [ -z "$(D)" ]; then echo "Usage: make run-dataset D=Datura_leaf"; exit 1; fi
|
||||
docker compose run --rm msi-pipeline-gpu bash run_full_pipeline.sh $(D)
|
||||
|
||||
run-dataset-cpu:
|
||||
@if [ -z "$(D)" ]; then echo "Usage: make run-dataset-cpu D=Datura_leaf"; exit 1; fi
|
||||
docker compose run --rm msi-pipeline-cpu bash run_full_pipeline.sh $(D)
|
||||
|
||||
run-dataset-gpu:
|
||||
@if [ -z "$(D)" ]; then echo "Usage: make run-dataset-gpu D=Datura_leaf"; exit 1; fi
|
||||
$(GPU_COMPOSE) run --rm msi-pipeline-gpu bash run_full_pipeline.sh $(D)
|
||||
|
||||
# ============================================================
|
||||
# Interactive shell
|
||||
# ============================================================
|
||||
|
||||
Reference in New Issue
Block a user