1 |
jmc |
1.2 |
# $Header: $ |
2 |
|
|
# $Name: $ |
3 |
|
|
|
4 |
|
|
Tutorial Example: "Surface Driven (Deep) Convection" |
5 |
|
|
==================================================== |
6 |
|
|
(formerly "exp5" ; |
7 |
jmc |
1.1 |
also "nonhydrostatic_deep_convection" in release.1 branch) |
8 |
|
|
|
9 |
|
|
|
10 |
|
|
Configure and compile the code: |
11 |
|
|
cd build |
12 |
|
|
../../../tools/genmake2 -mods ../code [-of my_platform_optionFile] |
13 |
|
|
make depend |
14 |
|
|
make |
15 |
|
|
|
16 |
|
|
To run: |
17 |
jmc |
1.2 |
cd run |
18 |
jmc |
1.1 |
ln -s ../input/* . |
19 |
jmc |
1.2 |
ln -s ../build/mitgcmuv . |
20 |
jmc |
1.1 |
./mitgcmuv > output.txt |
21 |
|
|
|
22 |
|
|
There is comparison output in the directory: |
23 |
|
|
results/output.txt |
24 |
|
|
|
25 |
|
|
Comments: |
26 |
|
|
The input data is real*8 and generated using the MATLAB script |
27 |
jmc |
1.2 |
input/gendata.m |
28 |
jmc |
1.1 |
|