Closed nsheff closed 3 years ago
I can't reproduce this or I just don't understand the problem. What do you mean by "divvy config package"?
When I use the dynamic variables feature, the selected values are used correctly by divvy in the submission scripts.
By looking at the relevant lines I see that whatever is returned by choose_resource_package
(dynamic variables are given priority there) method is only overwritten by the CLI resources specification:
I put 'partition: largemem' in dynamic variables, they are submitted to 'standard' anyway because of this line:
https://github.com/pepkit/divcfg/blob/98ba06587d49f4cc9f630cd7d157fb81a16c95c9/uva_rivanna.yaml#L19
the dynamic variable should have precedence.
should be fixed now
In my hands, if I include a dynamic variables script, then these variables are treated as a lower priority than elements in the divvy config package.
I think the dynamic variables should have a higher priority than elements in the divvy config package.