Skip to content

Commit 2928974

Browse files
authored
Update aux.go sleep after singularity
give thread time write status
1 parent 0883bc3 commit 2928974

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/slurm/aux.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ func produceSLURMScript(
466466
stringToBeWritten += "\n" + strings.Join(singularityCommand.singularityCommand[:], " ") + " " +
467467
"/bin/sh" + " /tmp/" + "command_" + singularityCommand.containerName + ".sh" +
468468
" &> " + path + "/" + singularityCommand.containerName + ".out; " +
469-
"echo $? > " + path + "/" + singularityCommand.containerName + ".status &"
469+
"echo $? > " + path + "/" + singularityCommand.containerName + ".status; sleep 30 &"
470470
}
471471
}
472472

0 commit comments

Comments
 (0)