source: LMDZ6/trunk/arch/arch-X64_ADASTRA-GNU.env @ 5353

Last change on this file since 5353 was 5042, checked in by abarral, 5 months ago

Fix ADS arch + redundant XIOS %FPP

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