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 cNN.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 ( On Alpha machine) |
|
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 |
41 |
make |
make |
42 |
|
|
43 |
5. Copy input files |
5. Copy input files |
44 |
cp ../verification/exp2/[a-z]* . |
cp ../verification/exp2/[a-z]* ../verification/exp2/*bin . |
45 |
|
|
46 |
6. Run baseline test case |
6. Run baseline test case |
47 |
setenv PARALLEL 1 |
setenv PARALLEL 1 |
48 |
../exe/mitgcmuv |
dmpirun -np 2 ../exe/mitgcmuv ( Under Digital UNIX ) |
49 |
|
mpirun.p4shmem ../exe/mitgcmuv -np 2 ( Under Solaris + mpich) |
50 |
|
|
51 |
|
|
52 |
This runs a 4 degree global ocean climatological simulation. |
This runs a 4 degree global ocean climatological simulation. |
53 |
By default this code is set to use two porcessors splitting |
By default this code is set to use two processors splitting |
54 |
the model domain along the equator. Textual output is written |
the model domain along the equator. Textual output is written |
55 |
to files STDOUT.* and STDERR.* with one file for each process. |
to files STDOUT.* and STDERR.* with one file for each process. |
56 |
Model fileds are written to files suffixed .data and .meta |
Model fileds are written to files suffixed .data and .meta |
57 |
These files are written on a per process basis. The .meta |
These files are written on a per process basis. The .meta |
58 |
file indicates the location and shape of the subdomain in |
file indicates the location and shape of the subdomain in |
59 |
each .data file. |
each .data file. |
60 |
|
|
61 |
|
This 4 degree global ocean climatological simulation is the baseline |
62 |
|
configuration for the MITgcmUV code. The change files that |
63 |
|
convert the model to a different configuration in the |
64 |
|
verification directory all assume that the model is configured for |
65 |
|
the baseline case and change the model code accordingly. |
66 |
|
|
67 |
o Running |
o Running |
68 |
|
|
90 |
|
|
91 |
- Parallel execution. Hybrid |
- Parallel execution. Hybrid |
92 |
|
|
93 |
|
o Cutomising the code |
94 |
|
|
95 |
|
Model structure |
96 |
|
=============== |
97 |
|
The "numerical" model is contained within a execution |
98 |
|
environment support wrapper. This wrapper is designed |
99 |
|
to provide a general framework for grid-point models. |
100 |
|
MITgcmUV is a specific numerical model that uses the |
101 |
|
framework. |
102 |
|
Under this structure the model is split into |
103 |
|
execution environment support code and conventional |
104 |
|
numerical model code. The execution environment |
105 |
|
support code is held under the "eesupp" directory. |
106 |
|
The grid point model code is held under the |
107 |
|
"model" directory. |
108 |
|
Code execution actually starts in the eesupp |
109 |
|
routines and not in the model routines. For this |
110 |
|
reason the top level main.F is in the eesupp/src |
111 |
|
directory. End-users should not need to worry about |
112 |
|
this level. The top-level routine for the numerical |
113 |
|
part of the code is in model/src/the_model_main.F. |
114 |
|
|
115 |
|
|
116 |
o References |
o References |
117 |
Web sites - HP |
Web sites - HP |
118 |
for doc Digital |
for doc Digital |