Skip to content

Commit c82f5fe

Browse files
committed
Deprecate (but do not remove) the Slurm functionality in this package (and point users to SlurmClusterManager.jl instead)
1 parent c50cff7 commit c82f5fe

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/slurm.jl

+9
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,15 @@ end
1515

1616
function launch(manager::SlurmManager, params::Dict, instances_arr::Array,
1717
c::Condition)
18+
let
19+
msg = "The Slurm functionality in the `ClusterManagers.jl` package is deprecated " *
20+
"(including `ClusterManagers.addprocs_slurm` and `ClusterManagers.SlurmManager`). " *
21+
"It will be removed from ClusterManagers.jl in a future release. " *
22+
"We recommend migrating to the " *
23+
"[https://github.com/JuliaParallel/SlurmClusterManager.jl](https://github.com/JuliaParallel/SlurmClusterManager.jl) " *
24+
"package instead."
25+
Base.depwarn(msg, :SlurmManager; force = true)
26+
end
1827
try
1928
exehome = params[:dir]
2029
exename = params[:exename]

0 commit comments

Comments
 (0)