-
Notifications
You must be signed in to change notification settings - Fork 376
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
Add support for PnetCDF for HOMME on Anvil and Chrysalis #6552
Add support for PnetCDF for HOMME on Anvil and Chrysalis #6552
Conversation
Adding support for the PnetCDF library in HOMME on Chrysalis. This configuration files are used for standalone HOMME builds on Chrysalis
Adding support for the PnetCDF library in HOMME on Anvil. This configuration files are used for standalone HOMME builds on Anvil
This PR should fix the build issues with HOMME standalone tests on Chrysalis and Anvil after PR #6525 |
|
We also have a ticket with LCRC systems to install newer versions of NetCDF Fortran library but that might take more time than this workaround of adding support for PnetCDF for HOMME standalone builds. (Note: After PR #6525 we need NetCDF Fortarn library > 4.5.0 for SCORPIO builds without PnetCDF) |
do we need to wrap these new lines in, say, Update -- i misread the commit, yes, this is not an issue. |
These cmake files are specific to the machines (this change should only affect chrysalis and anvil) |
@mahf708 should the "scream defaults" tests above be running on this PR? |
It is set up to run on all PRs (and also regularly in the background) since it is a cheap small action. Perhaps, it shouldn't run on all PRs? The goal was to extend it to all of e3sm after a trial period (so that we can catch any issues in the inputdata server during PR reviews as well as in the background). Let me know if you want me to disable it (or at least lessen its frequency; it's run quite a lot by design... https://github.com/E3SM-Project/E3SM/actions/workflows/eamxx_default_files.yml) |
standalone HOMME has always been able to run with netcdf and/or pnetcdf. This PR is implying that standalone HOMME will now always require pnetcdf? (edit: after reading #6525, is this PR needed because the regular netcdf on LCRC is too old?) IIUC, the build error is because of the "nf_64bit_data" type, which HOMME gets from SCORPIO. Is this a recent SCORPIO change? How did older versions of SCORPIO make this available when one was only building with netcdf, and wouldn't that older capability of SCORPIO be good to maintain? pfs/fs1/home/e3smtest/jenkins/workspace/ACME_chrysalis_homme/E3SM/components/homme/utils/externals/scorpio/src/flib/pio_types.F90(281): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [NF_64BIT_DATA] |
This change is specific to Anvil and Chrysalis. So on these two machines HOMME standalone builds would need PnetCDF available (its already vailable on these machines, and is used by E3SM). |
We have been thinking of updating the default NetCDF output format to 64bit_data for a while (and more and more users are running into the format constraints of the older NetCDF output format at runtime). |
As long as you have relatively newer versions of NetCDF Fortran libraries available HOMME standalone tests should work/build |
@oksanaguba / @mt5555 : If you are ok with the change please go ahead and approve/merge this change (Merging this change will get the HOMME standalone nightly tests running again on Anvil/Chrysalis) |
Adding support for PnetCDF for HOMME standalone builds on Anvil and Chrysalis [BFB]
done |
@oksanaguba : Was this PR merged to next? |
I see it now, thanks |
Adding support for PnetCDF for HOMME standalone builds on
Anvil and Chrysalis
[BFB]