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

Diff of /MITgcm_contrib/heimbach/cs_adj_advdiff/README

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

revision 1.1 by heimbach, Tue Oct 17 21:46:48 2006 UTC revision 1.3 by heimbach, Tue Nov 14 15:20:57 2006 UTC
# Line 5  heimbach@mit.edu, cnh@mit.edu Line 5  heimbach@mit.edu, cnh@mit.edu
5  Brief instructions for building and running  Brief instructions for building and running
6    
7  -------  -------
8  Exp. 1: For diffuse only test (just diffuses a patch of dye)  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   cd build
12   rm -fr *   rm -fr *
13   ../../../tools/genmake2 -mods ../code   ../../../tools/genmake2 -mods  ../code
14   make depend   make depend
15   make   make
16   ln -s ../input/* .   ln -s ../input/* .
17     ln -s ../input_fields/* .
18   ./mitgcmuv >& output   ./mitgcmuv >& output
19    
20  -------  -------
21  Exp. 2: For advect diffuse test (injects dye every timestep at one point and advects with a fixed flow field)  Exp. 2a: Adjoint of advect-diffuse:
22  -------  -------  --->>> 1 tile per cube face (32x32), single-processor <<<---
23    
24   cd build   cd build_ad/
25   rm -fr *   rm -fr *
26   ../../../tools/genmake2 -mods "../code_advdiff ../code"   \cp -f ../code_ad/topol_32x32/* .
27     ../../../tools/genmake2 -mods ../code_ad
28    ### ../../../../MITgcm/tools/genmake2 -rootdir ../../../../MITgcm -mods ../code_ad
29   make depend   make depend
30   make   make adtaf
31   ln -s ../input_advdiff/* .   make adall
32   ln -s ../input/* .  
33   ./mitgcmuv >& output   ln -s ../input_ad/* .
34     ln -s ../input_fields/* .
35     ./mitgcmuv_ad >! output_adm.txt_32x32 &
36    
37    
38  -------  -------
39  Exp. 3: Adjoint of advect-diffuse:  Exp. 2b: Adjoint of advect-diffuse:
40  -------  -------  --->>> 4 tiles per cube face (16x16), single-processor <<<---
41    
42   cd build_ad/   cd build_ad/
43   rm -fr *   rm -fr *
44     \cp -f ../code_ad/topol_16x16/* .
45   ../../../tools/genmake2 -mods ../code_ad   ../../../tools/genmake2 -mods ../code_ad
46    ### ../../../../MITgcm/tools/genmake2 -rootdir ../../../../MITgcm -mods ../code_ad
47   make depend   make depend
48   make adtaf   make adtaf
49   make adall   make adall
50    
51   ln -s ../input_ad/* .   ln -s ../input_ad/* .
52   ln -s ../input_advdiff/pickup.0000072020.* .   ln -s ../input/*.bin .
53   ./mitgcmuv_ad >! output_adm.txt &   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:  Exp. 4: Adjoint of full code:

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.22