1
0
Fork 0
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:
Thiseas C. Lamnidis 2022-05-03 16:12:20 +02:00 committed by GitHub
parent d1c1b467c1
commit 57095fe79f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -191,10 +191,17 @@ process {
withName:get_software_versions {
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" }
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 {