Skip to content

Commit 68f9132

Browse files
committed
slurm job
1 parent 377da19 commit 68f9132

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

csv_convert/convert_campaign.slurm.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ echo "[INFO] Running convert_campaign.py in $(hostname)"
1818
echo "[INFO] Campaign directory : $CAMPAIGN"
1919
echo "[INFO] Container image : $IMG"
2020
echo "[INFO] CSV_CONVERT_DIR : $CSV_CONVERT_DIR"
21-
echo "[INFO] Log file : $SLURM_OUTPUT"
21+
2222

2323
# Bind the whole campaign so script sees reco/ inside /work
2424
singularity exec -B "$CAMPAIGN":/work -B "$CSV_CONVERT_DIR":/code "$IMG" \
25-
python3 /code/convert_campaign.py /work --submit
25+
bash -c 'cd /code && python3 convert_campaign.py /work'
2626

2727
echo "[DONE] Conversion job finished"

0 commit comments

Comments
 (0)