diff --git a/simulations/run-then-upload.sh b/simulations/run-then-upload.sh index 3bf54c3e..39e45997 100755 --- a/simulations/run-then-upload.sh +++ b/simulations/run-then-upload.sh @@ -43,4 +43,5 @@ jobID=$(echo $jobID | sed 's/\(.*\):\d*/\1/') # create the filename from the array job index (which won't be set if this is a normal job) fileName=$(printf "out%05d.log" $AWS_BATCH_JOB_ARRAY_INDEX) -aws s3 cp out.log s3://simulations-1/$jobID/$simResult/$fileName \ No newline at end of file + +aws s3 cp out.log s3://simulations-1/$SIM_NAME$jobID/$simResult/$fileName \ No newline at end of file