diff --git a/configuration/uppmax-localhost.config b/configuration/uppmax-localhost.config index 94df4eb7d3..cc232d1161 100644 --- a/configuration/uppmax-localhost.config +++ b/configuration/uppmax-localhost.config @@ -57,8 +57,10 @@ process { // These processes are defined in main.nf $ConcatVCF { - cpus = 16 - memory = {params.totalMemory} + cpus = 8 + // For unknown reasons, ConcatVCF sometimes fails with SIGPIPE + // (exit code 141). Rerunning the process will usually work. + errorStrategy = {task.exitStatus == 141 ? 'retry' : 'terminate'} } $CreateRecalibrationTable { cpus = 16