1 |
$Header$ |
$Header$ |
2 |
|
|
3 |
|
|
4 |
MITgcmUV Getting Started |
MITgcmUV Getting Started |
5 |
======================== |
======================== |
6 |
|
|
24 |
the steps below: |
the steps below: |
25 |
|
|
26 |
1. Extract MITgcmUV from the downloadable archive |
1. Extract MITgcmUV from the downloadable archive |
27 |
tar -xvf MITgcmUV.2.0.tar |
tar -xvf checkpoint12.tar |
28 |
|
|
29 |
2. Create platform specific make file |
2. Create platform specific make file |
30 |
For example on a Digital UNIX machine the script "genmake.dec" can |
For example on a Digital UNIX machine the script "genmake.dec" can |
31 |
be used as shown below |
be used as shown below |
32 |
|
|
33 |
cd MITgcmUV.2.0/tools |
cd bin |
34 |
genmake.dec |
../tools/genmake |
35 |
cd ../bin |
cp Makefile.alpha Makefile |
|
ln -s ../tools/Makefile.dec makefile |
|
36 |
|
|
37 |
3. Now create header file dependency entries |
3. Now create header file dependency entries |
38 |
make depend |
make depend |
39 |
|
|
40 |
4. Compile code |
4. Compile code |
41 |
make |
make |
42 |
|
|
43 |
|
5. Copy input files |
44 |
|
cp ../verification/exp2/[a-z]* ../verification/exp2/*bin . |
45 |
|
|
46 |
5. Run baseline test case |
6. Run baseline test case |
47 |
setenv PARALLEL 1 |
setenv PARALLEL 1 |
48 |
../exe/MITgcmUV.2.0 |
dmpirun -np 2 ../exe/mitgcmuv |
49 |
|
|
50 |
|
This runs a 4 degree global ocean climatological simulation. |
51 |
|
By default this code is set to use two porcessors splitting |
52 |
|
the model domain along the equator. Textual output is written |
53 |
|
to files STDOUT.* and STDERR.* with one file for each process. |
54 |
|
Model fileds are written to files suffixed .data and .meta |
55 |
|
These files are written on a per process basis. The .meta |
56 |
|
file indicates the location and shape of the subdomain in |
57 |
|
each .data file. |
58 |
|
|
59 |
o Running |
o Running |
60 |
|
|