-
Notifications
You must be signed in to change notification settings - Fork 250
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
Fix type mismatch compiler error when gfortran 10 is used without '-fallow-argument-mismatch' flag #1147
Fix type mismatch compiler error when gfortran 10 is used without '-fallow-argument-mismatch' flag #1147
Conversation
If mpi_f08 can fix the issue of type mismatch, I think we can add mpi_f08 module as a requirement for ufs-weather-model to support gnu compiler. |
@junwang-noaa I will give a try to install openmpi/gnu and see if its doable. |
@DusanJovic-NOAA @junwang-noaa @kgerheiser I captured this and related information in the spack-stack repo: JCSDA/spack-stack#109 We will try to rebuild spack-stack on the various platforms using |
@climbfuji Have you tried rebuilding spacl_stack with gcc and open-mpi? Does that work? |
Your question is timely, as I was about to post an update here. There are some issues with using openmpi on macOS that I started investigating last week. The problem has to do with flat namespaces versus two-level namespaces. mpich supports two-level namespaces through a Without two-level namespaces, there is a problem with mixing the |
@junwang-noaa @DusanJovic-NOAA Good news. I was able to compile |
Still waiting on gnu/openmpi hpc-stack or spack-stack to be installed on Hera and Cheyenne. |
I have a gnu-openmpi spack-stack that can be used for testing on Cheyenne, but it's probably not the final location and the responsibility for Cheyenne should probably be with EPIC, not JCSDA (but it's fine to do this in the transition period). |
I just updated ccpp/framework and FV3. I also submitted test on Hercules just to be sure the ccpp/framework update does not unexpectedly change something. So far several test finished successfully so I do not expect any issues. |
on-behalf-of @ufs-community <[email protected]>
…her-model into HEAD
Disregard the failed hercules message. |
Skip Acorn |
Ok, since hera is down, we're finished with testing. I will follow up on the ccpp framework and physics sub-prs to begin the merge process. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can only really review the changes related to fv3atm / ccpp and those look good! This is probably the PR holding the record for being longest in the queue :-)
Commit Queue Requirements:
Description:
Starting with version 10 gfortran treats mismatches between actual and dummy argument lists as errors. This error can be turned into warning (and silenced) by using '-fallow-argument-mismatch' flag. In this PR all such mismatches are fixed. Most of the errors are resolved by using
mpi_f08
module which provides generic interfaces.WARNING: We are currently using mpich MPI library with the gnu compilers on Hera and SGI MPT on Cheyenne. mpi_f08 module in mpich, when compiled with the current versions of the gnu compilers, has some issues and MPT does not provide mpi_f08 module at all. Which means this PR will require us to switch to OpenMPI, which will require hpc-stack to be rebuild on these two platforms. Do we want to do that? Do we want to make (working) mpi_f08 module a requirement for ufs-weather-model?
Commit Message:
Priority:
Git Tracking
UFSWM:
Sub component Pull Requests:
UFSWM Blocking Dependencies:
Changes
Regression Test Changes (Please commit test_changes.list):
Input data Changes:
Library Changes/Upgrades:
Testing Log: