Last change
on this file since 5452 was
5042,
checked in by abarral, 6 months ago
|
Fix ADS arch + redundant XIOS %FPP
|
File size:
849 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | module purge |
---|
3 | module load PrgEnv-gnu |
---|
4 | module load gcc/13.2.0 # required, see https://dci.dci-gitlab.cines.fr/webextranet/user_support/index.html#prgenv-and-compilers |
---|
5 | module load cray-hdf5-parallel |
---|
6 | module load netcdf-hdf5parallel/gnu/10.3 |
---|
7 | |
---|
8 | # netcdf-hdf5parallel has weird naming conventions => hotfix... |
---|
9 | # Used in netcdf95 cmake compilation |
---|
10 | rm -rf netcdf-hdfparallel-hotfix |
---|
11 | mkdir -p netcdf-hdfparallel-hotfix |
---|
12 | cp -r /opt/cray/pe/netcdf-hdf5parallel/4.9.0.5/gnu/10.3/lib/pkgconfig/netcdf*_parallel.pc netcdf-hdfparallel-hotfix |
---|
13 | cd netcdf-hdfparallel-hotfix || exit 1 |
---|
14 | mv netcdf-fortran_parallel.pc netcdf-fortran.pc |
---|
15 | PKG_CONFIG_PATH="$(readlink -f .):$PKG_CONFIG_PATH" |
---|
16 | # Another similar hotfix to find mpich.pc |
---|
17 | PKG_CONFIG_PATH="/opt/cray/pe/mpich/8.1.28/ofi/crayclang/16.0/lib/pkgconfig/:$PKG_CONFIG_PATH" |
---|
18 | export PKG_CONFIG_PATH |
---|
19 | cd - || exit 1 |
---|
Note: See
TracBrowser
for help on using the repository browser.