Skip to content

Commit 082bea5

Browse files
committed
Merge branch 'parallel_environment_return_pids' into use_ENVs_for_OMFIT_OMAS
2 parents 94f4a40 + c00f878 commit 082bea5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils_begin.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ function parallel_environment(
190190
current_nworkers = Distributed.nprocs() - 1
191191

192192
if nworkers == 0
193-
pid_list = []
193+
pid_list = Int[]
194194
#pass
195195

196196
elseif cluster == "omega"
@@ -350,7 +350,7 @@ function parallel_environment(
350350
Base.include_string(Main, code)
351351
end
352352

353-
println("Using $(Distributed.nprocs()-1) workers on $(gethostname())")
353+
println("Using $(Distributed.nprocs() - 1) workers on $(gethostname())")
354354
return pid_list
355355
end
356356

0 commit comments

Comments
 (0)