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 16f862a commit d2e4b11
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 d2e4b11

Please sign in to comment.