Adjusted all working routes, full docker pipeline verified, added extra validations for docker, reduced julia environment, tested run succesful

This commit is contained in:
Pixelguy14
2026-10-08 20:51:43 -06:00
parent 19fdd8af16
commit bab8f4d2a9
28 changed files with 290 additions and 499 deletions
+16 -2
View File
@@ -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
# ============================================================