/[MITgcm]/MITgcm_contrib/edge_problem/readme.txt
ViewVC logotype

Annotation of /MITgcm_contrib/edge_problem/readme.txt

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


Revision 1.1 - (hide annotations) (download)
Fri Jun 25 00:26:07 2004 UTC (21 years ago) by dimitri
Branch: MAIN
File MIME type: text/plain
This is a set of files and instructions needed to test for edge effects and
other tiling problems for cube-sphere configuration using the 32x32x6
configuration.

1 dimitri 1.1 Follow instructions for testing edge problems and other tiling issues with
2     32x32x6 cube sphere configuration.
3    
4     Baseline 6-tile integration
5     ===========================
6     cd MITgcm/verification/global_ocean.cs32x15/build
7     rm *
8     ../../../tools/genmake2 -mods=../code
9     make depend
10     rm SIZE.h
11     cp ../../../../edge_problem/SIZE.h .
12     make
13     cd ..
14     mkdir run6
15     cd run6
16     rm *
17     cp ../input/* .
18     cp ../../../../edge_problem/data.base data
19     cp ../../../../edge_problem/tile* .
20     cp ../build/mitgcmuv .
21     mitgcmuv > output.txt
22    
23    
24     Baseline 12-tile integration
25     ============================
26     cd ../build
27     rm *
28     ../../../tools/genmake2 -mods="../code_alt/code.12t_32x16 ../code"
29     make depend
30     rm SIZE.h
31     cp ../../../../edge_problem/SIZE.h_12 SIZE.h
32     make
33     cd ..
34     mkdir run12
35     cd run12
36     rm *
37     cp ../input/* .
38     cp ../../../../edge_problem/data.base data
39     cp ../../../../edge_problem/tile* .
40     cp ../build/mitgcmuv .
41     mitgcmuv > output.txt
42     cd ..
43    
44    
45     Use matlab to compare Eta for 6-tile and 12-tile integrations
46     =============================================================
47     matlab -nojvm -nosplash
48     f1='run6/Eta.'; f2='run12/Eta.'; tm=72003;
49     ix=.5:191.5; iy=.5:31.5;
50     tmp1=readbin([f1 myint2str(tm,10) '.data'],[32*6,32]);
51     tmp2=readbin([f2 myint2str(tm,10) '.data'],[32*6,32]);
52     clf, subplot(211)
53     image(ix,iy,tmp1','CDataMapping','scaled'); colorbar, grid
54     set(gca,'ydir','normal','xtick',0:32:192,'ytick',0:16:32)
55     title('Eta, time step 3, 6-tile integration')
56     subplot(212)
57     image(ix,iy,tmp2'-tmp1','CDataMapping','scaled'); colorbar, grid
58     set(gca,'ydir','normal','xtick',0:32:192,'ytick',0:16:32)
59     title('Difference between 12-tile and 6-tile integrations')
60     quit
61    
62    
63     Now repeat with visca4grid
64     ==========================
65     cd run6
66     cp ../../../../edge_problem/data.visca4grid data
67     mitgcmuv > output.txt
68     cd ../run12
69     cp ../../../../edge_problem/data.visca4grid data
70     mitgcmuv > output.txt
71     cd ..
72    
73    
74     Now repeat with advscheme=33
75     ============================
76     cd run6
77     cp ../../../../edge_problem/data.tempadv data
78     mitgcmuv > output.txt
79     cd ../run12
80     cp ../../../../edge_problem/data.tempadv data
81     mitgcmuv > output.txt
82     cd ..

  ViewVC Help
Powered by ViewVC 1.1.22