#!/bin/bash module purge module load PrgEnv-gnu module load cray-hdf5-parallel module load netcdf-hdf5parallel/gnu/10.3 # netcdf-hdf5parallel has weird naming conventions => hotfix... # Used in netcdf95 cmake compilation rm -rf netcdf-hdfparallel-hotfix mkdir -p netcdf-hdfparallel-hotfix cp -r /opt/cray/pe/netcdf-hdf5parallel/4.9.0.5/gnu/10.3/lib/pkgconfig/netcdf*_parallel.pc netcdf-hdfparallel-hotfix cd netcdf-hdfparallel-hotfix mv netcdf-fortran_parallel.pc netcdf-fortran.pc export PKG_CONFIG_PATH="$(readlink -f .):$PKG_CONFIG_PATH" cd -