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

fixes problem with MPI_Comm_Split in openmpi when hash is negative #25

Merged
merged 2 commits into from
Feb 6, 2020

Conversation

mark-a-potts
Copy link
Contributor

This fixes a problem when using openmpi. When the MPI_Comm_Split hash is negative, openmpi fails. This adds an abs() call to the hash that is created for the split.

@MinsukJi-NOAA
Copy link
Collaborator

MinsukJi-NOAA commented Feb 6, 2020

Regression testing (via rt.sh) of ufs-weather-model develop branch successfully passed on Hera. I will also follow up with regression testing of ufs-weather-model public release branch.
RegressionTests_hera.intel.log

@MinsukJi-NOAA
Copy link
Collaborator

Regression testing of ufs-weather-model ufs_public_release branch successfully passed on Hera.
RegressionTests_hera.intel.log

Copy link
Collaborator

@MinsukJi-NOAA MinsukJi-NOAA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems the two lines are redundant since hash is assigned a value filtered by abs(). What do you think?

@mark-a-potts
Copy link
Contributor Author

mark-a-potts commented Feb 6, 2020 via email

@MinsukJi-NOAA
Copy link
Collaborator

Okay. I think if you push the change to openmpi-fix branch, the PR will automatically update.

@mark-a-potts
Copy link
Contributor Author

mark-a-potts commented Feb 6, 2020 via email

@junwang-noaa
Copy link
Collaborator

Mark/Minsuk,

Would you please create a pull request in ufs-weather-model so that this change can be tested and we can update the ufs-weather-model release branch?

@MinsukJi-NOAA
Copy link
Collaborator

Mark,
I am going to delete the openmpi-fix branch since it's been successfully merged. Let me know if you have objections.

@mark-a-potts
Copy link
Contributor Author

mark-a-potts commented Feb 14, 2020 via email

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.

3 participants