source: trunk/MESOSCALE/LMD_MM_MARS/copy_model @ 144

Last change on this file since 144 was 50, checked in by aslmd, 14 years ago

LMD_MM_MARS: MAJ script - compilation physique liee directement au GCM fonctionne - run demarre (mais s arrete a cause du nombre des traceurs)

  • Property svn:executable set to *
File size: 4.7 KB
Line 
1#! /bin/bash
2
3
4echo '*** linking sources from ...'
5WRFSRC=$PWD/SRC/
6echo $WRFSRC
7echo '*** to ...'
8HERE=$PWD
9echo $HERE
10
11
12#mkdir WPS
13#cd WPS
14#ln -sf $WRFSRC/WPS/wps_mars .
15#ln -sf $WRFSRC/WPS/switch_WPS_Mars .
16#cd ..
17
18mkdir WRFV2
19cd WRFV2
20
21echo '*** start defining folders and links'
22ln -sf $WRFSRC/WRFV2/clean .
23ln -sf $WRFSRC/WRFV2/compile .
24#ln -sf $WRFSRC/WRFV2/makemeso .
25ln -sf $WRFSRC/WRFV2/configure .
26ln -sf $WRFSRC/WRFV2/Makefile .
27ln -sf $WRFSRC/WRFV2/mars.sed* .
28ln -sf $WRFSRC/WRFV2/*.h .
29ln -sf $WRFSRC/WRFV2/configure.defaults.* .
30ln -sf $WRFSRC/WRFV2/call_meso_inifis?.inc .
31ln -sf $WRFSRC/WRFV2/call_meso_physiq?.inc .
32
33#\rm meso_dimphys.h
34#cp $WRFSRC/WRFV2/meso_dimphys.h .
35#cp $WRFSRC/WRFV2/call_*.inc .
36#cp $WRFSRC/WRFV2/custom*.inc .
37mkdir Registry
38ln -sf $WRFSRC/WRFV2/Registry/* Registry/
39mkdir arch
40ln -sf $WRFSRC/WRFV2/arch/* arch/
41mkdir dyn_em
42ln -sf $WRFSRC/WRFV2/dyn_em/* dyn_em/
43mkdir dyn_exp
44ln -sf $WRFSRC/WRFV2/dyn_exp/* dyn_exp/
45mkdir dyn_nmm
46ln -sf $WRFSRC/WRFV2/dyn_nmm/* dyn_nmm/
47mkdir frame
48ln -sf $WRFSRC/WRFV2/frame/* frame/
49mkdir inc
50ln -sf $WRFSRC/WRFV2/inc/* inc/
51mkdir main
52ln -sf $WRFSRC/WRFV2/main/* main/
53mkdir phys
54ln -sf $WRFSRC/WRFV2/phys/* phys/
55mkdir run
56ln -sf $WRFSRC/WRFV2/run/* run/
57mkdir share
58ln -sf $WRFSRC/WRFV2/share/* share/
59mkdir tools
60ln -sf $WRFSRC/WRFV2/tools/* tools/
61\rm tools/DOMAIN_TIME_TEST
62\rm tools/CodeBase
63mkdir tools/DOMAIN_TIME_TEST
64ln -sf $WRFSRC/WRFV2/tools/DOMAIN_TIME_TEST/* tools/DOMAIN_TIME_TEST/
65mkdir tools/CodeBase
66ln -sf $WRFSRC/WRFV2/tools/CodeBase/* tools/CodeBase/
67mkdir external
68ln -sf $WRFSRC/WRFV2/external/Makefile external/
69mkdir external/io_int
70ln -sf $WRFSRC/WRFV2/external/io_int/* external/io_int/
71mkdir external/esmf_time_f90
72ln -sf $WRFSRC/WRFV2/external/esmf_time_f90/* external/esmf_time_f90/
73mkdir external/io_netcdf
74ln -sf $WRFSRC/WRFV2/external/io_netcdf/* external/io_netcdf/
75mkdir external/io_grib1
76ln -sf $WRFSRC/WRFV2/external/io_grib1/* external/io_grib1/
77\rm external/io_grib1/MEL_grib1
78\rm external/io_grib1/WGRIB
79\rm external/io_grib1/build
80\rm external/io_grib1/grib1_util
81mkdir external/io_grib1/MEL_grib1
82ln -sf $WRFSRC/WRFV2/external/io_grib1/MEL_grib1/* external/io_grib1/MEL_grib1/
83mkdir external/io_grib1/WGRIB
84ln -sf $WRFSRC/WRFV2/external/io_grib1/WGRIB/* external/io_grib1/WGRIB/
85mkdir external/io_grib1/grib1_util
86ln -sf $WRFSRC/WRFV2/external/io_grib1/grib1_util/* external/io_grib1/grib1_util/
87mkdir external/io_grib1/build
88mkdir external/io_grib_share
89ln -sf $WRFSRC/WRFV2/external/io_grib_share/* external/io_grib_share/
90\rm external/io_grib_share/build
91mkdir external/io_grib_share/build
92ln -sf $WRFSRC/WRFV2/external/io_grib_share/build/* external/io_grib_share/build/
93mkdir external/ioapi_share
94ln -sf $WRFSRC/WRFV2/external/ioapi_share/* external/ioapi_share/
95mkdir external/io_phdf5
96ln -sf $WRFSRC/WRFV2/external/io_phdf5/* external/io_phdf5/
97mkdir external/RSL_LITE
98ln -sf $WRFSRC/WRFV2/external/RSL_LITE/* external/RSL_LITE/
99mkdir external/io_grib2
100ln -sf $WRFSRC/WRFV2/external/io_grib2/* external/io_grib2/
101\rm external/io_grib2/bacio-1.3
102\rm external/io_grib2/g2lib
103mkdir external/io_grib2/bacio-1.3
104ln -sf $WRFSRC/WRFV2/external/io_grib2/bacio-1.3/* external/io_grib2/bacio-1.3/
105mkdir external/io_grib2/g2lib
106ln -sf $WRFSRC/WRFV2/external/io_grib2/g2lib/* external/io_grib2/g2lib/
107mkdir external/io_pnetcdf
108ln -sf $WRFSRC/WRFV2/external/io_pnetcdf/* external/io_pnetcdf/
109mkdir external/RSL
110ln -sf $WRFSRC/WRFV2/external/RSL/* external/RSL/
111\rm external/RSL/RSL
112mkdir external/RSL/RSL
113ln -sf $WRFSRC/WRFV2/external/RSL/RSL/* external/RSL/RSL/
114mkdir external/io_esmf
115ln -sf $WRFSRC/WRFV2/external/io_esmf/* external/io_esmf/
116mkdir external/io_mcel
117ln -sf $WRFSRC/WRFV2/external/io_mcel/* external/io_mcel/
118mkdir mars_lmd
119mkdir mars_lmd/libf
120ln -sf $WRFSRC/WRFV2/mars_lmd/makegcm* mars_lmd/
121ln -sf $WRFSRC/WRFV2/mars_lmd/create_make_gcm mars_lmd/
122#ln -sf $WRFSRC/WRFV2/mars_lmd/makefile mars_lmd/
123ln -sf $WRFSRC/WRFV2/mars_lmd/libf/duplicate* mars_lmd/libf/
124ln -sf $WRFSRC/WRFV2/mars_lmd/libf/generate* mars_lmd/libf/
125
126mkdir mars_lmd/libf/grid
127ln -sf $WRFSRC/WRFV2/mars_lmd/libf/grid/* mars_lmd/libf/grid/
128mkdir mars_lmd/libf/phymars
129ln -sf $WRFSRC/WRFV2/mars_lmd/libf/phymars/* mars_lmd/libf/phymars/
130mkdir mars_lmd/libf/dyn3d
131ln -sf $WRFSRC/WRFV2/mars_lmd/libf/dyn3d/* mars_lmd/libf/dyn3d/
132mkdir mars_lmd/libf/aeronomars
133ln -sf $WRFSRC/WRFV2/mars_lmd/libf/aeronomars/* mars_lmd/libf/aeronomars/
134mkdir mars_lmd/libf/bibio
135ln -sf $WRFSRC/WRFV2/mars_lmd/libf/bibio/* mars_lmd/libf/bibio/
136mkdir mars_lmd/libo
137#touch mars_lmd/makefile
138
139mkdir test
140mkdir test/em_real
141mkdir test/em_quarter_ss
142ln -sf $WRFSRC/WRFV2/test/em_real/* test/em_real/
143
144cd mars_lmd/libf/phymars/
145\rm dimphys.h
146#ln -sf ../../../meso_dimphys.h dimphys.h
147cd ../../..
148
149echo '*** end'
150
151
152
153
Note: See TracBrowser for help on using the repository browser.