- Timestamp:
- Jul 24, 2024, 7:47:45 PM (5 months ago)
- Location:
- LMDZ6/trunk/arch
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/arch/arch-X64_JEANZAY.env
r5109 r5121 1 module purge 2 module load intel-compilers/19.0.4 3 module load intel-mkl/19.0.4 4 module load hdf5/1.10.5-mpi 5 module load netcdf/4.7.2-mpi 6 module load netcdf-fortran/4.5.2-mpi 7 module load netcdf95 8 module load subversion/1.9.7 9 module load cmake 1 10 2 ############################################################## 3 # Gestion des modules 4 ############################################################## 5 6 hostname=jean-zay4 7 echo lmdz_env $hostname 0:3 ${hostname:0:3} 8 9 case ${hostname:0:5} in 10 11 jean-) ARCH=X64_JEANZAY 12 module purge 13 compilo=19.0.4 # available 2013.0, 2017.2 14 module load intel-compilers/$compilo 15 #module load intel-mpi/$compilo 16 module load intel-mkl/$compilo 17 module load hdf5/1.10.5-mpi 18 module load netcdf/4.7.2-mpi 19 module load netcdf-fortran/4.5.2-mpi 20 module load netcdf95/0.3-mpi 21 module load subversion/1.9.7 22 #Pour module gcc, voir : https://trac.lmd.jussieu.fr/LMDZ/wiki/PortageJeanZay 23 #module load gcc/6.5.0 24 module load nco 25 module load cdo 26 # Imputation de la consommation sur le groupe (projet) actif par defaut, 27 # idrproj indique le groupe (projet) actif par defaut 28 # idrproj -d newproj redefinit "newproj" en tant que projet actif, 29 # alors $STORE, $WORK etc vont designer les espaces de "newproj") 30 groupe=`idrproj | grep active | awk '{ print $1}'` 31 groupe="nfl" 32 submit="sbatch -A ${groupe}@cpu " 33 run="srun --label -n " 34 # Espaces suivants definis par defaut en fonction du groupe actif, 35 # par exemple : SCRATCHD=$SCRATCH is /gpfsstore/rech/$groupe/$login 36 # * On peut aussi ne pas installer les scripts a la racine de STORE, 37 # mais dans STORED=$STORE/your_folder 38 STORED=$STORE 39 SCRATCHD=$SCRATCH 40 LMDZD=$WORK 41 nb_mpi_max=2000 42 nb_omp_max=20 43 #LMDZ_Init sur le $STORE du $groupe 44 LMDZ_Init=$STORE/LMDZ_Init ;; 45 *) ARCH= 46 submit=". " 47 run="mpirun -np " 48 SCRATCHD=~/TMP/SCRATCH 49 STORED=~/TMP/ 50 LMDZD=~/TMP 51 nb_mpi_max=2 52 nb_omp_max=2 53 LMDZ_Init=~/LMDZ/LMDZ_Init 54 esac 55 56 57 echo LMDZ_Init dans lmdz_env $LMDZ_Init 11 export FC=mpiifort 12 export CPP="icc -E" 13 export CC=icc -
LMDZ6/trunk/arch/arch-X64_JEANZAY.path
r5109 r5121 1 # $Id$ 2 #NETCDF_LIBDIR="-L$NETCDFFORTRAN_LIBDIR -L$NETCDF_LIBDIR -lnetcdf -lnetcdff" 3 #NETCDF_INCDIR=-I$NETCDFFORTRAN_INCDIR 4 NETCDF_INCDIR="" 5 NETCDF_LIBDIR="" 1 NETCDF_INCDIR="-I$(nf-config --includedir) -I$(nc-config --includedir)" # nc required for xios 2 # Ugly hack for orchidee <=2.0 3 NETCDF_LIBDIR="-L$(nf-config --flibs | sed -e "s/-L//")" 6 4 NETCDF_LIB="-lnetcdff -lnetcdf" 5 NETCDF95_INCDIR="-I$(pwd)/../../include" 6 NETCDF95_LIBDIR="-L$(pwd)/../../lib" 7 NETCDF95_LIB="-lnetcdf95" 7 8 8 NETCDF95_INCDIR=-I$NETCDF95_ROOT/include/NetCDF95 9 NETCDF95_LIBDIR=-L$NETCDF95_ROOT/lib 10 NETCDF95_LIB=-lnetcdf95 11 12 IOIPSL_INCDIR="-I$LMDGCM/../../lib -I$LMDGCM/../IOIPSL/inc" 13 IOIPSL_LIBDIR="-L$LMDGCM/../../lib -L$LMDGCM/../IOIPSL/lib" 9 # Exported 10 IOIPSL_INCDIR="-I$(pwd)/../IOIPSL/inc -I$(pwd)/../IOIPSL/lib" 11 IOIPSL_LIBDIR="-L$(pwd)/../IOIPSL/inc -L$(pwd)/../IOIPSL/lib" 14 12 IOIPSL_LIB="-lioipsl" 15 13 16 XIOS_INCDIR="-I$LMDGCM/../XIOS/inc" 17 XIOS_LIBDIR="-L$LMDGCM/../XIOS/lib" 14 # Exported 15 XIOS_INCDIR="-I$(pwd)/../XIOS/inc" 16 XIOS_LIBDIR="-L$(pwd)/../XIOS/lib" 18 17 XIOS_LIB="-lxios -lstdc++" 19 18 20 ORCH_INCDIR="-I$LMDGCM/../../lib" 21 ORCH_LIBDIR="-L$LMDGCM/../../lib" 22 ORCH_LIB= 23 24 OASIS_INCDIR="-I$LMDGCM/../../oasis3-mct/BLD/build/lib/psmile.MPI1" 25 OASIS_LIBDIR="-L$LMDGCM/../../oasis3-mct/BLD/lib" 26 OASIS_LIB="-lpsmile.MPI1 -lscrip -lmct -lmpeu" 27 28 INCA_INCDIR="-I$LMDGCM/../INCA/build/inc" 29 INCA_LIBDIR="-L$LMDGCM/../INCA/build/lib" 30 INCA_LIB="-lchimie" 19 # Exported 20 ORCH_INCDIR="-I$(pwd)/../ORCHIDEE/inc -I$(pwd)/../ORCHIDEE/lib" 21 ORCH_LIBDIR="-L$(pwd)/../ORCHIDEE/inc -L$(pwd)/../ORCHIDEE/lib"
Note: See TracChangeset
for help on using the changeset viewer.