Skip to content

Commit 8866364

Browse files
authored
BREAKING: Remove the LSF functionality from this package (and point users to JuliaParallel/LSFClusterManagers.jl instead) (#237)
* BREAKING: Remove the LSF functionality from this package (and point users to `LSFClusterManagers.jl` instead) * Bump version from `0.4.9` to `1.0.0-DEV` (because this PR is a breaking change)
1 parent a4847ab commit 8866364

File tree

6 files changed

+2
-198
lines changed

6 files changed

+2
-198
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "ClusterManagers"
22
uuid = "34f1f09b-3a8b-5176-ab39-66d58a4d544e"
3-
version = "0.4.9"
3+
version = "1.0.0-DEV"
44

55
[deps]
66
Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b"

README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ Implemented in this package (the `ClusterManagers.jl` package):
1515

1616
| Job queue system | Command to add processors |
1717
| ---------------- | ------------------------- |
18-
| Load Sharing Facility (LSF) | `addprocs_lsf(np::Integer; bsub_flags=``, ssh_cmd=``)` or `addprocs(LSFManager(np, bsub_flags, ssh_cmd, retry_delays, throttle))` |
1918
| Sun Grid Engine (SGE) via `qsub` | `addprocs_sge(np::Integer; qsub_flags=``)` or `addprocs(SGEManager(np, qsub_flags))` |
2019
| Sun Grid Engine (SGE) via `qrsh` | `addprocs_qrsh(np::Integer; qsub_flags=``)` or `addprocs(QRSHManager(np, qsub_flags))` |
2120
| PBS (Portable Batch System) | `addprocs_pbs(np::Integer; qsub_flags=``)` or `addprocs(PBSManager(np, qsub_flags))` |
@@ -30,6 +29,7 @@ Implemented in external packages:
3029

3130
| Job queue system | Command to add processors |
3231
| ---------------- | ------------------------- |
32+
| Load Sharing Facility (LSF) via [LSFClusterManager.jl](https://github.com/JuliaParallel/LSFClusterManager.jl) | `addprocs_lsf(np::Integer; bsub_flags=``, ssh_cmd=``)` or `addprocs(LSFManager(np, bsub_flags, ssh_cmd, retry_delays, throttle))` |
3333
| Kubernetes (K8s) via [K8sClusterManagers.jl](https://github.com/beacon-biosignals/K8sClusterManagers.jl) | `addprocs(K8sClusterManager(np; kwargs...))` |
3434
| Azure scale-sets via [AzManagers.jl](https://github.com/ChevronETC/AzManagers.jl) | `addprocs(vmtemplate, n; kwargs...)` |
3535

@@ -132,11 +132,6 @@ Julia workers can frequently timeout waiting for the standard output files to ap
132132
In this case, it's better to use the `QRSHManager`, which uses SGE's `qrsh`
133133
command to bypass the filesystem and captures STDOUT directly.
134134

135-
### Load Sharing Facility (LSF)
136-
137-
`LSFManager` supports IBM's scheduler. See the `addprocs_lsf` docstring
138-
for more information.
139-
140135
### Using `LocalAffinityManager` (for pinning local workers to specific cores)
141136

142137
- Linux only feature.

src/ClusterManagers.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,5 @@ include("condor.jl")
1919
include("slurm.jl")
2020
include("affinity.jl")
2121
include("elastic.jl")
22-
include("lsf.jl")
2322

2423
end

src/lsf.jl

Lines changed: 0 additions & 164 deletions
This file was deleted.

test/lsf.jl

Lines changed: 0 additions & 10 deletions
This file was deleted.

test/runtests.jl

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ using Test: @testset, @test, @test_skip
1313
using ClusterManagers: ElasticManager
1414
# Slurm:
1515
using ClusterManagers: addprocs_slurm, SlurmManager
16-
# LSF:
17-
using ClusterManagers: addprocs_lsf, LSFManager
1816
# SGE:
1917
using ClusterManagers: addprocs_sge, SGEManager
2018

@@ -23,7 +21,6 @@ const test_args = lowercase.(strip.(ARGS))
2321
@info "" test_args
2422

2523
slurm_is_installed() = !isnothing(Sys.which("sbatch"))
26-
lsf_is_installed() = !isnothing(Sys.which("bsub"))
2724
qsub_is_installed() = !isnothing(Sys.which("qsub"))
2825

2926
@testset "ClusterManagers.jl" begin
@@ -42,19 +39,6 @@ qsub_is_installed() = !isnothing(Sys.which("qsub"))
4239
end
4340
end
4441

45-
if lsf_is_installed()
46-
@info "Running the LSF tests..." Sys.which("bsub")
47-
include("lsf.jl")
48-
else
49-
if "lsf" in test_args
50-
@error "ERROR: The LSF tests were explicitly requested in ARGS, but bsub was not found, so the LSF tests cannot be run" Sys.which("bsub") test_args
51-
@test false
52-
else
53-
@warn "bsub was not found - LSF tests will be skipped" Sys.which("bsub")
54-
@test_skip false
55-
end
56-
end
57-
5842
if qsub_is_installed()
5943
@info "Running the SGE (via qsub) tests..." Sys.which("qsub")
6044
include("slurm.jl")

0 commit comments

Comments
 (0)