pub struct LsfApptainerBackendConfig {
pub interval: Option<u64>,
pub max_concurrency: Option<u32>,
pub default_lsf_queue: Option<LsfQueueConfig>,
pub short_task_lsf_queue: Option<LsfQueueConfig>,
pub gpu_lsf_queue: Option<LsfQueueConfig>,
pub fpga_lsf_queue: Option<LsfQueueConfig>,
pub extra_bsub_args: Option<Vec<String>>,
pub job_name_prefix: Option<String>,
pub apptainer_config: ApptainerConfig,
}Expand description
Configuration for the LSF + Apptainer backend.
Fields§
§interval: Option<u64>The task monitor polling interval, in seconds.
Defaults to 30 seconds.
max_concurrency: Option<u32>The maximum number of concurrent LSF operations the backend will perform.
This controls the maximum concurrent number of bsub processes the
backend will spawn to queue tasks.
Defaults to 10 concurrent operations.
default_lsf_queue: Option<LsfQueueConfig>Which queue, if any, to specify when submitting normal jobs to LSF.
This may be superseded by
short_task_lsf_queue,
gpu_lsf_queue, or
fpga_lsf_queue for corresponding tasks.
short_task_lsf_queue: Option<LsfQueueConfig>Which queue, if any, to specify when submitting short tasks to LSF.
This may be superseded by gpu_lsf_queue or
fpga_lsf_queue for tasks which require
specialized hardware.
gpu_lsf_queue: Option<LsfQueueConfig>Which queue, if any, to specify when submitting tasks which require a GPU to LSF.
fpga_lsf_queue: Option<LsfQueueConfig>Which queue, if any, to specify when submitting tasks which require an FPGA to LSF.
extra_bsub_args: Option<Vec<String>>Additional command-line arguments to pass to bsub when submitting jobs
to LSF.
job_name_prefix: Option<String>Prefix to add to every LSF job name before the task identifier. This is truncated as needed to satisfy the byte-oriented LSF job name limit.
apptainer_config: ApptainerConfigThe configuration of Apptainer, which is used as the container runtime on the compute nodes where LSF dispatches tasks.
Note that this will likely be replaced by an abstraction over multiple container execution runtimes in the future, rather than being hardcoded to Apptainer.
Implementations§
Trait Implementations§
Source§impl Clone for LsfApptainerBackendConfig
impl Clone for LsfApptainerBackendConfig
Source§fn clone(&self) -> LsfApptainerBackendConfig
fn clone(&self) -> LsfApptainerBackendConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for LsfApptainerBackendConfig
impl Debug for LsfApptainerBackendConfig
Source§impl Default for LsfApptainerBackendConfig
impl Default for LsfApptainerBackendConfig
Source§fn default() -> LsfApptainerBackendConfig
fn default() -> LsfApptainerBackendConfig
Source§impl<'de> Deserialize<'de> for LsfApptainerBackendConfig
impl<'de> Deserialize<'de> for LsfApptainerBackendConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for LsfApptainerBackendConfig
impl RefUnwindSafe for LsfApptainerBackendConfig
impl Send for LsfApptainerBackendConfig
impl Sync for LsfApptainerBackendConfig
impl Unpin for LsfApptainerBackendConfig
impl UnsafeUnpin for LsfApptainerBackendConfig
impl UnwindSafe for LsfApptainerBackendConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more