Line | |
---|
1 | #!/bin/bash |
---|
2 | module purge |
---|
3 | module load PrgEnv-gnu |
---|
4 | module load cray-hdf5-parallel |
---|
5 | module load netcdf-hdf5parallel/gnu/10.3 |
---|
6 | |
---|
7 | # netcdf-hdf5parallel has weird naming conventions => hotfix... |
---|
8 | # Used in netcdf95 cmake compilation |
---|
9 | rm -rf netcdf-hdfparallel-hotfix |
---|
10 | mkdir -p netcdf-hdfparallel-hotfix |
---|
11 | cp -r /opt/cray/pe/netcdf-hdf5parallel/4.9.0.5/gnu/10.3/lib/pkgconfig/netcdf*_parallel.pc netcdf-hdfparallel-hotfix |
---|
12 | cd netcdf-hdfparallel-hotfix || exit 1 |
---|
13 | mv netcdf-fortran_parallel.pc netcdf-fortran.pc |
---|
14 | PKG_CONFIG_PATH="$(readlink -f .):$PKG_CONFIG_PATH" |
---|
15 | # Another similar hotfix to find mpich.pc |
---|
16 | PKG_CONFIG_PATH="/opt/cray/pe/mpich/8.1.28/ofi/crayclang/16.0/lib/pkgconfig/:$PKG_CONFIG_PATH" |
---|
17 | export PKG_CONFIG_PATH |
---|
18 | cd - || exit 1 |
---|
Note: See
TracBrowser
for help on using the repository browser.