nf-core / configs

Config files used to define parameters specific to compute environments at different Institutions
https://nf-co.re/configs
MIT License
79 stars 260 forks source link

update biohpc_gen #676

Closed nschan closed 2 months ago

nschan commented 2 months ago

This config used env{ SLURM_CLUSTERS='biohpc_gen' } to specify the correct cluster in the submission. This approach does not work, since this sets SLURM_CLUSTERS in .command.run after the SBATCH directives. The job is submitted before the variable is set, and as a consequence may target the wrong cluster. clusterOptions = '--clusters=biohpc_gen' solves this by explicitly specifying the cluster to target in the SBATCH directives.