Skip to content

Commit

Permalink
Fix titan problem
Browse files Browse the repository at this point in the history
Incorrect merging of spare nodes and aprun optimized nodes features
  • Loading branch information
jgfouca committed Apr 18, 2017
1 parent 3c7894d commit a6e9d35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/lib/CIME/case.py
Original file line number Diff line number Diff line change
Expand Up @@ -1086,7 +1086,7 @@ def get_mpirun_cmd(self, job="case.run"):
# special case for aprun
if executable == "aprun":
aprun_cmd, num_nodes = get_aprun_cmd_for_case(self, run_exe)
expect(num_nodes == self.num_nodes, "Not using optimized num nodes")
expect( (num_nodes + self.spare_nodes) == self.num_nodes, "Not using optimized num nodes")
return aprun_cmd + " " + run_misc_suffix
else:
mpi_arg_string = " ".join(args.values())
Expand Down

0 comments on commit a6e9d35

Please sign in to comment.