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