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