Configuration Reference
This page is a searchable lookup table for BIOMERO Python client configuration.
It focuses on options read by SlurmClient.from_config() and their runtime impact.
Resolution And Precedence
For the settings on this page, BIOMERO resolves values in this order:
built-in defaults
values from
slurm-config.inienvironment variable overrides, when supported
For sacct history settings, relative-day settings override absolute-date settings.
Use this page as the quick lookup companion to SLURM Configuration Guide, which explains when and why you would choose each setting.
Environment Variable Lookup Table
Environment variable |
|
Type |
Runtime effect |
|---|---|---|---|
|
|
string date |
Absolute default start date for job history queries via |
|
|
integer |
Rolling history window in days; overrides absolute start time when valid |
|
|
boolean |
Switches submission from direct env passing to per-job env-file submission |
|
|
boolean |
Enables dynamic GPU flag handling in generated scripts and GPU-aware submissions |
|
|
string |
Default fallback GPU partition for workflow submissions when GPU mode is requested |
|
|
string |
Default fallback |
|
|
string |
Default fallback |
|
|
boolean |
Switches workflow/converter image pulls from direct remote execution to sbatch jobs |
|
|
string |
CPU request used for sbatch-based image pull/build jobs |
|
|
string |
Memory request used for sbatch-based image pull/build jobs |
|
|
string |
Tmp directory exported for Apptainer/Singularity image pull/build commands |
|
|
string |
Cache directory exported for Apptainer/Singularity image pull/build commands |
|
|
string |
Overrides the zip command used on the cluster for packaging results |
|
|
string date |
Absolute cutoff date ( |
|
|
integer |
Rolling cutoff window in days for analytics view table rebuilds; overrides the absolute date when set |
|
|
string |
Legacy fallback env var for GPU partition; lower priority than |
|
|
string |
Legacy fallback env var for GPU gres; lower priority than |
|
|
string |
Legacy fallback env var for GPU gpus; lower priority than |
slurm-config.ini Lookup Table
Key |
Type |
Default |
Effect |
|---|---|---|---|
|
string |
|
Base path for transferred workflow data on the cluster |
|
string |
|
Base path for workflow containers on the cluster |
|
string |
|
Base path for converter containers on the cluster |
|
string |
|
Base path for generated or cloned job scripts |
|
string or empty |
empty |
If set, BIOMERO clones and updates job scripts from this repository instead of generating scripts locally; use with caution, because external script repos can drift out of sync with newer BIOMERO releases and are not the recommended default |
|
string or empty |
unset |
Injects |
|
string or empty |
unset |
Partition for data conversion jobs; injected as a real |
|
string or empty |
unset |
Generic fallback |
|
string date or empty |
|
Absolute start date used when listing historical jobs |
|
integer or empty |
unset |
Relative history window; takes precedence over |
|
boolean |
|
Uses env-file based submission instead of direct environment propagation |
|
boolean |
|
Enables dynamic GPU submission support in generated scripts |
|
string or empty |
unset |
Shared fallback partition appended for GPU workflow runs when needed |
|
string or empty |
unset |
Shared fallback |
|
string or empty |
unset |
Shared fallback |
|
string or empty |
unset |
Any |
|
boolean |
|
Uses sbatch jobs instead of direct remote execution for workflow/converter image pulls |
|
string |
|
CPU request for sbatch-based image pull/build jobs |
|
string |
|
Memory request for sbatch-based image pull/build jobs |
|
string or empty |
unset |
Tmp directory exported for Apptainer/Singularity image pull/build commands |
|
string or empty |
unset |
Cache directory exported for Apptainer/Singularity image pull/build commands |
|
string or empty |
|
Command used for result zipping on the HPC |
|
string date or empty |
unset |
Absolute cutoff date ( |
|
integer or empty |
unset |
Rolling cutoff window in days for analytics view table rebuilds; overrides the absolute date when set. Configured under |
|
boolean |
|
Per-workflow GPU default in |
|
string URL |
— |
GitHub URL for a workflow in |
Behaviour Notes
Boolean parsing
Supported truthy values are:
true1yesyon
Supported falsy values are:
false0nonoff
Invalid boolean env var values fall back to the already resolved ini or default value.
Integer parsing
Invalid integer env var values also fall back to the already resolved ini or default value.
This matters especially for BIOMERO_SACCT_START_DAYS_AGO.
Empty-string handling
Some optional string settings treat an empty value as unset rather than as a literal empty string.
This is relevant for values such as slurm_data_bind_path, slurm_conversion_partition,
slurm_default_partition, gpu_partition, gpu_gres, gpu_gpus, and the optional sacct window settings.
GPU precedence
For workflow submissions, GPU-related settings are applied in this order:
per-workflow sbatch parameters from
[WORKFLOWS](or[MODELS]) such ascellpose_job_partition,cellpose_job_gres, andcellpose_job_gpusglobal sbatch defaults from
sbatch_<key>entries in[SLURM]shared runtime GPU defaults:
gpu_partitionand eithergpu_gres(--gres=) orgpu_gpus(--gpus=); these two are mutually exclusive — set one or the other, never bothno BIOMERO-added GPU resource arguments
Shared GPU defaults (level 3) are considered when GPU mode is active. GPU mode is activated by one of two code paths:
Dynamic path (
inject_gpu_flag=true):use_gpuis resolved at submission time — explicituse_gpuargument wins, otherwise falls back to<name>_use_gpufrom[WORKFLOWS]/[MODELS].GPU_FLAGenv var is set (--nvor empty) at submission time so the script can toggle the container runtime flag.Static path (
inject_gpu_flag=false):--nvis baked into the generated script at script-generation time; only<name>_use_gpu=truein[WORKFLOWS]/[MODELS]triggers GPU sbatch resource param injection, and it cannot be overridden at submission time. NoGPU_FLAGenv var is set.
See SLURM Configuration Guide for a full explanation of the interaction between these settings.
Search Hints
If you are looking for a specific name, try searching the docs for any of these exact identifiers:
BIOMERO_SACCT_START_TIMEBIOMERO_SACCT_START_DAYS_AGOBIOMERO_ENV_FILE_SUBMISSIONBIOMERO_INJECT_GPU_FLAGBIOMERO_GPU_PARTITIONBIOMERO_GPU_GRESBIOMERO_GPU_GPUSBIOMERO_IMAGE_PULL_VIA_SBATCHBIOMERO_PULL_CPUSBIOMERO_PULL_MEMBIOMERO_APPTAINER_TMPDIRBIOMERO_APPTAINER_CACHEDIRBIOMERO_SLURM_ZIP_CMDBIOMERO_ANALYTICS_REBUILD_START_TIMEBIOMERO_ANALYTICS_REBUILD_DAYS_AGOGPU_PARTITIONGPU_GRESGPU_GPUS