|
11 | 11 | import ramble.error |
12 | 12 | from ramble.util.logger import logger |
13 | 13 |
|
14 | | -key_type = Enum("type", ["reserved", "optional", "required"]) |
15 | | -output_level = Enum("level", ["key", "variable"]) |
| 14 | +key_type = Enum("key_type", ["reserved", "optional", "required"]) |
| 15 | +output_level = Enum("output_level", ["key", "variable"]) |
16 | 16 | default_keys = { |
17 | 17 | "workspace_name": {"type": key_type.reserved, "level": output_level.variable}, |
18 | 18 | "workspace": {"type": key_type.reserved, "level": output_level.variable}, |
@@ -96,6 +96,56 @@ class Keywords: |
96 | 96 | specific inputs to further configure the experiment. |
97 | 97 | """ |
98 | 98 |
|
| 99 | + workspace_name: str |
| 100 | + workspace: str |
| 101 | + workspace_root: str |
| 102 | + workspace_configs: str |
| 103 | + workspace_software: str |
| 104 | + workspace_logs: str |
| 105 | + workspace_inputs: str |
| 106 | + workspace_experiments: str |
| 107 | + workspace_shared: str |
| 108 | + workspace_archives: str |
| 109 | + workspace_deployments: str |
| 110 | + application_name: str |
| 111 | + application_run_dir: str |
| 112 | + application_input_dir: str |
| 113 | + application_namespace: str |
| 114 | + simplified_application_namespace: str |
| 115 | + workload_name: str |
| 116 | + workload_run_dir: str |
| 117 | + workload_input_dir: str |
| 118 | + workload_namespace: str |
| 119 | + simplified_workload_namespace: str |
| 120 | + license_input_dir: str |
| 121 | + experiments_file: str |
| 122 | + experiment_name: str |
| 123 | + experiment_hash: str |
| 124 | + experiment_run_dir: str |
| 125 | + experiment_status: str |
| 126 | + RAMBLE_STATUS: str |
| 127 | + experiment_index: str |
| 128 | + experiment_namespace: str |
| 129 | + simplified_experiment_namespace: str |
| 130 | + log_dir: str |
| 131 | + log_file: str |
| 132 | + err_file: str |
| 133 | + env_path: str |
| 134 | + input_name: str |
| 135 | + repeat_index: str |
| 136 | + spec_name: str |
| 137 | + env_name: str |
| 138 | + n_ranks: str |
| 139 | + n_nodes: str |
| 140 | + processes_per_node: str |
| 141 | + n_threads: str |
| 142 | + batch_submit: str |
| 143 | + mpi_command: str |
| 144 | + workload_template_name: str |
| 145 | + experiment_template_name: str |
| 146 | + unformatted_command: str |
| 147 | + unformatted_command_without_logs: str |
| 148 | + |
99 | 149 | def __init__(self, extra_keys=None): |
100 | 150 | # Merge in additional Keys: |
101 | 151 | self.keys = default_keys.copy() |
|
0 commit comments