JCSDA / spack-stack

Creative Commons Zero v1.0 Universal
27 stars 45 forks source link

bufr/hdf5 issue with spack-stack-1.6.0/gsi-addon-dev install on Gaea-C6 #1359

Open DavidBurrows-NCO opened 6 hours ago

DavidBurrows-NCO commented 6 hours ago

Describe the bug I am attempting to build the GSI package on Gaea-C6 and receive warning messages like:

ld: warning: libhdf5_parallel_intel.so.310, needed by /autofs/ncrc-svm1_proj/epic/spack-stack/spack-stack-1.6.0/envs/gsi-addon-dev/install/intel/2023.2.0/bufr-11.7.0-z6kzf5u/lib64/libbufr_d.so, not found (try using -rpath or -rpath-link).

I’ve tracked this down to differences in the bufr hdf5 libraries between C5 and C6. On C6, I see:

ldd /autofs/ncrc-svm1_proj/epic/spack-stack/spack-stack-1.6.0/envs/gsi-addon-dev/install/intel/2023.2.0/bufr-11.7.0-z6kzf5u/lib64/libbufr_d.so | grep hdf
libhdf5_parallel_intel.so.310 => not found
libhdf5_fortran_parallel_intel.so.310 => not found

but on C5, I see:

ldd /autofs/ncrc-svm1_proj/epic/spack-stack/spack-stack-1.6.0/envs/gsi-addon-dev/install/intel/2023.2.0/bufr-11.7.0-z6kzf5u/lib64/libbufr_d.so | grep hdf
libhdf5_parallel_intel.so.310 => /opt/cray/pe/hdf5-parallel/1.14.3.1/intel/2023.2/lib/libhdf5_parallel_intel.so.310 (0x00007fafe6f2c000)
libhdf5_fortran_parallel_intel.so.310 => /opt/cray/pe/hdf5-parallel/1.14.3.1/intel/2023.2/lib/libhdf5_fortran_parallel_intel.so.310 (0x00007fafe7922000)

To Reproduce Run ldd /autofs/ncrc-svm1_proj/epic/spack-stack/spack-stack-1.6.0/envs/gsi-addon-dev/install/intel/2023.2.0/bufr-11.7.0-z6kzf5u/lib64/libbufr_d.so for example on Gaea-C5 versus C6

Expected behavior Receive no build warning and runtime failures due to missing library.

System: Gaea-C5 versus C6

Additional context NA

DavidBurrows-NCO commented 6 hours ago

This issue Refs NOAA-EMC/global-workflow #3011 and Refs NOAA-EMC/GSI #800