1 |
jmc |
1.1 |
C $Header: $ |
2 |
|
|
C $Name: $ |
3 |
|
|
|
4 |
|
|
MITgcm_contrib/verification_other/atm_gray/ |
5 |
|
|
|
6 |
|
|
Provide source code and input files for 2 simple sep-up, |
7 |
|
|
using atmospheric gray physics (ref ?) and imposed SST. |
8 |
|
|
|
9 |
|
|
for now, use modified (and original) "mypackage" src code |
10 |
|
|
and atmospheric gray physics code in dir atm_gray/code_gray |
11 |
|
|
|
12 |
|
|
1) cubed-sphere set-up (6 faces 32x32, 25 levels, deltaP = 40.mb) |
13 |
|
|
atm_gray/code_cs/ : specific code |
14 |
|
|
atm_gray/inp_cs/ : input files (+ uses script "prepare_run" in inp_cs) |
15 |
|
|
atm_gray/results/output.cs.txt : standard output of a short reference run |
16 |
|
|
|
17 |
|
|
2) lat-lon grid set-up (128x64 horiz grid, 25 levels |
18 |
|
|
<-> 2.8 x 2.8 degree, deltaP = 40.mb) |
19 |
|
|
atm_gray/code_ll/ : specific code |
20 |
|
|
atm_gray/inp_ll/ : input files |
21 |
|
|
atm_gray/results/output.ll.txt : standard output of a short reference run |
22 |
|
|
|
23 |
|
|
-------------- |
24 |
|
|
Instructions: |
25 |
|
|
-------------- |
26 |
|
|
Download MITgcm (including verification experiments) from MITgcm repository |
27 |
|
|
<my_dir_space> cvs co -P -d MITgcm_current MITgcm |
28 |
|
|
and download "atm_gray" set-up from MITgcm_contrib repository, |
29 |
|
|
a) either directly in dir verification |
30 |
|
|
<my_dir_space> cd MITgcm_current/verification |
31 |
|
|
<verification> cvs co -P -d atm_gray MITgcm_contrib/verification_other/atm_gray |
32 |
|
|
or b) in a similar level in the directory tree, e.g., in verification_other in MITgcm_current: |
33 |
|
|
<my_dir_space> cd MITgcm_current |
34 |
|
|
<MITgcm_current> mkdir verification_other ; cd verification_other |
35 |
|
|
<verification_other> cvs co -P -d atm_gray MITgcm_contrib/verification_other/atm_gray |
36 |
|
|
|
37 |
|
|
to built and run CS-32 set-up: |
38 |
|
|
> cd atm_gray/build |
39 |
|
|
> (if done after a previous built, do "make Clean" first) |
40 |
|
|
> ../../../tools/genmake2 -mods ../code_cs -of ../../../tools/build_options/[Selected-Option-File] |
41 |
|
|
> make depend |
42 |
|
|
> make |
43 |
|
|
> cd ../run |
44 |
|
|
> (if done after a previous run, clean-up all files: /bin/rm -f * ) |
45 |
|
|
> ln -s ../inp_cs/* . |
46 |
|
|
> ../inp_cs/prepare_run |
47 |
|
|
> ln -s ../build/mitgcmuv . |
48 |
|
|
> mitgcmuv >& output.txt |
49 |
|
|
and output.txt can be compared with atm_gray/results/output.cs.txt |
50 |
|
|
|
51 |
|
|
to built and run Lat-Lon set-up: |
52 |
|
|
> cd atm_gray/build |
53 |
|
|
> (if done after a previous built, do "make Clean" first) |
54 |
|
|
> ../../../tools/genmake2 -mods ../code_ll -of ../../../tools/build_options/[Selected-Option-File] |
55 |
|
|
> make depend |
56 |
|
|
> make |
57 |
|
|
> cd ../run |
58 |
|
|
> (if done after a previous run, clean-up all files: /bin/rm -f * ) |
59 |
|
|
> ln -s ../inp_ll/* . |
60 |
|
|
> ln -s ../build/mitgcmuv . |
61 |
|
|
> mitgcmuv >& output.txt |
62 |
|
|
and output.txt can be compared with atm_gray/results/output.ll.txt |
63 |
|
|
|
64 |
|
|
-------------- |