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