Trevor Mugoya
04/14/2026, 1:02 AMProcess requirement exceeds available CPUs -- req: 24; avail: 16 error.
Is there a way to pass 16 cores globally to all processes in the workflow?
Command executed
nextflow run nf-core/genomeassembler -r dev -name PS-FT -profile apptainer -work-dir [REDACTED] -resume -params-file params.json
Where params.json is;
{
"input": "samplesheet.csv",
"outdir": "PS-FT-RESULT",
"hifi": true,
"assembler": "hifiasm",
"genome_size": 2300000000,
"lift_annotations": false,
"use_ref": false,
"flye_mode": ""
}
samplesheet.csv
sample,ontreads,hifireads,ref_fasta,ref_gff,shortread_F,shortread_R,paired
sample,,[REDACTED_PATH].fastq.gz,,,,,false
Any advice is greatly appreciated. Thank youJames Fellows Yates
04/14/2026, 5:14 AMJames Fellows Yates
04/14/2026, 5:14 AMJames Fellows Yates
04/14/2026, 5:14 AMJames Fellows Yates
04/14/2026, 5:15 AMJames Fellows Yates
04/14/2026, 5:15 AMJames Fellows Yates
04/14/2026, 5:18 AMSlackbot
04/14/2026, 5:18 AMJames Fellows Yates
04/14/2026, 5:20 AMTrevor Mugoya
04/14/2026, 5:26 PMAlexander Nater
04/15/2026, 3:58 PM-c that contains your system-specific resource limits:
process {
resourceLimits = [
cpus: XX,
memory: 'XX.GB',
time: 'XX.h'
]
}Trevor Mugoya
04/16/2026, 12:59 AMERROR ~ Unable to parse config file: '[REDACTED]/limits.config'
Compile failed for sources FixedSetSources[name='/groovy/script/Script987A2597DCF9FE4B26D1A71528D4BC29/_nf_config_fa8064bf']. Cause: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
/groovy/script/Script987A2597DCF9FE4B26D1A71528D4BC29/_nf_config_fa8064bf: 1: Unexpected input: '{' @ line 1, column 9.
process {
^
1 error
-- Check '.nextflow.log' file for detailsTrevor Mugoya
04/16/2026, 1:00 AMnextflow run nf-core/genomeassembler -r dev -profile test -c limits.config --outdir testAlexander Nater
04/16/2026, 8:39 AMlimits.config?Trevor Mugoya
04/16/2026, 3:49 PMprocess {
resourceLimits = [
cpus: 16,
memory: 110.GB,
time: 23.h
]
}James Fellows Yates
04/16/2026, 3:50 PMTrevor Mugoya
04/16/2026, 3:50 PMJames Fellows Yates
04/16/2026, 3:51 PMAlexander Nater
04/16/2026, 4:21 PM