/[MITgcm]/MITgcm/verification/global_ocean.90x40x15/README
ViewVC logotype

Contents of /MITgcm/verification/global_ocean.90x40x15/README

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download)
Mon Mar 10 01:35:16 2014 UTC (10 years, 1 month ago) by jmc
Branch: MAIN
Changes since 1.2: +11 -6 lines
update the intructions on how to run (in dir "run" instead of in "build"
 or "input" or elsewhere)

1 Example: "4x4 Global Simulation with Seasonal Forcing"
2 ============================================
3 (see also similar set-up in: verification/tutorial_global_oce_latlon/)
4
5 From verification/global_ocean.90x40x15 dir:
6
7 Configure and compile the code:
8 cd build
9 ../../../tools/genmake2 -mods ../code [-of my_platform_optionFile]
10 [make Clean]
11 make depend
12 make
13 cd ..
14
15 To run:
16 cd run
17 ln -s ../input/* .
18 ../input/prepare_run
19 ln -s ../build/mitgcmuv .
20 ./mitgcmuv > output.txt
21 cd ..
22
23 There is comparison output in the directory:
24 results/output.txt
25
26 There is comparison output in directory:
27 (verification/global_ocean.90x40x1/) results
28
29 Comments:
30 o The input data is real*4.
31 o The surface fluxes are derived from monthly means of the NCEP climatology;
32 - a matlab script is provided that created the surface flux data files from
33 the original NCEP data: ncep2global_ocean.m in the diags_matlab directory,
34 needs editing to adjust search paths.
35 o matlab scripts that make a simple diagnostic (barotropic stream function,
36 overturning stream functions, averaged hydrography etc.) is provided in
37 verification/tutorial_global_oce_latlon/diags_matlab:
38 - mit_loadglobal is the toplevel script that run all other scripts
39 - mit_globalmovie animates theta, salinity, and 3D-velocity field for
40 a layer "iz", if "meanfields=0"
41
42 --------------------------------------------
43 Additional example:
44 similar set-up, with the same executable, and using pkg/dwnslp:
45 to run this 2nd example:
46 cd input.dwnslp
47 ln -s ../input/* .
48 ../input/prepare_run
49 ../build/mitgcmuv > output.dwnslp.txt
50 cd ..
51
52 ============================================
53 Adjoint set-up example:
54
55 Configure and compile the code:
56 cd build
57 ../../../tools/genmake2 -mods='../code_ad'
58 [make Clean]
59 make depend
60 make adall
61 cd ..
62 To run the code:
63 cd input_ad
64 ./prepare_run
65 ../build/mitgcmuv_ad > output_adm.txt
66 cd ..

  ViewVC Help
Powered by ViewVC 1.1.22