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

Annotation of /MITgcm_contrib/heimbach/cs_adj_advdiff/README

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


Revision 1.2 - (hide annotations) (download)
Tue Nov 14 14:40:14 2006 UTC (18 years, 8 months ago) by heimbach
Branch: MAIN
Changes since 1.1: +40 -13 lines
Update.

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

  ViewVC Help
Powered by ViewVC 1.1.22