Skip to content
Snippets Groups Projects
Commit d9615616 authored by Price, Zach's avatar Price, Zach
Browse files

Update submit script to include facility in job name passed via -N

parent af4fba6d
No related branches found
No related tags found
1 merge request!1Update submit script to include facility in job name passed via -N
Pipeline #221384 passed
......@@ -53,4 +53,4 @@ RUN_DATE=$(date +%Y%m%d -d"14 days ago")
# To regenerate the secret with a new key:
# kubectl create secret generic stratus-armxfer-ssh-key --from-file=id_rsa=/path/to/id_rsa --namespace aerioe
/usr/bin/curl -sk "https://pcm.arm.gov/pcm/api/processes/aerioe" | jq -r '.process.run_locations[] | "/opt/torque/bin/qsub /software/user_tools/current/cades-arm/aerioe_prod/bin/aerioe_submit_mpi -W x=FLAGS:ADVRES:$(showres | grep arm-prod | cut -f1 -d'"' '"' | sort -r | head -n1) -l nodes=6:ppn=36 -N aerioe."+(.site | ascii_downcase)+"."+env.RUN_DATE+" -v date="+env.RUN_DATE+",site="+(.site | ascii_downcase)+",facility="+.fac' | while read -r cmd; do ssh-vi /etc/ssh-key/id_rsa -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no armxfer@stratus.ornl.gov $cmd; done
/usr/bin/curl -sk "https://pcm.arm.gov/pcm/api/processes/aerioe" | jq -r '.process.run_locations[] | "/opt/torque/bin/qsub /software/user_tools/current/cades-arm/aerioe_prod/bin/aerioe_submit_mpi -W x=FLAGS:ADVRES:$(showres | grep arm-prod | cut -f1 -d'"' '"' | sort -r | head -n1) -l nodes=6:ppn=36 -N aerioe."+(.site | ascii_downcase)+"."+.fac+"."+env.RUN_DATE+" -v date="+env.RUN_DATE+",site="+(.site | ascii_downcase)+",facility="+.fac' | while read -r cmd; do ssh-vi /etc/ssh-key/id_rsa -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no armxfer@stratus.ornl.gov $cmd; done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment