-
Notifications
You must be signed in to change notification settings - Fork 104
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
Clean up IFI support and add library prereqs to modulefiles #1056
Clean up IFI support and add library prereqs to modulefiles #1056
Conversation
@SamuelTrahanNOAA The pre-installed libIFI is on Hera only? |
I'm installing the latest library on Jet now. Once Hera comes back, I'll update it there too. My test data isn't on Jet anymore, so I have no way to test it at the moment. I'd have to copy the data and scripts back from Hera, which will take a few hours. |
I don't own the libIFI installation on Acorn. The NCEP library group will need to update it there. |
The libIFI is on Jet, and I can confirm UPP on Jet can compile:
|
@SamuelTrahanNOAA The build tests on Hera look good to me. Can you provide me the instructions of testing the executable ' fip2-lookalike.x' on Hera? |
There are two scripts.
To confirm fip2-lookalike.x is working, you must compare:
The z0 variable is missing from one file, but the data within should be otherwise identical. I'll update the code to output the missing z0 variable in a later PR. |
@SamuelTrahanNOAA I don't have access permission to /scratch2/BMC/ifi/Samuel.Trahan/fip. |
I copied them here. Can you see these?
|
@gspetro-NOAA - I invited you as a collaborator to my repository. If you accept, you should be able to push logs. @WenMeng-NOAA - The libIFI pull request has no reviews. It needs to be merged first so I can point to a hash of the main branch instead of my feature branch. |
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.
@WenMeng-NOAA All RTs pass on Hera, Orion, and Hercules with no baseline changes. Sounds like merging should wait until @SamuelTrahanNOAA 's dependent PR gets merged, so I'll hold off on hitting the "Approve" button, but once his PR gets merged, we should be good to go for this PR.
I've made an issue for the bug fix in INITPOST_NETCDF.f where I changed len=20 to len=* I left the bug fix in this branch by accident, but we may as well fix it here, rather than opening yet another PR that needs to be tested. |
@WenMeng-NOAA @gspetro-NOAA - The github GCC Linux Build test is failing with this error:
|
@AlexanderRichert-NOAA Do you have any suggestions to solve this GCC CI failure? Thanks! |
Yes-- the ubuntu-latest runner now only has gcc 12, 13, and 14 available on accounting of now using ubuntu 24.04, so you can either update gcc to one of those versions, or revert to an earlier ubuntu version for the runner (I would suggest the former unless you specifically need gcc 10). |
You should choose a specific ubuntu version so our tests are consistent. |
This PR's dependency, in the UPP_IFI repository, has been merged. |
I'd prefer that a different PR update the github tests, not my PR. Instead, I've changed the gnu.yml to explicitly specify the In another PR, someone should update to a specific image version (ie. ubuntu-24.04) not a "latest" alias (ie. ubuntu-latest). Another linux distribution is fine. Also, I suggest you use a GCC version that matches what is used on one of the supported machines (hercules, hera, etc.) |
@SamuelTrahanNOAA Have you updated the hash of libIFI.fd in this PR? |
Now I have. |
@SamuelTrahanNOAA Thanks for testing the CI fix. The updates to the GCC CI can be submitted in a separate PR. All IFI relevant updates look good to me. Would you like to keep the current CI fix in your PR for merging, or incorporate it into the CI fix PR? |
I do not see my changes as a "CI fix." All I did was restore it to the behavior it had before GitHub changed ubuntu-latest to ubuntu 24.04. Any version change of GCC (if you decide to do one) should be in another PR. |
@SamuelTrahanNOAA Thanks for clarifying. We will proceed with your PR for the merging process. |
@gspetro-NOAA Please go ahead to approve this PR. |
This PR is ready for merging. |
This is part of an ongoing project to beautify and document the libIFI and associated programs so other people can develop the code. Changes are:
compile_upp.sh -i
loads a modulefile for libIFI on Hera throughmodulefiles/hera_external_ifi.lua
compile_upp.sh -I -B
will compile internal IFI and its internal test programs. This also loads thehera_ifi_test_prereqs.lua
modulefile. That modulefile adds the NetCDF C++ wrapper, needed by libIFI's "fip2-lookalike.x" program.ALSO, a bug fix I accidentally left in these changes corrects bug #1064, an incorrect array length in INITPOST_NETCDF.f
Dependency on closed-source library PR. (Most users cannot access this link.)
Issues: