|
Last change
on this file since 261 was
140,
checked in by slebonnois, 15 years ago
|
|
SL: petit ajout de commentaires pour aider a installer IOIPSL quand on recupere le GCM.
|
-
Property svn:executable set to
*
|
|
File size:
848 bytes
|
| Line | |
|---|
| 1 | #!/bin/bash |
|---|
| 2 | # |
|---|
| 3 | # Aymeric: pour construire IOIPSL [adapte de get_lmdz_ciclad_pgf90.bash] |
|---|
| 4 | # |
|---|
| 5 | |
|---|
| 6 | # ADVICE: copy the [GCMdir]/LMDZ.COMMON/ioipsl directory |
|---|
| 7 | # to [GCMdir]/ioipsl to get it out of svn |
|---|
| 8 | # then go to [GCMdir]/ioipsl before doing all the following commands. |
|---|
| 9 | |
|---|
| 10 | rm -rf lib |
|---|
| 11 | mkdir lib |
|---|
| 12 | mkdir modeles |
|---|
| 13 | |
|---|
| 14 | ### 1. Get IOIPSL (via modipsl) and compile it |
|---|
| 15 | cd util |
|---|
| 16 | ## get IOIPSL |
|---|
| 17 | ./model IOIPSL |
|---|
| 18 | |
|---|
| 19 | ## 2. Set correct settings |
|---|
| 20 | # modify path to netcdf in 'AA_make.gdef' |
|---|
| 21 | cp AA_make.gdef AA_make.gdef.old |
|---|
| 22 | sed -e s:"linux NCDF_INC = /distrib/local/netcdf/pgf/include/":"linux NCDF_INC = /opt/netcdf/pgf/include/":1 \ |
|---|
| 23 | -e s:"linux NCDF_LIB = -L/distrib/local/netcdf/pgf/lib/":"linux NCDF_LIB = -L/opt/netcdf/pgf/lib/":1 \ |
|---|
| 24 | AA_make.gdef.old > AA_make.gdef |
|---|
| 25 | ins_make -t linux -p I4R8 |
|---|
| 26 | ## 3. build ioipsl: |
|---|
| 27 | cd ../modeles/IOIPSL/src |
|---|
| 28 | make |
|---|
| 29 | |
|---|
| 30 | rm -rf modeles |
|---|
| 31 | |
|---|
| 32 | exit |
|---|
Note: See
TracBrowser
for help on using the repository browser.