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

removed setting of distributed metadata to False if nprocs==1 #3122

Merged
merged 1 commit into from Feb 14, 2024

Conversation

naylor-b
Copy link
Member

Summary

The 'distributed' metadata was being set to False at the component level if nprocs there was 1, but higher up the system tree where nprocs > 1 it was incorrectly flagging a distrib/non-distrib mismatch because it thought the component variable was not distributed.

Related Issues

Backwards incompatibilities

None

New Dependencies

None

@coveralls
Copy link

Coverage Status

coverage: 89.777% (-0.3%) from 90.051%
when pulling b3fd91a on naylor-b:tim_bad_distrib
into eb6f053 on OpenMDAO:master.

@robfalck
Copy link
Contributor

Thanks for the super quick response @naylor-b! ⚡

@swryan swryan merged commit 7c7c264 into OpenMDAO:master Feb 14, 2024
9 checks passed
@naylor-b naylor-b deleted the tim_bad_distrib branch February 15, 2024 02:39
@naylor-b
Copy link
Member Author

Thanks to @timryanb for doing all of the work.

@timryanb
Copy link
Contributor

No worries, glad I could help @naylor-b

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.

OpenMDAO inconsistently overrides distributed in ParallelGroups
5 participants