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

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

Common dynamics:
Add scripts and arch files to use the GCM with the PGI compiler on the Jean-Zay supercomputer.
EM

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