-
Notifications
You must be signed in to change notification settings - Fork 628
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LSF executor does not respect LSF_UNIT_FOR_LIMITS in lsf.conf #5182
Comments
possibly crazy question though.. wondering if there is a way i can work around this in the meantime of a fix? im kind of stuck as things are. |
as i investigate more, it seems like this is due to some odd configuration on my cluster. i cant run nextflow directly on the head node, where the correct lsf.conf exists. and for whatever reason, the lsf.conf file on the worker nodes is not consistent w the head node. ive tried to ask the admins about it, and they are.... something less than helpful. i think id like to amend this ticket to a feature request: to be able to explicitly override this unit |
This LSF config setting is read here: nextflow/modules/nextflow/src/main/groovy/nextflow/executor/LsfExecutor.groovy Lines 315 to 320 in 2fb5bc0
And the memory options are defined here: nextflow/modules/nextflow/src/main/groovy/nextflow/executor/LsfExecutor.groovy Lines 92 to 103 in 2fb5bc0
So you can see how the various config options affect the final submit options. Maybe you can use the |
thanks @bentsherman for the info. i had another thought recently.. what do you think of explicitly adding units to the submission string? so that nextflow produces something like |
I didn't realize that was an option. It would make things much simpler. Can a unit be specified for all of those memory settings? |
hmm. good question. ive just now gone and tried to ask for an interactive node on my cluster like |
Okay I see it is documented here: https://www.ibm.com/docs/en/spectrum-lsf/10.1.0?topic=requirements-resource-requirement-strings#vnmbvn__title__3 Assuming this syntax has been supported for a while, it should be fine for Nextflow to use it. I will draft a PR |
Bug report
Expected behavior and actual behavior
Jobs submit on an LSF cluster should respect the value for
LSF_UNIT_FOR_LIMITS
inlsf.conf
, per #1124 .. However, running on a cluster where this unit is set to MB, for a task asking for 80 MB, sees a header in.command.run
files like the following:Steps to reproduce the problem
On an LSF cluster with a non-default setting for
LSF_UNIT_FOR_LIMITS
, i attempted to run an nf-core pipeline..Program output
The cluster fails to start jobs, saying ive requested more resources than the queue allows.
Environment
The text was updated successfully, but these errors were encountered: