Commit ce8db2fd authored by Michael Ott's avatar Michael Ott
Browse files

Only append job step id, if it is not 0 (i.e. the job script itself)

parent 845621c0
...@@ -470,7 +470,7 @@ int main(int argc, char** argv) { ...@@ -470,7 +470,7 @@ int main(int argc, char** argv) {
if (stepId=="") { if (stepId=="") {
stepId = getEnv("SLURM_STEPID"); stepId = getEnv("SLURM_STEPID");
} }
if (stepId!="" && jobId!="") if (stepId!="" && stepId!="0" && jobId!="")
jobId = jobId + SLURM_JOBSTEP_SEP + stepId; jobId = jobId + SLURM_JOBSTEP_SEP + stepId;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment