3 |
|
|
4 |
default paths are (as used in testreport): |
default paths are (as used in testreport): |
5 |
set build_dir = ${cwd}/build |
set build_dir = ${cwd}/build |
6 |
set exe = ${cwd}/build |
set run_dir = ${cwd}/run |
7 |
set ROOT = ${cwd}/../../ |
set ROOT = ${cwd}/../../ |
8 |
|
|
9 |
Configure and compile the code: |
Configure and compile the code: |
|
mkdir ${build_dir} |
|
10 |
cd ${build_dir} |
cd ${build_dir} |
11 |
${ROOT}/tools/genmake2 -mods=${cwd}/code |
${ROOT}/tools/genmake2 -mods ../code [-of my_platform_optionFile] |
12 |
make depend |
make depend |
13 |
make |
make |
14 |
|
cd .. |
15 |
|
|
16 |
To run: |
To run: |
17 |
mkdir ${exe_dir} |
cd ${run_dir} |
18 |
cd ${exe_dir} |
ln -s ../input/* . |
19 |
cp ${cwd}/input/* . |
${build_dir}/mitgcmuv > output.txt |
20 |
${build_dir}/mitgcmuv |
cd .. |
21 |
|
|
22 |
There is comparison output in the directory: |
There is comparison output in the directory: |
23 |
..${cwd}/results |
results ( absolute path: ${run_dir}/../results ) |
24 |
|
|
25 |
Comments: |
Comments: |
26 |
The input data is real*8. |
The input data is real*8. |