source: trunk/MESOSCALE/LMD_MM_MARS/prepare @ 155

Last change on this file since 155 was 26, checked in by aslmd, 14 years ago

spiga:mineur - ajout des fichiers def mesoscale + save POSTPROC

  • Property svn:executable set to *
File size: 1.9 KB
Line 
1#! /bin/bash
2
3#---------------------------------------#
4# A script to install the model         #
5#---------------------------------------#
6# Author: Aymeric Spiga - November 2008 #
7#---------------------------------------#
8
9
10touch download_log
11
12mkdir SRC
13cd SRC/
14
15mv ../g95.tar.gz .
16mv ../mac.tar.gz .
17mv ../datesave .
18mv ../saved .
19mv ../INIT_SIMPLE_TEST.tar.gz .
20mv ../POSTPROC.tar.gz .
21
22echo 1/8 get WRF sources
23wget http://www.mmm.ucar.edu/wrf/src/WRFV2.2.TAR.gz . >> ../download_log 2>> ../download_log
24tar xzvf WRFV2.2.TAR.gz > /dev/null
25\rm WRFV2.2.TAR.gz
26## patch
27wget http://www.mmm.ucar.edu/wrf/src/fix/rsl_bcast.c . >> ../download_log 2>> ../download_log
28mv -f rsl_bcast.c WRFV2/external/RSL_LITE/
29wget http://www.mmm.ucar.edu/wrf/src/fix/solve_em.F.fix . >> ../download_log 2>> ../download_log
30mv -f solve_em.F.fix WRFV2/dyn_em/solve_em.F
31## patch
32
33echo 2/8 get WPS sources
34wget wget http://www.mmm.ucar.edu/wrf/src/WPSV2.2.TAR.gz . >> ../download_log 2>> ../download_log
35tar xzvf WPSV2.2.TAR.gz > /dev/null
36\rm WPSV2.2.TAR.gz
37
38echo 3/8 get WRF modified Martian sources
39mv ../sources_Mars.tar.gz .
40tar xzvf sources_Mars.tar.gz > /dev/null
41cp -rf save/* WRFV2/
42\rm -rf save
43\rm sources_Mars.tar.gz
44
45echo 4/8 get WPS modified Martian sources
46mv ../WPS.tar.gz .
47tar xzvf WPS.tar.gz > /dev/null
48cd WPS
49#cp -f /donnees/aslmd/WRF/SRC/WPS/wps_mars/switch_WPS_Mars .
50./switch_WPS_Mars
51cd ..
52\rm WPS.tar.gz
53
54echo 5/8 get ARWpost for Mars
55mv ../ARWpost.tar.gz .
56tar xzvf ARWpost.tar.gz > /dev/null
57\rm ARWpost.tar.gz
58
59echo 6/8 get PREP_MARS
60mv ../PREP_MARS.tar.gz .
61tar xzvf PREP_MARS.tar.gz > /dev/null
62\rm PREP_MARS.tar.gz
63
64cd ..
65
66echo 7/8 get surface data utilities
67tar xzvf WPS_GEOG.tar.gz > /dev/null
68wget http://web.lmd.jussieu.fr/~forget/datagcm/datafile/dust_tes.nc . >> ./download_log 2>> ./download_log
69mv dust_tes.nc WPS_GEOG/
70\rm WPS_GEOG.tar.gz
71
72echo 8/8 get run utilies
73tar xzvf SIMU.tar.gz > /dev/null
74\rm SIMU.tar.gz
75
76echo ok
Note: See TracBrowser for help on using the repository browser.