source: trunk/WRF.COMMON/WRFV3/LMD_LES_MARS_install @ 2757

Last change on this file since 2757 was 2371, checked in by aslmd, 4 years ago

Update LMD_LES_MARS_install: include option about check-dependency

  • Property svn:executable set to *
File size: 3.2 KB
Line 
1#! /bin/bash
2####
3#### A. Spiga -- 2010 --
4####
5
6
7\rm -rf WRFV2
8
9
10#
11## WRF modeling system software Version 3.0.1.1 (August 22, 2008)
12#
13
14wget --no-check-certificate http://www2.mmm.ucar.edu/wrf/src/WRFV3.0.1.1.TAR.gz
15tar xzvf WRFV3.0.1.1.TAR.gz
16\rm WRFV3.0.1.1.TAR.gz
17#mv WRFV3/* .
18#rmdir WRFV3
19
20  #### faking stuff for copy_model script
21  mv WRFV3 WRFV2
22  touch in_reality_this_is_WRFV3_but_is_named_WRFV2_for_continuity
23  cd WRFV2
24  ln -sf ../../WRFV2/mars_lmd .
25  ln -sf ../../WRFV2/mars_lmd_new .
26  ln -sf ../../WRFV2/venus_lmd_new .
27  ln -sf ../../WRFV2/generic_lmd_new .
28  ln -sf ../../WRFV2/titan_lmd_new .
29  ln -sf ../modif_mars .
30  ln -sf ../../WRFV2/*.h .
31  ln -sf ../../WRFV2/physics.sed .
32  cp ../../WRFV2/call_meso_inifis?.inc .
33  cp ../../WRFV2/call_meso_physiq?.inc .
34  touch configure.defaults.dummy
35  touch mars.sed.dummy
36  mkdir external/RSL
37  mkdir external/RSL/RSL
38  touch external/RSL/RSL.dummy
39  touch external/RSL/RSL/RSL.dummy
40
41#
42## Replacing Mars files
43#
44
45#tar xzvf LMD_LES_MARS_patches.tar.gz
46#mv LMD_LES_MARS_patches LMD_LES_MARS/modif_mars
47#cd LMD_LES_MARS
48#ln -sf ../LMD_LES_MARS_patches modif_mars
49
50#cd modif_mars
51#ln -sf ../../LMD_MM_MARS/SRC/WRFV2/phys/module_lmd_driver.F
52#cd ..
53cd arch
54ln -sf ../modif_mars/configure_new.defaults .
55cd ..
56
57cd dyn_em
58ln -sf ../modif_mars/module_big_step_utilities_em.F .
59ln -sf ../modif_mars/module_first_rk_step_part1.F .
60ln -sf ../modif_mars/module_first_rk_step_part2.F .
61ln -sf ../modif_mars/module_initialize_les.F .
62ln -sf ../modif_mars/solve_em.F .
63ln -sf ../modif_mars/module_em.F .
64ln -sf ../modif_mars/module_diffusion_em.F .
65ln -sf ../modif_mars/Makefile_dyn_em Makefile
66ln -sf ../modif_mars/module_init_utilities.F .
67cd ..
68
69cd frame
70ln -sf ../modif_mars/module_driver_constants.F .
71cd ..
72
73cd Registry
74ln -sf ../modif_mars/Registry.EM .
75ln -sf ../modif_mars/Registry.EM.newphys .
76ln -sf ../modif_mars/Registry.bash .
77cd ..
78
79cd phys
80ln -sf ../modif_mars/Makefile .
81ln -sf ../modif_mars/module_lmd_driver.F .
82ln -sf ../modif_mars/module_physics_addtendc.F .
83ln -sf ../modif_mars/module_physics_init.F .
84ln -sf ../modif_mars/module_lmd_driver.F.new .
85ln -sf ../modif_mars/dynphy_wrf_* .
86cd ..
87
88cd share
89ln -sf ../modif_mars/module_model_constants.F .
90cd ..
91
92
93ln -sf modif_mars/makeles .
94
95
96### create a fake directory
97mkdir -p mars_lmd/libf/phymars
98
99
100
101# M Lefevre: option -C makes things bad in some OS
102cd external
103sed 's/-C//g' esmf_time_f90/Makefile > zolbxs ; mv zolbxs esmf_time_f90/Makefile
104sed 's/-C//g' ioapi_share/makefile > zolbxs ; mv zolbxs ioapi_share/makefile
105sed 's/-C//g' io_esmf/makefile > zolbxs ; mv zolbxs io_esmf/makefile
106sed 's/-C//g' io_grib1/Makefile > zolbxs ; mv zolbxs io_grib1/Makefile
107sed 's/-C//g' io_grib2/Makefile > zolbxs ; mv zolbxs io_grib2/Makefile
108sed 's/-C//g' io_grib_share/Makefile > zolbxs ; mv zolbxs io_grib_share/Makefile
109sed 's/-C//g' io_int/makefile > zolbxs ; mv zolbxs io_int/makefile
110sed 's/-C//g' io_mcel/makefile > zolbxs ; mv zolbxs io_mcel/makefile
111sed 's/-C//g' io_netcdf/makefile > zolbxs ; mv zolbxs io_netcdf/makefile
112sed 's/-C//g' io_phdf5/Makefile > zolbxs ; mv zolbxs io_phdf5/Makefile
113sed 's/-C//g' io_pnetcdf/makefile > zolbxs ; mv zolbxs io_pnetcdf/makefile
114sed 's/-C//g' RSL_LITE/makefile > zolbxs ; mv zolbxs RSL_LITE/makefile
115cd ..
Note: See TracBrowser for help on using the repository browser.