36 |
high-resolution global cube-sphere domains are described |
high-resolution global cube-sphere domains are described |
37 |
in MITgcm_contrib/high_res_cube/README_ice. |
in MITgcm_contrib/high_res_cube/README_ice. |
38 |
|
|
|
|
|
39 |
Using testscript to test sea-ice code |
Using testscript to test sea-ice code |
40 |
===================================== |
===================================== |
41 |
|
|
42 |
Running the testscript experiment: |
Running the testscript experiment: |
43 |
cd MITgcm/verification |
cd MITgcm/verification |
44 |
./testreport -t lab_sea |
./testreport -t lab_sea [-of my_platform_optionFile] |
45 |
|
|
46 |
Note that fairly large differences in accuracy occur across different |
Note that fairly large differences in accuracy occur across different |
47 |
platforms. For example, testscript comparisons between g77 (Linux) |
platforms. For example, testscript comparisons between g77 (Linux) |
55 |
|
|
56 |
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 |
57 |
|
|
|
|
|
58 |
Instructions for generating and running a 1-CPU experiment |
Instructions for generating and running a 1-CPU experiment |
59 |
========================================================== |
========================================================== |
60 |
|
|
61 |
cd MITgcm/verification/lab_sea |
cd MITgcm/verification/lab_sea |
62 |
mkdir build |
|
63 |
|
Configure and compile the code: |
64 |
cd build |
cd build |
65 |
cp ../code/*.h ../code/packages.conf . |
../../../tools/genmake2 -mods ../code [-of my_platform_optionFile] |
|
../../../tools/genmake2 |
|
66 |
make depend |
make depend |
67 |
make |
make |
68 |
cd ../input |
cd .. |
69 |
../build/mitgcmuv > output.txt |
|
70 |
|
To run: |
71 |
|
cd run |
72 |
|
ln -s ../input/* . |
73 |
|
ln -s ../build/mitgcmuv . |
74 |
|
./mitgcmuv > output.txt |
75 |
|
cd .. |
76 |
|
|
77 |
|
There is comparison output in the directory: |
78 |
|
results/output.txt |
79 |
|
|
80 |
Use matlab script lookat_exp1.m to compare the output |
Use matlab script lookat_ice.m to compare the output |
81 |
of exp1 with that from checkpoint51f sea-ice code: |
with that from checkpoint51f sea-ice code: |
82 |
cd ../../../verification/lab_sea/matlab |
cd ../../../verification/lab_sea/matlab |
83 |
matlab |
matlab |
84 |
lookat_ice |
lookat_ice |
85 |
|
|
86 |
|
Instructions for generating and running a 2-CPU experiment |
87 |
Instructions for generating and running a 2-CPU experiment on kalpana |
========================================================== |
|
===================================================================== |
|
88 |
|
|
89 |
cd MITgcm/verification/lab_sea |
cd MITgcm/verification/lab_sea |
90 |
mkdir build |
|
91 |
|
Configure and compile the code: |
92 |
cd build |
cd build |
93 |
\cp ../code/*.h ../code/packages.conf . |
../../../tools/genmake2 -mpi -mods ../code [-of my_platform_optionFile] |
94 |
\cp ../code/SIZE.h_mpi SIZE.h |
ln -s ../code/SIZE.h_mpi SIZE.h |
|
../../../tools/genmake2 -of ../../../tools/build_options/linux_ia64_efc+mpi_altix |
|
95 |
make depend |
make depend |
96 |
make |
make |
97 |
cd ../input |
cd .. |
|
mpirun -np 2 ../build/mitgcmuv |
|
98 |
|
|
99 |
|
To run: |
100 |
|
cd run |
101 |
|
ln -s ../input/* . |
102 |
|
mpirun -np 2 ../build/mitgcmuv |
103 |
|
cd .. |
104 |
|
|
105 |
Instructions for testing useExfYearlyFields |
Instructions for testing useExfYearlyFields (Note: might not be up-to-date) |
106 |
=========================================== |
=========================================== |
107 |
|
|
108 |
cd MITgcm/verification/lab_sea/build |
cd MITgcm/verification/lab_sea/build |