You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this is a CWL spec feature (and maybe a bug in Toil that we expose a flag called defaultMemory from the CWL runner at all?). See #4971 (comment); the CWL specification is where that 256 number is coming from. The Toil --defaultMemory applies to Toil's internal jobs that don't have a memory requirement assigned, but CWL jobs always have a memory requirement assigned: either 256 from the spec or whatever the user specified.
This also might be related to #2696 where we talked about making the Toil default parameters do something for CWL.
@ndonyapour Presumably you are looking for a feature in Toil that would let you override the CWL specification's required behavior, and use a different memory limit on jobs that don't have a CWL-level memory value set?
The other solution is probably hiding the --defaultX flags from toil-cwl-runner, to not make it look like we have this feature when we don't.
adamnovak
changed the title
The defined --defaultMemory is being overridden by Toil
The defined --defaultMemory does not apply to CWL jobs without memory values and 256 is always used instead
Nov 19, 2024
This makes sense; thank you for your response! Adding ramMin to the ResourceRequirement of the CWL tool fixed the issue. However, having a feature in Toil that allows overriding the CWL specification would be a great addition!
It seems that the specified value for defaultMemory is being overridden by the default value of 1GiB. Below is the command I used to run my workflow
and this what I see when the jobs are submitted where
--mem=256
┆Issue is synchronized with this Jira Story
┆Issue Number: TOIL-1676
The text was updated successfully, but these errors were encountered: