Skip to content
Snippets Groups Projects
Commit 7c29c810 authored by Carolin Penke's avatar Carolin Penke
Browse files

forgot to uncomment

parent 4d3db948
Branches
No related tags found
1 merge request!1changed paths to opengptx-elm and added StartLongRun.bash to start multiple...
......@@ -43,21 +43,21 @@ export LOAD_CHECKPOINTS=true
# Start NUM_JOBS jobs, that will only start when the previous one has terminated
DEPENDENT=1
re='^[0-9]+$'
# if [[ $NUM_JOBS =~ $re ]] ; then
# for ((i=1; i <= $NUM_JOBS; i++));
# do
# if [ "x$RUNTIME_PER_JOB" != x ]
# then
# JOBID=$(sbatch --parsable --dependency=afterany:$DEPENDENT --time $RUNTIME_PER_JOB tr1-13B-round1_juwels_pipe.sbatch)
# else
# JOBID=$(sbatch --parsable --dependency=afterany:$DEPENDENT tr1-13B-round1_juwels_pipe.sbatch)
# fi
# echo "Submitted batch job $JOBID, dependent on termination of $DEPENDENT"
# DEPENDENT=$JOBID
# done
# else
# echo "NUM_JOBS not a number"
# fi
if [[ $NUM_JOBS =~ $re ]] ; then
for ((i=1; i <= $NUM_JOBS; i++));
do
if [ "x$RUNTIME_PER_JOB" != x ]
then
JOBID=$(sbatch --parsable --dependency=afterany:$DEPENDENT --time $RUNTIME_PER_JOB tr1-13B-round1_juwels_pipe.sbatch)
else
JOBID=$(sbatch --parsable --dependency=afterany:$DEPENDENT tr1-13B-round1_juwels_pipe.sbatch)
fi
echo "Submitted batch job $JOBID, dependent on termination of $DEPENDENT"
DEPENDENT=$JOBID
done
else
echo "NUM_JOBS not a number"
fi
echo "Starting tensorboard.."
# Grab free port
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment