Kevin RUE
08/26/2026, 9:04 AMprocess {
queue = { task.time <= 24.h ? 'general' : 'long' }
}
will switch queue based on the job duration,
while profiles can be used to pick specific partitions to submit jobs to (as explained in this ARCC example)
profiles {
bigmem {
process {
resourceLimits = [
cpus: 64,
memory: 4.TB,
time: 168.h
]
queue = 'bigmem'
}
}
}
My question is whether profiles (i.e. resourceLimits) kick in when the queue switches at the process scope, or whether the relevant profiles must be selected at launch, i.e. nextflow -profile general,long,bigmemNextflow forum invitation - nostupidquestions
08/26/2026, 10:49 AMpontus
08/26/2026, 11:05 AMresourceLimits will be used to cap the resources requested by the process before launching/scheduling it. This is dynamic.
Active above will depend on both the general configuration order (https://docs.seqera.io/nextflow/config) and the selector priority (https://docs.seqera.io/nextflow/config#selector-priority).