The nf-core/pipeline always stopped due to the limitation of CPUs. What should I do? The pipeline was created with Google Cloud Batch.
Hi @marvin_li
Either you pick a VM with more CPUs in Google Cloud or you change the pipeline settings to require less CPUs. For example, check the conf/base.config
snippet below:
withLabel:process_high {
cpus = { 12 * task.attempt }
memory = { 72.GB * task.attempt }
time = { 16.h * task.attempt }
}
If you only have 4 CPUs available in your machine, you’d change from 12 * task.attempt
to 4
in this snippet. Do the necessary alterations for the other directives too.