We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 691224d commit b3642f3Copy full SHA for b3642f3
1 file changed
src/psij/executors/batch/nqsv/nqsv.mustache
@@ -72,13 +72,21 @@ do
72
done < $PBS_NODEFILE
73
export PSIJ_NODEFILE
74
75
+{{> batch_lib}}
76
+
77
+{{> stagein}}
78
+_psij_update_status ACTIVE
79
80
{{#psij.launch_command}}{{.}} {{/psij.launch_command}}
81
-E=$?
82
+_PSIJ_JOB_EC=$?
83
84
+{{> stageout}}
85
+{{> cleanup}}
86
87
{{!we redirect to a file tied to the native ID so that we can reach the file with attach().}}
88
if [ "$J" = "0" ]; then
- echo "$E" > "{{psij.script_dir}}/$ID.ec"
89
+ echo "$_PSIJ_JOB_EC" > "{{psij.script_dir}}/$ID.ec"
90
fi
91
92
exit $E
0 commit comments