spack load nvhpc@24.5
export MPICH=$(spack location -i nvhpc@24.5)/Linux_x86_64/24.5/comm_libs/mpi/bin
export FF=$MPICH/mpifort
export FC=$MPICH/mpifort
export CC=$MPICH/mpicc
export CXX=$MPICH/mpicxx
# Definition of versions
ZVER=1.3.1
H5VER=1.12.3
NCVER=4.9.0
NFVER=4.6.1
cd ${BUILDDIR}
wget -O nf-${NFVER}.tar.gz https://github.com/Unidata/netcdf-fortran/archive/v${NFVER}.tar.gz
tar -zxvf nf-${NFVER}.tar.gz
rm nf-${NFVER}.tar.gz
cd netcdf-fortran-${NFVER}
echo $CC
CPPFLAGS="-I${NCDIR}/include" LDFLAGS="-L${NCDIR}/lib" ./configure --prefix=${NFDIR}
make check #-j 4
make install
This is the script I use to install netcdf-fortran and I have already have netcdf-c installed and hdf5 with zlib. I am getting the following error message :
libmpi.la no such file or directory how could I solve this issue ?
This is the script I use to install netcdf-fortran and I have already have netcdf-c installed and hdf5 with zlib. I am getting the following error message :
libmpi.la no such file or directory
how could I solve this issue ?