| 1 | ### MESO_INSTALL.sh |
|---|
| 2 | |
|---|
| 3 | svn checkout http://svn.lmd.jussieu.fr/Planeto/trunk/MESOSCALE/LMD_MM_MARS/SIMU meso_install |
|---|
| 4 | chmod +x meso_install/meso_install.sh |
|---|
| 5 | meso_install/meso_install.sh -h |
|---|
| 6 | |
|---|
| 7 | ----------------- |
|---|
| 8 | -- set NETCDF and WHERE_MPI variables -- |
|---|
| 9 | -- in env file -- |
|---|
| 10 | |
|---|
| 11 | module purge |
|---|
| 12 | module load openmpi/1.6.5-ifort |
|---|
| 13 | module load netcdf4/4.3.3.1-ifort |
|---|
| 14 | declare -x NETCDF=/opt/netcdf/ifort |
|---|
| 15 | declare -x WHERE_MPI=/usr/lib64/openmpi/1.4.3-ifort/bin/ |
|---|
| 16 | |
|---|
| 17 | ----------------- |
|---|
| 18 | |
|---|
| 19 | |
|---|
| 20 | meso_install/meso_install.sh -v HEAD -n 2020_TEST |
|---|
| 21 | |
|---|
| 22 | |
|---|
| 23 | |
|---|
| 24 | |
|---|
| 25 | |
|---|
| 26 | |
|---|
| 27 | |
|---|
| 28 | |
|---|
| 29 | |
|---|
| 30 | |
|---|
| 31 | |
|---|
| 32 | |
|---|
| 33 | |
|---|
| 34 | |
|---|
| 35 | ######################## old notes |
|---|
| 36 | |
|---|
| 37 | ## WHAT NEEDS TO BE DONE / CHECKED |
|---|
| 38 | |
|---|
| 39 | This folder can be downloaded with |
|---|
| 40 | svn export http://svn.lmd.jussieu.fr/Planeto/trunk/MESOSCALE/LMD_MM_MARS/SIMU/MESORUN |
|---|
| 41 | |
|---|
| 42 | -- check all the links are OK, link the code or download it with |
|---|
| 43 | svn co -N http://svn.lmd.jussieu.fr/Planeto/trunk code |
|---|
| 44 | svn update LMDZ.MARS LMDZ.COMMON MESOSCALE |
|---|
| 45 | |
|---|
| 46 | -- check the LMD GCM is compiled |
|---|
| 47 | cd code/LMDZ.COMMON |
|---|
| 48 | check arch (if needed compile IOIPSL) then |
|---|
| 49 | ./makelmdz_fcm -cpp MESOINI -j 8 -s 2 -d 64x48x35 -arch CICLADifort -parallel mpi -p mars gcm |
|---|
| 50 | |
|---|
| 51 | -- compile mesoscale |
|---|
| 52 | cd code/MESOSCALE/LMD_MM_MARS |
|---|
| 53 | makemeso -p |
|---|
| 54 | |
|---|
| 55 | -- compile ini stuff (do it once mesoscale is compiled) |
|---|
| 56 | cd code_compiled |
|---|
| 57 | ln -sf ../SRC/SCRIPTS/prepare_ini |
|---|
| 58 | ./prepare_ini |
|---|
| 59 | cd PREP_MARS |
|---|
| 60 | compile_ifort |
|---|
| 61 | cd WPS |
|---|
| 62 | configure |
|---|
| 63 | compile |
|---|
| 64 | |
|---|
| 65 | -- get static data in http://data.spiga.fr/mesoscale_model/STATIC_DATA/ |
|---|
| 66 | and extract them in code/MESOSCALE/LMD_MM_MARS/WPS_GEOG |
|---|
| 67 | |
|---|
| 68 | ## ADVICE |
|---|
| 69 | |
|---|
| 70 | If a GCM diagfi.nc is already available, |
|---|
| 71 | - simply put it in the gcm folder and skip the GCM running part |
|---|
| 72 | - cd to prep and execute |
|---|
| 73 | echo 1 | create_readmeteo.exe |
|---|
| 74 | readmeteo.exe < readmeteo.def |
|---|
| 75 | |
|---|
| 76 | ### NOTES |
|---|
| 77 | |
|---|
| 78 | 1. install folder with meso_install (and change dim in GCM) |
|---|
| 79 | 2. modify settings (in run.def) |
|---|
| 80 | 3. define domain |
|---|
| 81 | 4. prepare starts for gcm or at least ensure vertical levels are compliant |
|---|
| 82 | then launch |
|---|
| 83 | |
|---|