Skip to content

Commit 6b71753

Browse files
authored
Update slurmmanager.jl
1 parent 6694256 commit 6b71753

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/slurmmanager.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ function Distributed.launch(manager::SlurmManager, params::Dict, instances_arr::
206206

207207
# Pass cookie as stdin to srun; srun forwards stdin to process
208208
# This way the cookie won't be visible in ps, top, etc on the compute node
209-
manager.srun_proc = open(srun_cmd_with_env, write=true, read=true)
209+
manager.srun_proc = open(srun_cmd, write=true, read=true)
210210
write(manager.srun_proc, cluster_cookie())
211211
write(manager.srun_proc, "\n")
212212

0 commit comments

Comments
 (0)