Benoit Goutorbe
04/10/2025, 1:35 PMnextflow run nf-core/rnafusion \
-profile singularity \
-c cluster.config \
--input rnafusion_sample_sheet.csv \
--all \
--outdir 06rnafusion \
--genomes_base rnafusion_references \
-resume
And my cluster.config :
singularity {
enabled = true
}
process {
resourceLimits = [
memory: 252.GB,
cpus: 56,
time: 96.h
]
executor = 'slurm'
queueSize = 5
clusterOptions = { "-A myaccount"}
queue = { task.time <= 24.h ? 'short' : 'long' }
}
params {
igenomes_ignore = true
max_memory = 252.GB
max_cpus = 56
max_time = 96.h
}
If some one has an idea of what I am doing wrong, I would greatly appriciate !
BenoitEvangelos Karatzas
04/10/2025, 1:46 PMprofiles {
slurm {
executor {
name = "slurm"
queueSize = 30
queueGlobalStatus = true
}
}
}Evangelos Karatzas
04/10/2025, 1:46 PMmaxForks , if you want to limit the parallel execution per moduleBenoit Goutorbe
04/10/2025, 3:16 PMprocess chunk and other in the params chunk.
In my case, I would like to make sure the sum of all my jobs requirements do not exceed 1TB RAM and 192cpus. Is it possible ?Evangelos Karatzas
04/11/2025, 5:25 AMprocess {
resourceLimits = [
cpus: 4,
memory: '15.GB',
time: '1.h'
]
}
This will save you from errors, in cases for example, when your module requires more memory than the system can provide (used mainly for tests in local machines).Evangelos Karatzas
04/11/2025, 5:25 AM