Skip to content

Commit 238bb96

Browse files
author
snowman2
committed
added optional arg for mpiexec command
1 parent 5cd08f3 commit 238bb96

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

RAPIDpy/inflow/lsm_rapid_process.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ def run_lsm_rapid_process(rapid_executable_location,
100100
generate_initialization_file=False,
101101
use_all_processors=True,
102102
num_processors=1,
103+
mpiexec_command="mpiexec",
103104
cygwin_bin_location="",
104105
modeling_institution="US Army Engineer Research and Development Center"
105106
):
@@ -511,6 +512,7 @@ def run_lsm_rapid_process(rapid_executable_location,
511512
rapid_manager = RAPID(rapid_executable_location=rapid_executable_location,
512513
cygwin_bin_location=cygwin_bin_location,
513514
num_processors=NUM_CPUS,
515+
mpiexec_command=mpiexec_command,
514516
ZS_TauR=time_step, #duration of routing procedure (time step of runoff data)
515517
ZS_dtR=15*60, #internal routing time step
516518
ZS_TauM=total_num_time_steps*time_step, #total simulation time

0 commit comments

Comments
 (0)