bout_runners.configure_bout_runners¶
Module for configuring bout_runners.
Functions
Check that the submitter configuration file is properly formatted. |
|
|
Set the path to the BOUT++ directory. |
|
Set the directory of the log files. |
|
Set the log level. |
Set the path to the submitter configuration. |
-
bout_runners.configure_bout_runners.
check_submitter_config
(submitter_config_path: pathlib.Path, default_path: pathlib.Path) → None[source]¶ Check that the submitter configuration file is properly formatted.
- Parameters
- submitter_config_pathPath
Path to the specified submitter configuration path
- default_pathPath
Path to the default submitter configuration
- Raises
- ValueError
If either sections or options are missing from the submitter_config_path
-
bout_runners.configure_bout_runners.
set_bout_directory
(bout_dir: Optional[pathlib.Path] = None) → None[source]¶ Set the path to the BOUT++ directory.
- Parameters
- bout_dirNone or Path
The path to the BOUT++ directory If None, the caller will be prompted
- Raises
- ValueError
If BOUT++ not found in the directory
-
bout_runners.configure_bout_runners.
set_log_file_directory
(log_dir: Optional[pathlib.Path] = None) → None[source]¶ Set the directory of the log files.
- Parameters
- log_dirNone or Path
The directory to keep the log files If None the caller will be prompted