module Lsf:sig
..end
LONG_RUNNING
API with the LSF batch processing
scheduler.LONG_RUNNING
API with the LSF batch processing
scheduler.
Shell commands are put in a Ketrew_pure.Monitored_script.t
, and
started with "bsub [OPTIONS] < <script>"
(we gather the job-id while
submitting).
The update
function uses the log-file of the monitored-script, and the
command "bjobs [OPTIONS] <job-ID>"
.
The kill
function kills the job with "bkill <job-ID>"
.
include Long_running.LONG_RUNNING
val create : ?host:Ketrew_pure.Host.t ->
?queue:string ->
?name:string ->
?wall_limit:string ->
?processors:[ `Min of int | `Min_max of int * int ] ->
?project:string ->
?request_memory:[ `GB of int | `MB of int ] ->
?raw_options:string list ->
Ketrew_pure.Program.t -> [> `Long_running of string * string ]
Ketrew_pure.Target.build_process
to run a
Ketrew_pure.Program.t
on a given LSF-enabled host (run parameters
already serialized): ?queue
is the name of the LSF queue requested ("-q"
option). ?name
is the job name ("-J"
option). ?wall_limit
is the job's Wall-time timeout ("-W"
option). ?processors
is the “processors” request ("-n"
option). ?project
is the job assigned “project” ("-P"
option).