Repository navigation
Nexus: fix job option usage at user level - #5255
Conversation
|
Thanks Jaron.
|
|
Option (+other) data can be shared at the top of the Nexus file. This is often how large scripts are handled, and/or ones meant to run on multiple machines. Here is an example of three pwscf jobs across two machines that share software and runtime/submission options: |
|
Test this please |
|
Does this PR fix the CI failure in #5240? |
|
This PR should not cause the CI to fail. Nexus behaves in the same way as before (and all tests pass). Instead, it should open the way to allow usage of flags to mpirun as needed per machine environment. |
|
I would like to request documentation is added. I am concerned at the relative rate of growth of Nexus functionality vs growth of the documentation. An example like the above plus suitable discussion would be a good addition imo, and also improve discoverability of the functionality. |
ye-luo
left a comment
There was a problem hiding this comment.
Please address documentation request #5255 (comment)
|
I have added the requested documentation in a separate PR #5413 . |
|
Test this please |
|
Test this please |
Proposed changes
This PR improves job option handling in Nexus, making the interface often used at the Machine level available at the user level.
For example, to achieve what is desired in #5240, the following input can be used:
This results in a call to mpirun like:
These forms are now equivalent:
All current tests pass.
What type(s) of changes does this code introduce?
Does this introduce a breaking change?
What systems has this change been tested on?
Laptop
Checklist