Skip to content

Commit

Permalink
Merge pull request #1225 from naylor-b/dymos_mpi2
Browse files Browse the repository at this point in the history
fix for a couple of MPI/coloring bugs that came in after the refactor of remote transfers.
  • Loading branch information
swryan committed Mar 3, 2020
2 parents d7add4b + 45a7799 commit 26dddb4
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
Expand Up @@ -358,7 +358,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 @@ -373,7 +373,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 @@ -967,7 +967,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

0 comments on commit 26dddb4

Please sign in to comment.