Skip to content

Commit

Permalink
Merge pull request #1221 from naylor-b/dymos_mpi2
Browse files Browse the repository at this point in the history
Fix for a couple of mpi bugs discovered when testing dymos.
  • Loading branch information
swryan committed Mar 3, 2020
2 parents 5f166b5 + 45a7799 commit 5fc38bc
Show file tree
Hide file tree
Showing 9 changed files with 592 additions and 25 deletions.
6 changes: 3 additions & 3 deletions openmdao/core/tests/test_coloring.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ def test_print_options_total_with_coloring_fwd(self):

self.assertFalse(failed, "Optimization failed.")

self.assertTrue('In mode: fwd, Solving variable(s):' in output)
self.assertTrue('In mode: fwd, Solving variable(s) using simul coloring:' in output)
self.assertTrue("('indeps.y', [1, 3, 5, 7, 9])" in output)
self.assertTrue('Elapsed Time:' in output)

Expand All @@ -372,7 +372,7 @@ def test_print_options_total_with_coloring_rev(self):

self.assertFalse(failed, "Optimization failed.")

self.assertTrue('In mode: rev, Solving variable(s):' in output)
self.assertTrue('In mode: rev, Solving variable(s) using simul coloring:' in output)
self.assertTrue("('r_con.g', [0])" in output)
self.assertTrue('Elapsed Time:' in output)

Expand Down Expand Up @@ -966,7 +966,7 @@ def test_multi_variable_coloring_debug_print_totals(self):

self.assertFalse(failed, "Optimization failed.")

self.assertTrue('In mode: fwd, Solving variable(s):' in output)
self.assertTrue('In mode: fwd, Solving variable(s) using simul coloring:' in output)
self.assertTrue("('indep0.x', [7])" in output)
self.assertTrue("('indep1.x', [7])" in output)
self.assertTrue("('indep2.x', [7])" in output)
Expand Down
Loading

0 comments on commit 5fc38bc

Please sign in to comment.