Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed mpi hang caused by constraint_report #727

Closed
wants to merge 2 commits into from

Conversation

naylor-b
Copy link
Member

The constraint report calls get_io_metadata internally and that potentially makes a collective MPI call. This fixes a hang caused by only rank 0 making the collective call. This is kind of a quick and dirty fix. I've added a fairly general purpose get_print_func function on my current OpenMDAO branch, but I didn't want to make this dependent on that so it doesn't use it. After that makes it to OpenMDAO/master, we may want to go through dymos and make the handling of this situation wherever it occurs to be more consistent by using the get_print_func function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants