File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ mutable struct SlurmManager <: ClusterManager
10
10
launch_timeout:: Float64
11
11
srun_post_exit_sleep:: Float64
12
12
srun_proc
13
- custom_worker_flag:: Cmd
14
13
15
14
function SlurmManager (; launch_timeout= 60.0 , srun_post_exit_sleep= 0.01 )
16
15
53
52
54
53
function Distributed. default_addprocs_params (:: SlurmManager )
55
54
our_stuff = Dict {Symbol,Any} (
56
- custom_worker_flag = ` --worker` ,
55
+ custom_worker_flag => ` --worker` ,
57
56
)
58
57
upstreams_stuff = Distributed. default_addprocs_params ()
59
58
total_stuff = merge (our_stuff, upstreams_stuff)
@@ -73,7 +72,7 @@ elseif v"1.6.0" <= Base.VERSION < v"1.9.0"
73
72
function Distributed. default_addprocs_params (:: SlurmManager )
74
73
our_stuff = Dict {Symbol,Any} (
75
74
:env => [],
76
- custom_worker_flag = ` --worker` ,
75
+ custom_worker_flag => ` --worker` ,
77
76
)
78
77
upstreams_stuff = Distributed. default_addprocs_params ()
79
78
total_stuff = merge (our_stuff, upstreams_stuff)
You can’t perform that action at this time.
0 commit comments