Skip to content

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

Merged
mark-a-potts merged 2 commits into
release/public-v1from
openmpi-fix
Feb 6, 2020
Merged

fixes problem with MPI_Comm_Split in openmpi when hash is negative#25
mark-a-potts merged 2 commits into
release/public-v1from
openmpi-fix

Conversation

@mark-a-potts
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Collaborator

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

Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

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

@MinsukJi-NOAA
Copy link
Copy Markdown
Collaborator

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

@mark-a-potts
Copy link
Copy Markdown
Contributor Author

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

@junwang-noaa
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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