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

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

Common dynamics:
Update scripts and environment following updates on the Jean Zay supercomputer.
EM

  • Property svn:executable set to *
File size: 781 bytes
Line 
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-all/19.0.4
9module load hdf5/1.10.5-mpi
10module load netcdf/4.7.2-mpi
11module load netcdf-fortran/4.5.2-mpi
12
13
14whereami=`pwd -P`
15
16# 1. Get IOIPSL (via modipsl)
17svn co http://forge.ipsl.jussieu.fr/igcmg/svn/modipsl/trunk modipsl
18cd modipsl/util
19
20./model IOIPSL_PLUS
21
22# 2. Set correct settings:
23# set default working precision for IOIPSL:
24./ins_make -t jeanzay -p I4R8
25
26## 3. build ioipsl:
27cd ../modeles/IOIPSL/src
28make
29## Compile the rebuild tool:
30cd ../tools
31make
32
33if [[ -f ${whereami}/modipsl/lib/libioipsl.a ]] 
34  then
35  echo "OK: ioipsl library is in ${whereami}/modipsl/lib"
36else
37  echo "Something went wrong..."
38fi
Note: See TracBrowser for help on using the repository browser.