Hi guys, I use nextflow with slurm and I was wonde...
# configs
r
Hi guys, I use nextflow with slurm and I was wondering if there is a way to configure in a way where if job is below a threshold if I can change my cluster options e.g. have jobs that are just 1hr 1CPU and would like to run those with a different billing account . I know I can do this individually per job, but I was wondering if there is a way to automate this so I donโ€™t have to write it for each module. Thanks
p
Yes, e.g. https://github.com/nf-core/configs/blob/master/conf/uppmax.config might give some ideas, alternatiely you could post your config and get suggestions. The basis would be to have a closure that looks at the
task
properties that interests you and return the correct value.
๐Ÿ‘€ 1
r
I am going to need some time to go through it but this looks promising, thank you!
p
I wouldn't swear it makes it easier but it should give ideas at least.
๐Ÿ‘๐Ÿผ 1