source: trunk/MESOSCALE/LMD_MM_MARS/SRC/copy_model @ 207

Last change on this file since 207 was 207, checked in by aslmd, 13 years ago

MESOSCALE: A GENERAL CLEAN-UP FOLLOWING UPDATING THE USER MANUAL. EVERYTHING ESSENTIAL IS IN MESOSCALE (much lighter than before). EVERYTHING FOR DEVELOPPERS OR EXPERTS IS IN MESOSCALE_DEV.

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