Index: trunk/LMDZ.COMMON/ioipsl/install_ioipsl_jeanzay.bash
===================================================================
--- trunk/LMDZ.COMMON/ioipsl/install_ioipsl_jeanzay.bash	(revision 2165)
+++ trunk/LMDZ.COMMON/ioipsl/install_ioipsl_jeanzay.bash	(revision 2165)
@@ -0,0 +1,39 @@
+#!/bin/bash
+# script to download and install the latest version of IOIPSL on occigen
+#
+
+#0. Preliminary stuff 
+module purge
+module load subversion
+module load intel-compilers/19.0.4
+module load intel-mpi/19.0.4
+module load intel-mkl/19.0.4
+module load hdf5/1.10.5/intel-19.0.4-mpi
+module load netcdf/4.7.0/intel-19.0.4-mpi
+module load netcdf-fortran/4.4.5/intel-19.0.4-mpi
+
+whereami=`pwd -P`
+
+# 1. Get IOIPSL (via modipsl)
+svn co http://forge.ipsl.jussieu.fr/igcmg/svn/modipsl/trunk modipsl
+cd modipsl/util
+
+./model IOIPSL_PLUS
+
+# 2. Set correct settings:
+# set default working precision for IOIPSL:
+./ins_make -t jeanzay -p I4R8
+
+## 3. build ioipsl:
+cd ../modeles/IOIPSL/src
+make
+## Compile the rebuild tool:
+cd ../tools
+make
+
+if [[ -f ${whereami}/modipsl/lib/libioipsl.a ]] 
+  then
+  echo "OK: ioipsl library is in ${whereami}/modipsl/lib"
+else
+  echo "Something went wrong..."
+fi
