-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Hello,
the following code with has nested pmap functions, it hangs even if I execute it with 1 single process addprocs(1)
.
using Distributed
@everywhere function inner_process(task_id)
task_id^2
end
@everywhere function outer_process(job_id)
inner_task = collect(1:2)
pmap(inner_process, inner_task)
end
function do_job(jobs_list)
pmap(outer_process, jobs_list)
end
jobs_list = collect(1:10)
do_job(jobs_list)
This is the version I am using
julia> versioninfo()
Julia Version 1.1.0
Commit 80516ca202 (2019-01-21 21:24 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-6.0.1 (ORCJIT, skylake)
Environment:
export JULIA_NUM_THREADS = 4
JULIA_DEPOT_PATH = C:\Program Files\ReSolver.DistributedJulia\depot
JULIA_EDITOR = C:\Users\AppData\Local\atom\atom.exe
JULIA_NUM_THREADS = 4
JULIA_PKGDIR = C:\Program Files\ReSolver.DistributedJulia\packages
Am I maybe misunderstanding the feature or is this an expected behavior?
DilumAluthge
Metadata
Metadata
Assignees
Labels
No labels