Skip to content

Commit

Permalink
Deprecate (but do not remove) the Slurm functionality in this package…
Browse files Browse the repository at this point in the history
… (and point users to SlurmClusterManager.jl instead)
  • Loading branch information
DilumAluthge committed Feb 10, 2025
1 parent 732c86c commit cbeb2dc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/slurm.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@ end

function launch(manager::SlurmManager, params::Dict, instances_arr::Array,
c::Condition)
let

Check warning on line 18 in src/slurm.jl

View check run for this annotation

Codecov / codecov/patch

src/slurm.jl#L18

Added line #L18 was not covered by tests
msg = "The Slurm functionality in the `ClusterManagers.jl` package is deprecated " *
"(including `ClusterManagers.addprocs_slurm` and `ClusterManagers.SlurmManager`). " *
"It will be removed from ClusterManagers.jl in a future release. " *
"We recommend migrating to the " *
"[https://github.com/JuliaParallel/SlurmClusterManager.jl](https://github.com/JuliaParallel/SlurmClusterManager.jl) " *
"package instead."
Base.depwarn(msg, :SlurmManager; force = true)
end
try
exehome = params[:dir]
exename = params[:exename]
Expand Down

0 comments on commit cbeb2dc

Please sign in to comment.