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

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

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


Revision 1.3 - (hide 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 mlosch 1.1 Example: "4x4 Global Simulation with Seasonal Forcing"
2 jmc 1.2 ============================================
3     (see also similar set-up in: verification/tutorial_global_oce_latlon/)
4    
5     From verification/global_ocean.90x40x15 dir:
6 mlosch 1.1
7     Configure and compile the code:
8 jmc 1.2 cd build
9 jmc 1.3 ../../../tools/genmake2 -mods ../code [-of my_platform_optionFile]
10 jmc 1.2 [make Clean]
11 mlosch 1.1 make depend
12     make
13 jmc 1.2 cd ..
14 jmc 1.3
15     To run:
16     cd run
17     ln -s ../input/* .
18     ../input/prepare_run
19     ln -s ../build/mitgcmuv .
20     ./mitgcmuv > output.txt
21 jmc 1.2 cd ..
22 mlosch 1.1
23 jmc 1.3 There is comparison output in the directory:
24     results/output.txt
25    
26 mlosch 1.1 There is comparison output in directory:
27 jmc 1.2 (verification/global_ocean.90x40x1/) results
28 mlosch 1.1
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 jmc 1.2 - a matlab script is provided that created the surface flux data files from
33 mlosch 1.1 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 jmc 1.2 verification/tutorial_global_oce_latlon/diags_matlab:
38 mlosch 1.1 - 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 jmc 1.2 --------------------------------------------
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