1 | %%%%%%%%%%%%%%%%%%%%%%%%% |
---|
2 | % |
---|
3 | % Modeling Package |
---|
4 | % |
---|
5 | %%%%%%%%%%%%%%%%%%%%%%%%% |
---|
6 | |
---|
7 | [I] Installation (for a linux i686 computer with g77) : |
---|
8 | |
---|
9 | # 1 Copy the gzip tar file roms_package.tar.gz from the CDROM |
---|
10 | |
---|
11 | # 2 uncompress it (gunzip) and untar it (tar -xvf) |
---|
12 | |
---|
13 | # 3 log as root (su root) |
---|
14 | |
---|
15 | # 4 cd ~/Roms_tools/ and install xanim and ppm2fli for animations |
---|
16 | (rpm -ivh xanim-2.80.1-12.i386.rpm ; rpm -ivh ppm2fli-2.1-1.i386.rpm) |
---|
17 | |
---|
18 | # 5 (exit) |
---|
19 | |
---|
20 | # 6 cd ~/Roms_tools/Run |
---|
21 | |
---|
22 | # 7 run ./jobcomp to test model compilation |
---|
23 | |
---|
24 | [II] Model preparation |
---|
25 | |
---|
26 | # 8 launch matlab in ~/Roms_tools/Run |
---|
27 | |
---|
28 | # 9 run start in matlab (matlab paths) |
---|
29 | |
---|
30 | # 10 edit ~/Roms_tools/Preprocessing_tools/make_grid.m |
---|
31 | |
---|
32 | # 11 give the title, the grid file name, the r smoothing parameter |
---|
33 | (r=max(|grad H|/H)), the grid positions (lonmin, lonmax, latmin, latmax), |
---|
34 | the grid resolution (in degrees), and the minimum depth (hmin). |
---|
35 | |
---|
36 | # 12 run make_grid in matlab |
---|
37 | |
---|
38 | # 13 edit ~/Roms_tools/Preprocessing_tools/make_forcing.m |
---|
39 | |
---|
40 | # 14 give the title, the grid file name, and the forcing file name |
---|
41 | |
---|
42 | # 15 run make_forcing in matlab |
---|
43 | |
---|
44 | # 16 edit ~/Roms_tools/Preprocessing_tools/make_clim.m |
---|
45 | |
---|
46 | # 17 give the title, the grid file name, the forcing file name, |
---|
47 | the climatology file name, the initial file name, the objective analysis file name, |
---|
48 | the vertical grid parameters (theta_s=6.,theta_b=0.,hc=10.,N=32), |
---|
49 | the switches for open boundaries, the level of reference for geostrophy, |
---|
50 | and the day of initialisation. |
---|
51 | |
---|
52 | # 18 run make_clim in matlab |
---|
53 | |
---|
54 | # 19 edit ~/Roms_tools/Tides/make_tides.m |
---|
55 | |
---|
56 | # 20 run make_tides in matlab |
---|
57 | |
---|
58 | [III] Model compilation |
---|
59 | |
---|
60 | # 21 edit ~/Roms_tools/Run/param.h |
---|
61 | |
---|
62 | # 22 give the grid dimensions (Lm,Mm,N) |
---|
63 | |
---|
64 | # 23 edit ~/Roms_tools/Run/cppdefs.h |
---|
65 | |
---|
66 | # 24 activate the cpp keys corresponding to the different model options |
---|
67 | (attention to the opne boundaries: should be conform to make_clim.m) |
---|
68 | |
---|
69 | # 25 cd ~/Roms_tools/Run |
---|
70 | |
---|
71 | # 26 run ./jobcomp for compilation |
---|
72 | |
---|
73 | [IV] Model Run |
---|
74 | |
---|
75 | # 27 edit ~/Roms_tools/Run/roms.in to give the mdel run parameters (dt,ndtfast,etc..) |
---|
76 | |
---|
77 | # 28 run ./roms roms.in |
---|
78 | |
---|
79 | [V] Visualization |
---|
80 | |
---|
81 | # 29 run roms_gui in matlab |
---|
82 | |
---|
83 | [VI] Zooms |
---|
84 | |
---|
85 | # 30 run nestgui in matlab |
---|
86 | |
---|
87 | # 31 activate the cpp key AGRIF in cppdefs.h |
---|
88 | |
---|
89 | |
---|
90 | |
---|
91 | |
---|