/[MITgcm]/MITgcm_contrib/heimbach/cs_adj_advdiff/README
ViewVC logotype

Contents of /MITgcm_contrib/heimbach/cs_adj_advdiff/README

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download)
Tue Nov 14 15:20:57 2006 UTC (18 years, 8 months ago) by heimbach
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +21 -3 lines
Adding results from 16x16 decomp.

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 advect diffuse test (injects dye every timestep at one point and advects with a fixed flow field)
9 -------
10
11 cd build
12 rm -fr *
13 ../../../tools/genmake2 -mods ../code
14 make depend
15 make
16 ln -s ../input/* .
17 ln -s ../input_fields/* .
18 ./mitgcmuv >& output
19
20 -------
21 Exp. 2a: Adjoint of advect-diffuse:
22 ------- --->>> 1 tile per cube face (32x32), single-processor <<<---
23
24 cd build_ad/
25 rm -fr *
26 \cp -f ../code_ad/topol_32x32/* .
27 ../../../tools/genmake2 -mods ../code_ad
28 ### ../../../../MITgcm/tools/genmake2 -rootdir ../../../../MITgcm -mods ../code_ad
29 make depend
30 make adtaf
31 make adall
32
33 ln -s ../input_ad/* .
34 ln -s ../input_fields/* .
35 ./mitgcmuv_ad >! output_adm.txt_32x32 &
36
37
38 -------
39 Exp. 2b: Adjoint of advect-diffuse:
40 ------- --->>> 4 tiles per cube face (16x16), single-processor <<<---
41
42 cd build_ad/
43 rm -fr *
44 \cp -f ../code_ad/topol_16x16/* .
45 ../../../tools/genmake2 -mods ../code_ad
46 ### ../../../../MITgcm/tools/genmake2 -rootdir ../../../../MITgcm -mods ../code_ad
47 make depend
48 make adtaf
49 make adall
50
51 ln -s ../input_ad/* .
52 ln -s ../input/*.bin .
53 ln -s ../input/*.mitgrid .
54 ./mitgcmuv_ad >! output_adm.txt_16x16 &
55
56 -------
57 Exp. 2c: TLM of advect-diffuse:
58 ------- --->>> 4 tiles per cube face (16x16), single-processor <<<---
59
60 cd build_ad/
61 rm -fr *
62 \cp -f ../code_ad/topol_16x16/* .
63 ../../../tools/genmake2 -mods ../code_ad
64 ### ../../../../MITgcm/tools/genmake2 -rootdir ../../../../MITgcm -mods ../code_ad
65 make depend
66 make ftltaf
67 make ftlall
68
69 ln -s ../input_ad/* .
70 ln -s ../input/*.bin .
71 ln -s ../input/*.mitgrid .
72 ./mitgcmuv_ftl >! output_tlm.txt_16x16 &
73
74 -------
75 Exp. 2d: Adjoint of advect-diffuse:
76 ------- --->>> 4 tiles per cube face (16x16), 4-processor MPI <<<---
77
78 cd build_ad/
79 rm -fr *
80 \cp -f ../code_ad/topol_16x16/* .
81 \cp -f SIZE.h_mpi SIZE.h
82 ../../../tools/genmake2 -mpi -mods ../code_ad
83 ### ../../../../MITgcm/tools/genmake2 -rootdir ../../../../MITgcm -mpi -mods ../code_ad
84 make depend
85 make adtaf
86 make adall
87
88 ln -s ../input_ad/* .
89 ln -s ../input/*.bin .
90 ln -s ../input/*.mitgrid .
91 mpirun -np 4 ./mitgcmuv_ad
92
93 -------
94 Exp. 4: Adjoint of full code:
95 -------
96
97 cd build_ad_full/
98 rm -fr *
99 ../../../tools/genmake2 -mods ../code_ad_full
100 make depend
101 make adtaf
102 make adall
103
104 ln -s ../input_ad_full/* .
105 ./mitgcmuv_ad >! output_adm.txt &
106
107 -------
108 Exp. 5: TLM of full code:
109 -------
110
111 cd build_ad_full/
112 rm -fr *
113 ../../../tools/genmake2 -mods ../code_ad_full
114 make depend
115 make ftltaf
116 make ftlall
117
118 ln -s ../input_ad_full/* .
119 ./mitgcmuv_ftl >! output_tlm.txt &

  ViewVC Help
Powered by ViewVC 1.1.22