my hpc has 192 cores per node. looks like the pipe...
# help
j
my hpc has 192 cores per node. looks like the pipeline #cutandrun is not using it to its full potential. any idea if i could specifify in process {} for slurm to make use of all cores?
p
Does your cluster only allow one job per node? Otherwise it should pack it. If not it might be better to run with the local executor.
p
"Pack it" - run multiple pipeline jobs in parallel on a single node. This is usually done with different cluster job submission flags, ultimately controlled via your Nextflow config.
✅ 1
p
My meaning being that would in that case be up to the cluster to manage, with the jobs (and thus the nextflow configuration) being responsible for giving suitable requirements.
👍🏻 1
But generally, rather few softwares scale good up to hundreds of cores - and bioinformatics tools in general are certainly not better than others.
💯 1
j
@pontus It did submit multiple jobs to multiple nodes but still only using very limited cores with each job. doesnt look efficient to me
p
Again, if your cluster only allows one job per node, you might need to adapt to that, but it's very unlikely that making your jobs request 192 cores instead of 12 speeds it up significantly.
If it does support sharing nodes between jobs, everything is well, other stuff can run on the core/memory not used by you.
☝️ 1
(And "adapt" here could mean not using your scheduler inside nextflow but rather use the
local
executor to run a pipeline on a single node - which in that case should probably be the full size node.)