Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name = "LSFClusterManagers"
name = "LSFClusterManager"
uuid = "af02cf76-cbe3-4eeb-96a8-af9391005858"
version = "1.0.0-DEV"

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# LSFClusterManagers.jl
# LSFClusterManager.jl

The `LSFClusterManagers.jl` package implements code for the LSF (Load Sharing Facility) compute cluster job queue system.
The `LSFClusterManager.jl` package implements code for the LSF (Load Sharing Facility) compute cluster job queue system.

`LSFClusterManagers.LSFManager` supports IBM's scheduler. See the `addprocs_lsf` docstring
`LSFClusterManager.LSFManager` supports IBM's scheduler. See the `addprocs_lsf` docstring
for more information.

Implemented in this package (the `LSFClusterManagers.jl` package):
Implemented in this package (the `LSFClusterManager.jl` package):

| Job queue system | Command to add processors |
| ---------------- | ------------------------- |
| Load Sharing Facility (LSF) | `addprocs_lsf(np::Integer; bsub_flags=``, ssh_cmd=``)` or `addprocs(LSFClusterManagers.LSFManager(np, bsub_flags, ssh_cmd, retry_delays, throttle))` |
| Load Sharing Facility (LSF) | `addprocs_lsf(np::Integer; bsub_flags=``, ssh_cmd=``)` or `addprocs(LSFClusterManager.LSFManager(np, bsub_flags, ssh_cmd, retry_delays, throttle))` |

The functionality in this package originally useed to live in [`ClusterManagers.jl`](https://github.com/JuliaParallel/ClusterManagers.jl).
4 changes: 2 additions & 2 deletions src/LSFClusterManagers.jl → src/LSFClusterManager.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module LSFClusterManagers
module LSFClusterManager

using Distributed
using Sockets
Expand All @@ -12,4 +12,4 @@ worker_arg() = `--worker=$(worker_cookie())`

include("lsf.jl")

end
end # module
6 changes: 3 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import LSFClusterManagers
import LSFClusterManager
import Test

import Distributed
Expand All @@ -11,15 +11,15 @@ using Distributed: remotecall_fetch, @spawnat
using Test: @testset, @test, @test_skip

# LSF:
using LSFClusterManagers: addprocs_lsf, LSFManager
using LSFClusterManager: addprocs_lsf, LSFManager

const test_args = lowercase.(strip.(ARGS))

@info "" test_args

lsf_is_installed() = !isnothing(Sys.which("bsub"))

@testset "LSFClusterManagers.jl" begin
@testset "LSFClusterManager.jl" begin
if lsf_is_installed()
@info "Running the LSF tests..." Sys.which("bsub")
include("lsf.jl")
Expand Down
Loading