1 |
|
2 |
16-Oct-2006 |
3 |
heimbach@mit.edu, cnh@mit.edu |
4 |
|
5 |
Brief instructions for building and running |
6 |
|
7 |
------- |
8 |
Exp. 1: For diffuse only test (just diffuses a patch of dye) |
9 |
------- |
10 |
|
11 |
cd build |
12 |
rm -fr * |
13 |
../../../tools/genmake2 -mods ../code |
14 |
make depend |
15 |
make |
16 |
ln -s ../input/* . |
17 |
./mitgcmuv >& output |
18 |
|
19 |
------- |
20 |
Exp. 2: For advect diffuse test (injects dye every timestep at one point and advects with a fixed flow field) |
21 |
------- |
22 |
|
23 |
cd build |
24 |
rm -fr * |
25 |
../../../tools/genmake2 -mods "../code_advdiff ../code" |
26 |
make depend |
27 |
make |
28 |
ln -s ../input_advdiff/* . |
29 |
ln -s ../input/* . |
30 |
./mitgcmuv >& output |
31 |
|
32 |
------- |
33 |
Exp. 3: Adjoint of advect-diffuse: |
34 |
------- |
35 |
|
36 |
cd build_ad/ |
37 |
rm -fr * |
38 |
../../../tools/genmake2 -mods ../code_ad |
39 |
make depend |
40 |
make adtaf |
41 |
make adall |
42 |
|
43 |
ln -s ../input_ad/* . |
44 |
ln -s ../input_advdiff/pickup.0000072020.* . |
45 |
./mitgcmuv_ad >! output_adm.txt & |
46 |
|
47 |
|
48 |
------- |
49 |
Exp. 4: Adjoint of full code: |
50 |
------- |
51 |
|
52 |
cd build_ad_full/ |
53 |
rm -fr * |
54 |
../../../tools/genmake2 -mods ../code_ad_full |
55 |
make depend |
56 |
make adtaf |
57 |
make adall |
58 |
|
59 |
ln -s ../input_ad_full/* . |
60 |
./mitgcmuv_ad >! output_adm.txt & |
61 |
|
62 |
------- |
63 |
Exp. 5: TLM of full code: |
64 |
------- |
65 |
|
66 |
cd build_ad_full/ |
67 |
rm -fr * |
68 |
../../../tools/genmake2 -mods ../code_ad_full |
69 |
make depend |
70 |
make ftltaf |
71 |
make ftlall |
72 |
|
73 |
ln -s ../input_ad_full/* . |
74 |
./mitgcmuv_ftl >! output_tlm.txt & |