You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The solve gives [email protected] but it won't build. It gets stuck at line 444 in configure_args:
/scratch/jw2636/spack/var/spack/repos/builtin/packages/netcdf-c/package.py:444, in configure_args:
441 if "~shared" in hdf5:
442 if "+szip" in hdf5:
443 extra_libs.append(hdf5["szip"].libs)
>> 444 extra_libs.append(hdf5["zlib"].libs)
445
446 if self.spec.satisfies("@4.9.0:+shared"):
447 lib_search_dirs.extend(self.spec["zlib-api"].libs.directories)
I've currently set netcdf-c to 4.9.0 and I'm retrying the ESMF build.
Update:
I was not able to find any combination of Spack's available netcdf-c and hdf5 versions that worked when both used ~shared. However I was able to fully compile netcdf-c when I removed ~shared from hdf5. This skips over line 441's if "~shared" in hdf5: logic, thus not failing when trying to append hdf5["zlib"].lib. Digging deeper it seems like the ~shared assignment is in flux. I'm very new to Spack (this week) so this is probably a closeable issue. Thanks!
The text was updated successfully, but these errors were encountered:
I'm running this Spack install on the command line:
spack install esmf esmf_comm=openmpi esmf_os=Linux ^netcdf-fortran~shared ^netcdf-c~shared ^hdf5~shared ^openblas ^parallel-netcdf ^openmpi ^parallelio
The solve gives [email protected] but it won't build. It gets stuck at line 444 in configure_args:
I've currently set netcdf-c to 4.9.0 and I'm retrying the ESMF build.
Update:
I was not able to find any combination of Spack's available netcdf-c and hdf5 versions that worked when both used
~shared
. However I was able to fully compile netcdf-c when I removed~shared
from hdf5. This skips over line 441'sif "~shared" in hdf5:
logic, thus not failing when trying to appendhdf5["zlib"].lib
. Digging deeper it seems like the ~shared assignment is in flux. I'm very new to Spack (this week) so this is probably a closeable issue. Thanks!The text was updated successfully, but these errors were encountered: