source: trunk/MESOSCALE/LMD_MM_MARS/SIMU/MESORUN/readme @ 3567

Last change on this file since 3567 was 2236, checked in by aslmd, 5 years ago

meso_install: important that CWD is in PATH

File size: 1.9 KB
Line 
1### MESO_INSTALL.sh
2
3svn checkout http://svn.lmd.jussieu.fr/Planeto/trunk/MESOSCALE/LMD_MM_MARS/SIMU meso_install
4chmod +x meso_install/meso_install.sh
5meso_install/meso_install.sh -h
6
7-----------------
8-- set NETCDF and WHERE_MPI variables --
9-- in env file --
10
11module purge
12module load openmpi/1.6.5-ifort
13module load netcdf4/4.3.3.1-ifort
14declare -x WHERE_MPI=/usr/lib64/openmpi/1.6.5-ifort/bin/
15declare -x NETCDF=/opt/netcdf3/ifort
16declare -x NCDFLIB=$NETCDF/lib
17declare -x NCDFINC=$NETCDF/include
18
19-----------------
20
21-- also ensure that ./ is in your PATH !!!
22
23
24
25meso_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
42## WHAT NEEDS TO BE DONE / CHECKED
43
44This folder can be downloaded with
45svn 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
48svn co -N http://svn.lmd.jussieu.fr/Planeto/trunk code
49svn update LMDZ.MARS LMDZ.COMMON MESOSCALE
50
51-- check the LMD GCM is compiled
52cd code/LMDZ.COMMON
53check arch (if needed compile IOIPSL) then
54./makelmdz_fcm -cpp MESOINI -j 8 -s 2 -d 64x48x35 -arch CICLADifort -parallel mpi -p mars gcm
55
56-- compile mesoscale
57cd code/MESOSCALE/LMD_MM_MARS
58makemeso -p
59
60-- compile ini stuff (do it once mesoscale is compiled)
61cd code_compiled
62ln -sf ../SRC/SCRIPTS/prepare_ini
63./prepare_ini
64cd PREP_MARS
65compile_ifort
66cd WPS
67configure
68compile
69
70-- get static data in http://data.spiga.fr/mesoscale_model/STATIC_DATA/
71and extract them in code/MESOSCALE/LMD_MM_MARS/WPS_GEOG
72
73## ADVICE
74
75If 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
78echo 1 | create_readmeteo.exe
79readmeteo.exe < readmeteo.def
80
81### NOTES
82
831. install folder with meso_install (and change dim in GCM)
842. modify settings (in run.def)
853. define domain
864. prepare starts for gcm or at least ensure vertical levels are compliant
87then launch
88
Note: See TracBrowser for help on using the repository browser.