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

NCIO bug on Hercules #916

Closed
DavidHuber-NOAA opened this issue Dec 19, 2023 · 4 comments
Closed

NCIO bug on Hercules #916

DavidHuber-NOAA opened this issue Dec 19, 2023 · 4 comments
Assignees
Labels
bug Something is not working NOAA-EMC OAR-EPIC NOAA Oceanic and Atmospheric Research and Earth Prediction Innovation Center

Comments

@DavidHuber-NOAA
Copy link
Collaborator

Describe the bug
When creating a dataset via spack-stack/1.5.1 NCIO, a netCDF/HDF error is generated. However, when the NCIO library is installed standalone on Hercules, there is no issue.

To Reproduce
I will build a sample test case and update this section. For now, you can see the failed, spack-stack log file here: /work/noaa/global/dhuber/para/com/cycled_herc/logs/2021110900/gdasanalcalc.spack-stack.log and the successful log file (built with a standalone version of NCIO, using spack-stack netcdf-c and netcdf-fortran libraries and the same Intel compilers) here: /work/noaa/global/dhuber/para/com/cycled_herc/logs/2021110900/gdasanalcalc.standalone.log.

The failure occurs on the call of calc_anl.x at line 208 of gsi_utils/netcdf_io/calc_analysis/init_io.f90.

The standalone build of NCIO is available in /work/noaa/global/dhuber/LIBS/NCIO/ncio_112/install and the source code is in /work/noaa/global/dhuber/nceplibs-ncio. It was built following this recipe:

git clone [email protected]:NOAA-EMC/nceplibs-ncio
cd nceplibs-ncio
git checkout tags/v1.1.2 -b 1.1.2
module purge
module use /work/noaa/epic/role-epic/spack-stack/hercules/spack-stack-1.5.1/envs/gsi-addon/install/modulefiles/Core
module load stack-intel
module load stack-intel-oneapi-mpi
module load netcdf-c
module load netcdf-fortran
module load cmake
mkdir build
cd build
cmake .. --DCMAKE_INSTALL_PREFIX=/work/noaa/global/dhuber/LIBS/NCIO/ncio_112/install
make -j 2
make install

Expected behavior
The NCIO library would be able to create a dataset.

System:
What system(s) are you running the code on?
Hercules

Additional context
Found while cycle-testing the global workflow on Hercules (NOAA-EMC/global-workflow#1588).

@DavidHuber-NOAA DavidHuber-NOAA added the bug Something is not working label Dec 19, 2023
@climbfuji climbfuji added NOAA-EMC OAR-EPIC NOAA Oceanic and Atmospheric Research and Earth Prediction Innovation Center labels Dec 19, 2023
@DavidHuber-NOAA
Copy link
Collaborator Author

I have built a test case here: /work/noaa/global/dhuber/LIBS/NCIO/analcalc_test_case/calcanl_ensres_06. In doing so, I found that this is an intermittent issue, so the standalone version of NCIO probably doesn't actually fix this, it just got lucky. I will investigate this further.

@DavidHuber-NOAA DavidHuber-NOAA self-assigned this Dec 19, 2023
@climbfuji
Copy link
Collaborator

I have built a test case here: /work/noaa/global/dhuber/LIBS/NCIO/analcalc_test_case/calcanl_ensres_06. In doing so, I found that this is an intermittent issue, so the standalone version of NCIO probably doesn't actually fix this, it just got lucky. I will investigate this further.

This sounds a lot like the intermittent netCDF problems that the ufs-weather-model folks have seen and are trying to figure out.

@AlexanderRichert-NOAA
Copy link
Collaborator

We ran into netcdf issues when running on Lustre. Can you test under non-LFS space, e.g., $HOME? If so then yeah same issue.

@DavidHuber-NOAA
Copy link
Collaborator Author

Sure enough, it works on $HOME. I'll go ahead and close this and follow the netCDF problem the ufs is working on. Thanks!

@DavidHuber-NOAA DavidHuber-NOAA closed this as not planned Won't fix, can't repro, duplicate, stale Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working NOAA-EMC OAR-EPIC NOAA Oceanic and Atmospheric Research and Earth Prediction Innovation Center
Projects
No open projects
Development

No branches or pull requests

4 participants