44 |
cd MITgcm/verification |
cd MITgcm/verification |
45 |
./testreport -t lab_sea |
./testreport -t lab_sea |
46 |
|
|
|
To look at output using matlab: |
|
|
cd lab_sea/matlab |
|
|
matlab -nojvm -nosplash |
|
|
|
|
|
|
|
47 |
Note that fairly large differences in accuracy occur across different |
Note that fairly large differences in accuracy occur across different |
48 |
platforms. For example, testscript comparisons between g77 (Linux) |
platforms. For example, testscript comparisons between g77 (Linux) |
49 |
and f77 (SGI) generated output gives: |
and f77 (SGI) generated output gives: |
55 |
g d e n d n x n . n x n . n x n . n x n . |
g d e n d n x n . n x n . n x n . n x n . |
56 |
|
|
57 |
Y Y Y Y 8 10 9 11 10 9 11 13 10 9 8 8 9 8 9 8 9 FAIL lab_sea |
Y Y Y Y 8 10 9 11 10 9 11 13 10 9 8 8 9 8 9 8 9 FAIL lab_sea |
58 |
|
|
59 |
|
|
60 |
|
Instructions for generating 1-CPU and 2-CPU executables |
61 |
|
======================================================= |
62 |
|
|
63 |
|
Generating 1-CPU executable: |
64 |
|
cd MITgcm/verification/lab_sea |
65 |
|
mkdir build |
66 |
|
cd build |
67 |
|
../../../tools/genmake2 |
68 |
|
make clean |
69 |
|
make depend |
70 |
|
make |
71 |
|
mv mitgcmuv mitgcmuv_1 |
72 |
|
|
73 |
|
Generating 2-CPU executable: |
74 |
|
cd ../code |
75 |
|
\mv SIZE.h SIZE.h_1 |
76 |
|
\mv SIZE.h_mpi SIZE.h |
77 |
|
../../../tools/genmake2 -mpi |
78 |
|
make clean |
79 |
|
make depend |
80 |
|
make |
81 |
|
mv mitgcmuv mitgcmuv_2x1 |
82 |
|
|
83 |
|
|
84 |
|
Instructions for running Experiment 1 |
85 |
|
===================================== |
86 |
|
|
87 |
|
This is a 1-cpu, 10-hour integration used to make sure that all |
88 |
|
the files are available and that the sea-ice model compiles and |
89 |
|
runs. The reading of atmospheric forcing files and the computation |
90 |
|
of open-water bulk fluxes are carried out within pkg/seaice. |
91 |
|
|
92 |
|
To run Experiment 1: |
93 |
|
cd ../input |
94 |
|
./mitgcmuv_1 >&! output.txt |
95 |
|
|
96 |
|
Use matlab script lookat_exp1.m to compare the output |
97 |
|
of exp1 with that from checkpoint51f sea-ice code: |
98 |
|
cd ../../../verification/lab_sea/matlab |
99 |
|
matlab |
100 |
|
lookat_ice |
101 |
|
|
102 |
|
|
103 |
|
Instructions for running Experiment 2 |
104 |
|
===================================== |
105 |
|
|
106 |
|
This is a 2-cpu, 10-hour integration. |
107 |
|
|
108 |
|
To run Experiment 2: |
109 |
|
cd ../../../verification/lab_sea/input |
110 |
|
mpirun -np 2 mitgcmuv_2x1 |