MCPcopy Create free account
hub / github.com/LBANN/lbann / submit

Method submit

python/lbann/launcher/openmpi.py:93–107  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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)

Callers

nothing calls this directly

Calls 1

runMethod · 0.80

Tested by

no test coverage detected