Problem with determining cpus? #3686
-
Bug reportExpected behavior and actual behaviorA nextflow pipeline I am running crashes with this error, while I was using
Steps to reproduce the problem(Provide a test case that reproduce the problem either with a self-contained script or GitHub repository) Program output(Copy and paste here output produced by the failing execution. Please highlight it as a code block. Whenever possible upload the Environment
openjdk version "17.0.3-internal" 2022-04-19
Ubuntu Linux
GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu) |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 3 replies
-
Is this a desktop machine or something else? |
Beta Was this translation helpful? Give feedback.
-
This is a server:
|
Beta Was this translation helpful? Give feedback.
-
Is this running as a server and you log in with ssh or is it running with WSL? I can't describe how to check cgroup-config right now but that's my primary guess. In case you have other recent Java versions it might also be interesting to see if they say the same (but not worth doing extra work for). |
Beta Was this translation helpful? Give feedback.
-
(If you don't care about the actual usage of those cores, all nf-core pipelines should support limiting cpus - https://nf-co.re/usage/configuration#max-resources.) |
Beta Was this translation helpful? Give feedback.
-
I log in with SSH. I don't think cgroups is installed.
|
Beta Was this translation helpful? Give feedback.
-
Can you please include the .nextflow.log file? |
Beta Was this translation helpful? Give feedback.
-
Oh definitely, I wasn't aware that file exists :) For the record, I'm quite new to nextflow, so all of this could be a massive PEBCAK. |
Beta Was this translation helpful? Give feedback.
-
The log reports 80 CPUs avail, see
however later it says the local execution can use max 4 cpus
I believe, that value has been specified in the pipeline config file. Look for
See also https://www.nextflow.io/docs/latest/config.html#scope-executor |
Beta Was this translation helpful? Give feedback.
The log reports 80 CPUs avail, see
however later it says the local execution can use max 4 cpus
I believe, that value has been specified in the pipeline config file. Look for
See also https:…