-
Notifications
You must be signed in to change notification settings - Fork 8
Closed
Labels
Description
Thanks for your work on this!
First problem is need using ClusterManagers, Distributed for first line. With this fix, I get the following error:
Error launching Slurm job:
ERROR: LoadError: TaskFailedException:
MethodError: no method matching replace(::String, ::String, ::String)
Closest candidates are:
replace(::String, !Matched::Pair{#s64,B} where B where #s64<:AbstractChar; count) at strings/util.jl:421
replace(::String, !Matched::Pair{#s61,B} where B where #s61<:Union{Tuple{Vararg{AbstractChar,N} where N}, Set{#s58} where #s58<:AbstractChar, AbstractArray{#s59,1} where #s59<:AbstractChar}; count) at strings/util.jl:426
replace(::String, !Matched::Pair; count) at strings/util.jl:433
...
Stacktrace:
[1] launch(::SlurmManager, ::Dict{Symbol,Any}, ::Array{WorkerConfig,1}, ::Base.GenericCondition{Base.AlwaysLockedST}) at /home/users/tbenst/.julia/packages/ClusterManagers/7pPEP/src/slurm.jl:28
[2] (::Distributed.var"#41#44"{SlurmManager,Dict{Symbol,Any},Array{WorkerConfig,1},Base.GenericCondition{Base.AlwaysLockedST}})() at ./task.jl:333
Stacktrace:
[1] wait at ./task.jl:251 [inlined]
[2] #addprocs_locked#40(::Base.Iterators.Pairs{Symbol,String,Tuple{Symbol,Symbol},NamedTuple{(:partition, :t),Tuple{String,String}}}, ::typeof(Distributed.addprocs_locked), ::SlurmManager) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Distributed/src/cluster.jl:494
[3] #addprocs_locked at ./none:0 [inlined]
[4] #addprocs#39(::Base.Iterators.Pairs{Symbol,String,Tuple{Symbol,Symbol},NamedTuple{(:partition, :t),Tuple{String,String}}}, ::typeof(addprocs), ::SlurmManager) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Distributed/src/cluster.jl:441
[5] (::Distributed.var"#kw##addprocs")(::NamedTuple{(:partition, :t),Tuple{String,String}}, ::typeof(addprocs), ::SlurmManager) at ./none:0
[6] top-level scope at /home/users/tbenst/code/julia_11_slurm/example.jl:13
[7] include at ./boot.jl:328 [inlined]
[8] include_relative(::Module, ::String) at ./loading.jl:1105
[9] include(::Module, ::String) at ./Base.jl:31
[10] exec_options(::Base.JLOptions) at ./client.jl:287
[11] _start() at ./client.jl:460
in expression starting at /home/users/tbenst/code/julia_11_slurm/example.jl:13