Skip to content

Commit

Permalink
swap launch_exe arugment order
Browse files Browse the repository at this point in the history
  • Loading branch information
grantfirl committed May 30, 2024
1 parent f168abc commit 7a695dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scm/src/run_scm.py
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ def setup_rundir(self):

return os.path.join(SCM_RUN, output_dir)

def launch_executable(use_gdb, gdb, ignore_error = False, mpi_command):
def launch_executable(use_gdb, gdb, mpi_command, ignore_error = False):
"""Configure model run command and pass control to shell/gdb"""
if use_gdb:
if not mpi_command:
Expand Down Expand Up @@ -882,7 +882,7 @@ def main():
l_ignore_error = MULTIRUN_IGNORE_ERROR
else:
l_ignore_error = False
(status, time_elapsed) = launch_executable(use_gdb, gdb, ignore_error = l_ignore_error, mpi_command)
(status, time_elapsed) = launch_executable(use_gdb, gdb, mpi_command, ignore_error = l_ignore_error)
#
if status == 0:
logging.info('Process "(case={0}, suite={1}, namelist={2}" completed successfully'. \
Expand Down

0 comments on commit 7a695dd

Please sign in to comment.