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 |
---|
6 | module purge |
---|
7 | module load subversion |
---|
8 | module load intel-all/19.0.4 |
---|
9 | module load hdf5/1.10.5-mpi |
---|
10 | module load netcdf/4.7.2-mpi |
---|
11 | module load netcdf-fortran/4.5.2-mpi |
---|
12 | |
---|
13 | |
---|
14 | whereami=`pwd -P` |
---|
15 | |
---|
16 | # 1. Get IOIPSL (via modipsl) |
---|
17 | svn co http://forge.ipsl.jussieu.fr/igcmg/svn/modipsl/trunk modipsl |
---|
18 | cd 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: |
---|
27 | cd ../modeles/IOIPSL/src |
---|
28 | make |
---|
29 | ## Compile the rebuild tool: |
---|
30 | cd ../tools |
---|
31 | make |
---|
32 | |
---|
33 | if [[ -f ${whereami}/modipsl/lib/libioipsl.a ]] |
---|
34 | then |
---|
35 | echo "OK: ioipsl library is in ${whereami}/modipsl/lib" |
---|
36 | else |
---|
37 | echo "Something went wrong..." |
---|
38 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.