Skip to content

Commit

Permalink
fix mpirun string issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Apr 21, 2017
1 parent 1f80fa0 commit 06760de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/lib/CIME/case.py
Original file line number Diff line number Diff line change
Expand Up @@ -1116,15 +1116,15 @@ def get_mpirun_cmd(self, job="case.run"):
"unit_testing" : False
}

executable, mpi_arg_string = env_mach_specific.get_mpirun(self, mpi_attribs, job=job)
executable, mpi_arg_list = env_mach_specific.get_mpirun(self, mpi_attribs, job=job)

# special case for aprun
if executable is not None and "aprun" in executable:
aprun_cmd, num_nodes = get_aprun_cmd_for_case(self, run_exe)
expect(num_nodes == self.num_nodes, "Not using optimized num nodes")
return executable + aprun_args + " " + run_misc_suffix
else:
mpi_arg_string = " ".join(args.values())
mpi_arg_string = " ".join(mpi_arg_list)

if self.get_value("BATCH_SYSTEM") == "cobalt":
mpi_arg_string += " : "
Expand Down

0 comments on commit 06760de

Please sign in to comment.