Closed bschroeter closed 1 year ago
Thanks for finding this. It looks like a bug that was in the main branch. Running benchcab with pdb
shows we are not passing in the pbs config correctly:
https://github.com/CABLE-LSM/benchcab/blob/7ef9fff5c2061773813975e72f7e470474ac30ed/benchcab/benchcab.py#L137
The above line will always be None
since the pbs
key is nested under the fluxsite
key.
Hey @SeanBryan51,
In trying to run integration tests for #143, with a pre-canned configuration file it does not appear that the flux site storage flags are actually being set.
https://github.com/CABLE-LSM/benchcab/blob/0b36493f81fbd75c89829c8dc4d65ac6d7968609/benchcab/utils/pbs.py#L32-L35
My config file (rendered at runtime):
What eventuates is a job trying to run without knowledge of the rp23 scratch mount point - meaning that integration tests on my local dev installation of benchcab on rp23 simply fail with a file not found.
Am I doing something wrong, or is there an issue with passing the user-supplied flux site pbs directives through to the job script renderer?