If the reconcile fails here
|
def _reconcile_with_shell_environment_variables(self): |
Could we grab a default value from a [DEFAULT] section in the config?
For example:
[DEFAULT]
nodes = 123
[Replacements]
job_name = GFDL_AVEC_c768L127nh
batch_queue = batch
nodes = <obtain_from_environment>
cluster = c6
The DEFAULT section currently works, however, only if the line is completely omitted. If you leave the variable unset, the harness code complains during reconciliation. Some logic could pull the value from the defaults if variable is unset in the environment (possibly continue throwing an error if there are other issues).