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

Contents of /MITgcm_contrib/high_res_cube/README.cs32

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


Revision 1.1 - (show annotations) (download)
Sat Apr 7 21:56:47 2007 UTC (18 years, 3 months ago) by dimitri
Branch: MAIN
Added high_res_cube/README.cs32 high_res_cube/README.cs510

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 cvs co MITgcm_contrib/high_res_cube/code-mods
20 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 cd MITgcm/verification/global_ocean.cs32x15/code
30 \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
31 \cp ../../../utils/exch2/code-mods/s12t_16x32/* .
32 \rm CPP_EEOPTIONS.h
33 cd ../build
34 \rm *
35 ../../../tools/genmake2 -mods=../code
36 make depend
37 make
38 cd ..
39 mkdir run
40 cd run
41 \rm *
42 \cp ../../tutorial_held_suarez_cs/input/grid* .
43 \cp ../input/* .
44 \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
45 ../build/mitgcmuv >& output.txt
46
47 comparison output is in:
48 ../../../../MITgcm_contrib/high_res_cube/results/output.txt
49
50 to use matlab to look at the output
51 matlab
52
53 for fld={'SIuice','SIvice','SIheff','SIarea','oceQsw', ...
54 'surForcT','oceTAUX','oceTAUY','surForcS'}
55 tmp=permute(readbin([fld{1} '.0000000072.data'],[32,6,32]),[1 3 2]);
56 cx=[min(tmp(:)) max(tmp(:))]; clf, plot_cube, title(fld{1}), pause
57 end
58
59 heff=permute(readbin(['SIheff.0000000072.data'],[32,6,32]),[1 3 2]);
60 mask=0*heff; mask(find(heff>.001))=1;
61 uice=mask.*permute(readbin(['SIuice.0000000072.data'],[32,6,32]),[1 3 2]);
62 vice=mask.*permute(readbin(['SIvice.0000000072.data'],[32,6,32]),[1 3 2]);
63 clf
64 subplot(221), mypcolor(uice(:,:,3)'); colorbar, title('uice, tile 3')
65 subplot(222), mypcolor(uice(:,:,6)'); colorbar, title('uice, tile 6')
66 subplot(223), mypcolor(vice(:,:,3)'); colorbar, title('vice, tile 3')
67 subplot(224), mypcolor(vice(:,:,6)'); colorbar, title('vice, tile 6')
68
69 ##########################################################################
70 # 32*32*6*15, 17-tile, 1-cpu cube sphere experiment
71
72 cd MITgcm/verification/global_ocean.cs32x15/code
73 \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
74 \cp ../code_alt/code.176t_8x4/* .
75 cd ../build
76 \rm *
77 ../../../tools/genmake2 -mods=../code
78 make depend
79 make
80 cd ..
81 mkdir run
82 cd run
83 \rm *
84 \cp ../../tutorial_held_suarez_cs/input/grid* .
85 \cp ../input/* .
86 \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
87 ../build/mitgcmuv >& output.txt
88
89 ##########################################################################
90 # 32*32*6*15, 2-cpu cube sphere on the altices with ifort
91
92 cd MITgcm/verification/global_ocean.cs32x15/code
93 \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
94 \cp ../../../utils/exch2/code-mods/s12t_16x32/* .
95 \cp SIZE.h_mpi SIZE.h
96
97 cd ../build
98 \rm *
99 ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_ifort+mpi_altix_nas
100 make depend
101 make -j
102
103 cd ..
104 mkdir run
105 cd run
106 \rm *
107 \cp ../../tutorial_held_suarez_cs/input/grid* .
108 \cp ../input/* .
109 \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
110 mpirun -np 2 ../build/mitgcmuv

  ViewVC Help
Powered by ViewVC 1.1.22