зеркало из https://github.com/Azure/azurehpc.git
Removed netcdf and added netcdf-c
This commit is contained in:
Родитель
47c26b0a9e
Коммит
8c6522ddc1
|
@ -25,7 +25,7 @@ EOF
|
|||
sudo yum install -y jasper-devel
|
||||
sudo yum install -y libpng-devel
|
||||
|
||||
spack install netcdf-fortran+mpi ^netcdf~parallel-netcdf ^hdf5+fortran %gcc@9.2.0 ^openmpi@${OPENMPI_VER}
|
||||
spack install netcdf-fortran+mpi ^hdf5+fortran %gcc@9.2.0 ^openmpi@${OPENMPI_VER}
|
||||
source ${SPACK_ROOT}/share/spack/setup-env.sh
|
||||
|
||||
mkdir -p ${APP_DIR}
|
||||
|
@ -34,7 +34,6 @@ wget https://github.com/wrf-model/WRF/archive/v${APP_VERSION}.tar.gz
|
|||
tar xvf v${APP_VERSION}.tar.gz
|
||||
|
||||
spack load netcdf-fortran^openmpi
|
||||
spack load netcdf^openmpi
|
||||
spack load hdf5^openmpi
|
||||
spack load perl
|
||||
module load mpi/openmpi-${OPENMPI_VER}
|
||||
|
@ -43,7 +42,7 @@ module load gcc-9.2.0
|
|||
export HDF5=$(spack location -i hdf5^openmpi)
|
||||
export NETCDF=$(spack location -i netcdf-fortran^openmpi)
|
||||
|
||||
NETCDF_C=$(spack location -i netcdf^openmpi)
|
||||
NETCDF_C=$(spack location -i netcdf-c^openmpi)
|
||||
ln -sf $NETCDF_C/include/* $NETCDF/include/
|
||||
ln -sf $NETCDF_C/lib/* $NETCDF/lib/
|
||||
ln -sf $NETCDF_C/lib/pkgconfig/* $NETCDF/lib/pkgconfig
|
||||
|
|
|
@ -25,7 +25,7 @@ EOF
|
|||
sudo yum install -y jasper-devel
|
||||
sudo yum install -y libpng-devel
|
||||
|
||||
spack install netcdf-fortran+mpi ^netcdf~parallel-netcdf ^hdf5+fortran %gcc@9.2.0 ^openmpi@${OPENMPI_VER}
|
||||
spack install netcdf-fortran+mpi ^hdf5+fortran %gcc@9.2.0 ^openmpi@${OPENMPI_VER}
|
||||
source ${SPACK_ROOT}/share/spack/setup-env.sh
|
||||
|
||||
mkdir -p ${APP_DIR}
|
||||
|
@ -34,7 +34,6 @@ wget https://github.com/wrf-model/WRF/archive/v${APP_VERSION}.tar.gz
|
|||
tar xvf v${APP_VERSION}.tar.gz
|
||||
|
||||
spack load netcdf-fortran^openmpi
|
||||
spack load netcdf^openmpi
|
||||
spack load hdf5^openmpi
|
||||
spack load perl
|
||||
module load mpi/openmpi-${OPENMPI_VER}
|
||||
|
@ -43,7 +42,7 @@ module load gcc-9.2.0
|
|||
export HDF5=$(spack location -i hdf5^openmpi)
|
||||
export NETCDF=$(spack location -i netcdf-fortran^openmpi)
|
||||
|
||||
NETCDF_C=$(spack location -i netcdf^openmpi)
|
||||
NETCDF_C=$(spack location -i netcdf-c^openmpi)
|
||||
ln -sf $NETCDF_C/include/* $NETCDF/include/
|
||||
ln -sf $NETCDF_C/lib/* $NETCDF/lib/
|
||||
ln -sf $NETCDF_C/lib/pkgconfig/* $NETCDF/lib/pkgconfig
|
||||
|
|
Загрузка…
Ссылка в новой задаче