source: trunk/LMDZ.COMMON/ioipsl/install_ioipsl_jeanzay.bash @ 2165

Last change on this file since 2165 was 2165, checked in by emillour, 5 years ago

Some environment files for Jean Zay (new IDRIS supercomputer).
EM

  • Property svn:executable set to *
File size: 883 bytes
RevLine 
[2165]1#!/bin/bash
2# script to download and install the latest version of IOIPSL on occigen
3#
4
5#0. Preliminary stuff
6module purge
7module load subversion
8module load intel-compilers/19.0.4
9module load intel-mpi/19.0.4
10module load intel-mkl/19.0.4
11module load hdf5/1.10.5/intel-19.0.4-mpi
12module load netcdf/4.7.0/intel-19.0.4-mpi
13module load netcdf-fortran/4.4.5/intel-19.0.4-mpi
14
15whereami=`pwd -P`
16
17# 1. Get IOIPSL (via modipsl)
18svn co http://forge.ipsl.jussieu.fr/igcmg/svn/modipsl/trunk modipsl
19cd modipsl/util
20
21./model IOIPSL_PLUS
22
23# 2. Set correct settings:
24# set default working precision for IOIPSL:
25./ins_make -t jeanzay -p I4R8
26
27## 3. build ioipsl:
28cd ../modeles/IOIPSL/src
29make
30## Compile the rebuild tool:
31cd ../tools
32make
33
34if [[ -f ${whereami}/modipsl/lib/libioipsl.a ]] 
35  then
36  echo "OK: ioipsl library is in ${whereami}/modipsl/lib"
37else
38  echo "Something went wrong..."
39fi
Note: See TracBrowser for help on using the repository browser.