Skip to content

Commit

Permalink
Update slurm.jl
Browse files Browse the repository at this point in the history
Fixup `\r` to `println` in #112
  • Loading branch information
miguelraz committed Oct 4, 2019
1 parent f26fd0a commit b0d5302
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/slurm.jl
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function launch(manager::SlurmManager, params::Dict, instances_arr::Array,
srun_cmd = `srun -J $jobname -n $np -o "$(joinpath(job_file_loc, "job%4t.out"))" -D $exehome $(srunargs) $exename $exeflags $(worker_arg())`
srun_proc = open(srun_cmd)
for i = 0:np - 1
print("connecting to worker $(i + 1) out of $np\r")
println("connecting to worker $(i + 1) out of $np")
local w=[]
fn = "$(joinpath(exehome, job_file_loc))/job$(lpad(i, 4, "0")).out"
t0 = time()
Expand Down

0 comments on commit b0d5302

Please sign in to comment.