Module Ketrew.Pbs

module Pbs: sig .. end


Implementation of the LONG_RUNNING API with the PBS batch processing scheduler.

“Long-running” plugin based on the PBS batch scheduler.

Shell commands are put in a Ketrew_pure.Monitored_script.t, and started with "qsub [OPTIONS] <script>" (we gather the job-id while submitting).

The update function uses the log-file of the monitored-script, and the command "qstat [OPTIONS] <job-ID>".

The kill function kills the job with "qdel <job-ID>".

include Long_running.LONG_RUNNING

The “standard” plugin API.
val create : ?host:Ketrew_pure.Host.t ->
?queue:string ->
?name:string ->
?wall_limit:[ `Hours of float ] ->
?processors:int ->
?email_user:[ `Always of string | `Never ] ->
?shell:string ->
Ketrew_pure.Program.t -> [> `Long_running of string * string ]
Create a “long-running” Ketrew_pure.Target.build_process to run a Ketrew_pure.Program.t on a given PBS-enabled host (run parameters already serialized):