Skip to content

Commit

Permalink
Update condor.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
DilumAluthge authored Feb 16, 2025
1 parent a21d4f8 commit 1a89f6a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/condor.jl
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,10 @@ function launch(manager::HTCManager, params::Dict, instances_arr::Array, c::Cond

script = condor_script(portnum, np, params)
cmd = `condor_submit $script`
proc = run(ignorestatus(cmd)) # run and wait (blocks)
proc = run(ignorestatus(cmd); wait=false) # run and wait (blocks)
while !Base.process_exited(proc)
run(`condor_q`)
end
if !success(proc)
println("batch queue not available (could not run condor_submit)")
return
Expand Down

0 comments on commit 1a89f6a

Please sign in to comment.