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