Closed rsignell-usgs closed 4 years ago
@JiaweiZhuang I'm still having an issue installing netcdf, and while I'm happy to raise an issue on Spack, I wanted to check here first to make sure it's not just a dumb user error.
When I do:
spack install netcdf-fortran@4.5.2 netcdf@4.7.4
I get a failure:
curl: (22) The requested URL returned error: 404 Not Found
==> Fetching from https://www.gfd-dennou.org/arch/netcdf/unidata-mirror/netcdf-c-4.7.0.tar.gz failed.
indeed, if I look at https://www.gfd-dennou.org/arch/netcdf/unidata-mirror, there is no netcdf-c-4.7.0.tar.gz
, but there is a netcdf-c-4.7.4.tar.gz
, which is what I asked for.
Is this a Spack bug, user error, or something else?
Thanks!
I didn't do anything, and I don't see any recently closed spack PRs that would have made any difference, but I just tried
spack install netcdf-fortran@4.5.2 netcdf@4.7.4
and now it's working. Doesn't make me feel too confident about Spack, but off we go! 😕
And the instructed installation of non-MPI NetCDF (which is what we actually want for building the Coupled Ocean Atmosphere Wave and Sediment Transport (COAWST) model) worked also:
spack -v install netcdf-fortran %intel ^netcdf~mpi ^hdf5~mpi+fortran+hl
The netcdf installation command:
is returning
@JiaweiZhuang , this should get resolved when https://github.com/spack/spack/pull/15641 is accepted, right?
Is there a workaround?