legend-exp / legend-dataflow

LEGEND data flow management
Other
2 stars 11 forks source link

NERSC profile to configure interaction with SLURM #62

Open gipert opened 1 month ago

gipert commented 1 month ago

It's possible to instruct Snakemake to interact with SLURM and execute groups of jobs in parallel on a computing node (so that few SLURM jobs are actually submitted). See relevant documentation:

Note: this statement in the NERSC documentation is wrong: https://docs.nersc.gov/jobs/workflow/snakemake/#disadvantages-of-snakemake

I tried to write a Snakemake v7 profile for legend-simflow a while ago:

https://github.com/legend-exp/legend-simflow/blob/main/profiles/nersc-batch/config.yaml

but did not work properly, see

We should try again with Snakemake v8.

See also: https://github.com/legend-exp/legend-simflow/issues/8