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. |
36 |
used for salinity and one passive tracer in the same way. Salinity is |
used for salinity and one passive tracer in the same way. Salinity is |
37 |
set to sLev at all other boundaries, while a (nearly) homogeneous |
set to sLev at all other boundaries, while a (nearly) homogeneous |
38 |
v.Neumann condition is applied to the passive tracer (the latter is |
v.Neumann condition is applied to the passive tracer (the latter is |
39 |
the default in obcs_calc.F). Open boundary parameters are set in |
the default in obcs_calc.F), with a relaxation (using pkg rbcs) in |
40 |
|
the Eastern part of the channel. Open boundary parameters are set in |
41 |
data.obcs. |
data.obcs. |