mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-11-22 00:26:03 +00:00
Update eva.config
Set max heap size for java jobs in `get_software_versions`. Limited OpenBLAS threading for python jobs that use numpy/pandas.
This commit is contained in:
parent
d1c1b467c1
commit
57095fe79f
1 changed files with 7 additions and 0 deletions
|
@ -191,10 +191,17 @@ process {
|
||||||
|
|
||||||
withName:get_software_versions {
|
withName:get_software_versions {
|
||||||
cache = false
|
cache = false
|
||||||
|
beforeScript = '_JAVA_OPTIONS="-XX:ParallelGCThreads=1 -Xmx256m"; export OPENBLAS_NUM_THREADS=1; export OMP_NUM_THREADS=1'
|
||||||
clusterOptions = { "-S /bin/bash -V -l h_vmem=${(task.memory.toGiga() * 2)}G" }
|
clusterOptions = { "-S /bin/bash -V -l h_vmem=${(task.memory.toGiga() * 2)}G" }
|
||||||
errorStrategy = { task.exitStatus in [1,143,137,104,134,139,140] ? 'retry' : 'finish' }
|
errorStrategy = { task.exitStatus in [1,143,137,104,134,139,140] ? 'retry' : 'finish' }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
withName:kraken_merge {
|
||||||
|
beforeScript = 'export OPENBLAS_NUM_THREADS=1; export OMP_NUM_THREADS=1'
|
||||||
|
}
|
||||||
|
|
||||||
|
withName:multiqc {
|
||||||
|
beforeScript = 'export OPENBLAS_NUM_THREADS=1; export OMP_NUM_THREADS=1;'
|
||||||
}
|
}
|
||||||
|
|
||||||
profiles {
|
profiles {
|
||||||
|
|
Loading…
Reference in a new issue