Submit batch job. OpenMPI doesn't have a notion of batch jobs, so the script is just run directly. Args: overwrite (bool): Whether to overwrite script file if it already exists (default: False). Returns: int: Exit status from
(self, overwrite=False)
| 91 | self.add_command(args) |
| 92 | |
| 93 | def submit(self, overwrite=False): |
| 94 | """Submit batch job. |
| 95 | |
| 96 | OpenMPI doesn't have a notion of batch jobs, so the script is |
| 97 | just run directly. |
| 98 | |
| 99 | Args: |
| 100 | overwrite (bool): Whether to overwrite script file if it |
| 101 | already exists (default: False). |
| 102 | |
| 103 | Returns: |
| 104 | int: Exit status from script. |
| 105 | |
| 106 | """ |
| 107 | return self.run(overwrite) |