/[MITgcm]/MITgcm_contrib/high_res_cube/README.cs32
ViewVC logotype

Annotation of /MITgcm_contrib/high_res_cube/README.cs32

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


Revision 1.6 - (hide annotations) (download)
Sun May 24 06:48:51 2009 UTC (16 years, 1 month ago) by dimitri
Branch: MAIN
Changes since 1.5: +1 -14 lines
updating for new exch2 routines

1 dimitri 1.1 Instructions for setting up a cube-sphere integration
2     with sea-ice on the cs32 grid. Is meant to be used as
3     a preliminary sanity check for the cs510 configuration.
4    
5     ##########################################################################
6     # getting the code from anonymous CVS server
7    
8     bash or sh shell:
9     $ export CVSROOT=':pserver:cvsanon@mitgcm.org:/u/gcmpack'
10     $ cvs login
11     ( enter the CVS password: "cvsanon" )
12    
13     tcsh or csh shell:
14     $ setenv CVSROOT ':pserver:cvsanon@mitgcm.org:/u/gcmpack'
15     $ cvs login
16     ( enter the CVS password: "cvsanon" )
17    
18     cvs co MITgcm_contrib/high_res_cube/README.cs32
19 dimitri 1.6 cvs co -P MITgcm_contrib/high_res_cube/code-mods
20 dimitri 1.1 cvs co MITgcm_contrib/high_res_cube/input
21     cvs co MITgcm_contrib/high_res_cube/results
22     cvs co MITgcm_code
23     cvs co MITgcm/verification/global_ocean.cs32x15
24     cvs co MITgcm/verification/tutorial_held_suarez_cs/input
25    
26     ##########################################################################
27     # 32*32*6*15, 1-cpu cube sphere
28    
29 dimitri 1.2 cd MITgcm
30     mkdir build run
31     cd build
32     \rm *
33     \cp ../../MITgcm_contrib/high_res_cube/code-mods/* .
34 dimitri 1.1 \rm CPP_EEOPTIONS.h
35 dimitri 1.2 ../tools/genmake2
36     make depend
37     make -j
38     cd ../run
39 dimitri 1.1 \rm *
40 dimitri 1.2 \cp ../verification/tutorial_held_suarez_cs/input/grid* .
41     \cp ../verification/global_ocean.cs32x15/input/lev_*_cs_15k.bin .
42     \cp ../verification/global_ocean.cs32x15/input/bathy_Hmin50.bin .
43     \cp ../../MITgcm_contrib/high_res_cube/input/* .
44 dimitri 1.1 ../build/mitgcmuv >& output.txt
45    
46 dimitri 1.3 emacs output.txt ../../MITgcm_contrib/high_res_cube/results/output.txt
47 dimitri 1.1
48     to use matlab to look at the output
49     matlab
50    
51     for fld={'SIuice','SIvice','SIheff','SIarea','oceQsw', ...
52     'surForcT','oceTAUX','oceTAUY','surForcS'}
53     tmp=permute(readbin([fld{1} '.0000000072.data'],[32,6,32]),[1 3 2]);
54     cx=[min(tmp(:)) max(tmp(:))]; clf, plot_cube, title(fld{1}), pause
55     end
56    
57     heff=permute(readbin(['SIheff.0000000072.data'],[32,6,32]),[1 3 2]);
58     mask=0*heff; mask(find(heff>.001))=1;
59     uice=mask.*permute(readbin(['SIuice.0000000072.data'],[32,6,32]),[1 3 2]);
60     vice=mask.*permute(readbin(['SIvice.0000000072.data'],[32,6,32]),[1 3 2]);
61     clf
62     subplot(221), mypcolor(uice(:,:,3)'); colorbar, title('uice, tile 3')
63     subplot(222), mypcolor(uice(:,:,6)'); colorbar, title('uice, tile 6')
64     subplot(223), mypcolor(vice(:,:,3)'); colorbar, title('vice, tile 3')
65     subplot(224), mypcolor(vice(:,:,6)'); colorbar, title('vice, tile 6')
66    
67 dimitri 1.2
68 dimitri 1.1 ##########################################################################
69     # 32*32*6*15, 17-tile, 1-cpu cube sphere experiment
70 dimitri 1.2 # needs fixing; does not work as of checkpoint58x_post
71     # see discussion on MITgcm-devel
72 dimitri 1.1
73     cd ../build
74     \rm *
75 dimitri 1.2 \cp ../../MITgcm_contrib/high_res_cube/code-mods/* .
76     \cp ../verification/global_ocean.cs32x15/code_alt/code.176t_8x4/* .
77     \rm CPP_EEOPTIONS.h
78     ../tools/genmake2
79 dimitri 1.1 make depend
80 dimitri 1.2 make -j
81     cd ../run
82     \rm *
83     \cp ../verification/tutorial_held_suarez_cs/input/grid* .
84     \cp ../verification/global_ocean.cs32x15/input/lev_*_cs_15k.bin .
85     \cp ../verification/global_ocean.cs32x15/input/bathy_Hmin50.bin .
86     \cp ../../MITgcm_contrib/high_res_cube/input/* .
87 dimitri 1.1 ../build/mitgcmuv >& output.txt
88    
89 dimitri 1.2
90 dimitri 1.1 ##########################################################################
91 dimitri 1.4 # 32*32*6*15, 2-cpu cube sphere on the NAS altices with ifort
92 dimitri 1.1
93 dimitri 1.2 cd MITgcm
94     mkdir build run
95     cd build
96     \rm *
97     \cp ../../MITgcm_contrib/high_res_cube/code-mods/* .
98     \cp ../utils/exch2/code-mods/s12t_16x32/* .
99 dimitri 1.5 \mv SIZE.h_mpi SIZE.h
100 dimitri 1.3 ../tools/genmake2 -of ../../MITgcm_contrib/high_res_cube/code-mods/linux_ia64_ifort+mpi_altix_nas
101 dimitri 1.1 make depend
102     make -j
103 dimitri 1.2 cd ../run
104     \rm *
105     \cp ../verification/tutorial_held_suarez_cs/input/grid* .
106     \cp ../verification/global_ocean.cs32x15/input/lev_*_cs_15k.bin .
107     \cp ../verification/global_ocean.cs32x15/input/bathy_Hmin50.bin .
108     \cp ../../MITgcm_contrib/high_res_cube/input/* .
109 dimitri 1.1 mpirun -np 2 ../build/mitgcmuv
110 dimitri 1.4
111    
112     ##########################################################################
113     # 32*32*6*15, 2-cpu cube sphere on the JPL altices with ifort
114    
115     cd MITgcm
116     mkdir build run
117     cd build
118     \rm *
119     \cp ../../MITgcm_contrib/high_res_cube/code-mods/* .
120     \cp ../utils/exch2/code-mods/s12t_16x32/* .
121 dimitri 1.5 \mv SIZE.h_mpi SIZE.h
122 dimitri 1.4 ../tools/genmake2 -of ../tools/build_options/linux_ia64_ifort+mpi_altix_jpl
123     make depend
124     make -j
125     cd ../run
126     \rm *
127     \cp ../verification/tutorial_held_suarez_cs/input/grid* .
128     \cp ../verification/global_ocean.cs32x15/input/lev_*_cs_15k.bin .
129     \cp ../verification/global_ocean.cs32x15/input/bathy_Hmin50.bin .
130     \cp ../../MITgcm_contrib/high_res_cube/input/* .
131     mpirun -np 2 ../build/mitgcmuv

  ViewVC Help
Powered by ViewVC 1.1.22