Skip to content

Commit

Permalink
Make mpicmd required in schema and code
Browse files Browse the repository at this point in the history
  • Loading branch information
maddenp-noaa committed Feb 1, 2024
1 parent 01a81e7 commit ed7c77b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/uwtools/drivers/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def run_cmd(self) -> str:
:return: Collated string that contains MPI command, runtime arguments, and exec name.
"""
components = [
self._platform_config.get("mpicmd"), # MPI run program
self._platform_config["mpicmd"], # MPI run program
*[str(x) for x in self._config["runtime_info"].get("mpi_args", [])], # MPI arguments
self._config["executable"], # NWP tool executable name
]
Expand Down
2 changes: 1 addition & 1 deletion src/uwtools/resources/FV3Forecast.jsonschema
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@
}
},
"required": [
"scheduler"
"mpicmd"
],
"type": "object"
},
Expand Down

0 comments on commit ed7c77b

Please sign in to comment.