Skip to content

Commit 06984a8

Browse files
authored
Merge pull request #168 from NVIDIA/pagaray_master_tweak
[Nemo] Change: Propagate errors on BCP
2 parents 5dc19c8 + 66c6560 commit 06984a8

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

launcher_scripts/nemo_launcher/core/launchers.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -266,14 +266,9 @@ def _submit_command(self, submission_file_path: Path) -> str:
266266
"""Launch the submission command"""
267267
command_list = self._make_submission_command(submission_file_path)
268268
# run
269-
output = job_utils.CommandFunction(
270-
command_list, verbose=False
271-
)() # explicit errors
269+
job_utils.CommandFunction(command_list, verbose=False)() # explicit errors
272270

273-
job_id = ""
274-
if output:
275-
job_id = self._get_job_id_from_submission_command(output)
276-
return job_id
271+
return ""
277272

278273
@staticmethod
279274
def _make_submission_command(submission_file_path: Path) -> List[str]:

0 commit comments

Comments
 (0)