1 |
Example: Testing of floats (based on EXP 4) |
Example: Testing of floats (based on verification/exp4) |
2 |
================================================ |
================================================ |
3 |
|
|
|
To apply the changes to the default configuration of MITgcmUV: |
|
|
cp ../verification/exp4_flt/code/*.[Fh] ../bin/ |
|
|
|
|
4 |
Configure and compile the code: |
Configure and compile the code: |
5 |
cd bin |
cd build |
6 |
../tools/genmake -makefile -enable=flt |
../../../tools/genmake2 -mods ../code [-of my_platform_optionFile] |
7 |
make depend |
make depend |
8 |
make |
make |
9 |
|
cd .. |
10 |
|
|
11 |
To run: |
To run: |
12 |
cd ../exe |
cd run |
13 |
cp ../verification/exp4_flt/input/* . |
ln -s ../input/* . |
14 |
./mitgcmuv |
ln -s ../build/mitgcmuv . |
15 |
|
./mitgcmuv > output.txt |
16 |
|
cd .. |
17 |
|
|
18 |
|
There is comparison output in the directory: |
19 |
|
results/output.txt |
20 |
|
|
21 |
There is comparison output in the directory: |
There is comparison output in the directory: |
22 |
../verification/exp4_flt/results |
../verification/flt_example/results |
23 |
|
|
24 |
Comments: |
Comments: |
25 |
The input data is real*8. |
The input data is real*8. |