pub struct LsfApptainerBackendConfig {
pub default_lsf_queue: Option<String>,
pub short_task_lsf_queue: Option<String>,
pub gpu_lsf_queue: Option<String>,
pub fpga_lsf_queue: Option<String>,
pub extra_bsub_args: Option<Vec<String>>,
pub max_scatter_concurrency: u64,
pub extra_apptainer_exec_args: Option<Vec<String>>,
pub apptainer_images_dir: PathBuf,
}Expand description
Configuration for the LSF + Apptainer backend.
Fields§
§default_lsf_queue: Option<String>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<String>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<String>Which queue, if any, to specify when submitting tasks which require a GPU to LSF.
fpga_lsf_queue: Option<String>Which queue, if any, to specify when submitting tasks which require a GPU to LSF.
extra_bsub_args: Option<Vec<String>>Additional command-line arguments to pass to bsub when submitting jobs
to LSF.
max_scatter_concurrency: u64The maximum number of scatter subtasks that can be evaluated concurrently.
By default, this is 200.
extra_apptainer_exec_args: Option<Vec<String>>Additional command-line arguments to pass to apptainer exec when
executing tasks.
apptainer_images_dir: PathBufThe directory in which temporary directories will be created containing
Apptainer .sif files.
This should be a location that is accessible by all jobs on the LSF cluster.
By default, this is $HOME/.cache/sprocket-apptainer-images, or
/tmp/sprocket-apptainer-images if the home directory cannot be
determined.
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§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 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