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

Diff of /MITgcm_contrib/high_res_cube/README.cs32

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

revision 1.7 by dimitri, Mon May 25 15:25:08 2009 UTC revision 1.11 by dimitri, Wed Mar 21 23:18:55 2012 UTC
# Line 24  cd build Line 24  cd build
24  \rm CPP_EEOPTIONS.h  \rm CPP_EEOPTIONS.h
25  ../tools/genmake2  ../tools/genmake2
26  make depend  make depend
27  make -j  make -j 16
28  cd ../run  cd ../run
29  \rm *  \rm *
30  \cp ../verification/tutorial_held_suarez_cs/input/grid* .  \cp ../verification/tutorial_held_suarez_cs/input/grid* .
31  \cp ../verification/global_ocean.cs32x15/input/lev_*_cs_15k.bin .  \cp ../verification/global_ocean.cs32x15/input/lev_*_cs_15k.bin .
32  \cp ../verification/global_ocean.cs32x15/input/bathy_Hmin50.bin .  \cp ../verification/global_ocean.cs32x15/input/bathy_Hmin50.bin .
33  \cp ../../MITgcm_contrib/high_res_cube/input/* .  \cp ../../MITgcm_contrib/high_res_cube/input/* .
34    \cp data.pkg_lr data.pkg
35    \cp data.diagnostics_lr data.diagnostics
36  ../build/mitgcmuv >& output.txt  ../build/mitgcmuv >& output.txt
37    
38  emacs output.txt ../../MITgcm_contrib/high_res_cube/results/output.txt  emacs output.txt ../../MITgcm_contrib/high_res_cube/results/output.txt
39    
40  to use matlab to look at the output  to use matlab to look at the output:
41  matlab  matlab
   
42  for fld={'SIuice','SIvice','SIheff','SIarea','oceQsw', ...  for fld={'SIuice','SIvice','SIheff','SIarea','oceQsw', ...
43           'surForcT','oceTAUX','oceTAUY','surForcS'}           'surForcT','oceTAUX','oceTAUY','surForcS'}
44      tmp=permute(readbin([fld{1} '.0000000072.data'],[32,6,32]),[1 3 2]);      tmp=permute(readbin([fld{1} '.0000000072.data'],[32,6,32]),[1 3 2]);
# Line 75  c Line 76  c
76  w  w
77  q  q
78  EOF  EOF
 \cp ../verification/global_ocean.cs32x15/code_alt/code.176t_8x4/* .  
79  \rm CPP_EEOPTIONS.h  \rm CPP_EEOPTIONS.h
80  ../tools/genmake2  ../tools/genmake2
81  make depend  make depend
82  make -j  make -j
83  cd ../run  cd ..
84  \rm *  mv run run_orig
85    mkdir run
86    cd run
87  \cp ../verification/tutorial_held_suarez_cs/input/grid* .  \cp ../verification/tutorial_held_suarez_cs/input/grid* .
88  \cp ../verification/global_ocean.cs32x15/input/lev_*_cs_15k.bin .  \cp ../verification/global_ocean.cs32x15/input/lev_*_cs_15k.bin .
89  \cp ../verification/global_ocean.cs32x15/input/bathy_Hmin50.bin .  \cp ../verification/global_ocean.cs32x15/input/bathy_Hmin50.bin .
# Line 89  cd ../run Line 91  cd ../run
91  \cp ../../MITgcm_contrib/high_res_cube/input/* .  \cp ../../MITgcm_contrib/high_res_cube/input/* .
92  ../build/mitgcmuv >& output.txt  ../build/mitgcmuv >& output.txt
93    
94    to use matlab to compare to previous solution:
95    matlab
96    for f={'ETAN','oceTAUY','SIhsnow','surForcS','KPPhbl','PHIBOT', ...
97           'SIuice','surForcT','MXLDEPTH','SIarea','SIvice','UVEL_k1', ...
98           'oceQsw','SIheff','SSS','VVEL_k1','oceTAUX','SIhsalt','SST'}
99     t1=readbin(['../run_orig/' f{1} '.0000000072.data'],[32*6 32]);
100     t2=readbin([f{1} '.0000000072.data'],[32*6 32]);
101     clf, subplot(311), mypcolor(t1'); thincolorbar, title(f{1})
102     subplot(312), mypcolor(t2'); thincolorbar
103     subplot(313), mypcolor(t2'-t1'); thincolorbar, pause
104    end
105    for f={'YG','YC','XG','XC','RAZ','RAW','RAS','RAC','hFacW','hFacS', ...
106         'hFacC','Depth','DYG','DYC','DXG','DXC','AngleSN','AngleCS'}
107     t1=readbin(['../run_orig/' f{1} '.data'],[32*6 32]);
108     t2=readbin([f{1} '.data'],[32*6 32]);
109     clf, subplot(311), mypcolor(t1'); thincolorbar, title(f{1})
110     subplot(312), mypcolor(t2'); thincolorbar
111     subplot(313), mypcolor(t2'-t1'); thincolorbar, pause
112    end
113    
114    
115  ##########################################################################  ##########################################################################
116  # 32*32*6*15, 2-cpu cube sphere on the NAS altices with ifort  # 32*32*6*15, 2-cpu cube sphere on the NAS altices with ifort
# Line 101  cd build Line 123  cd build
123  \mv SIZE.h_mpi SIZE.h  \mv SIZE.h_mpi SIZE.h
124  ../tools/genmake2 -of ../../MITgcm_contrib/high_res_cube/code-mods/linux_ia64_ifort+mpi_altix_nas  ../tools/genmake2 -of ../../MITgcm_contrib/high_res_cube/code-mods/linux_ia64_ifort+mpi_altix_nas
125  make depend  make depend
126  make -j  make -j 8
127  cd ../run  cd ../run
128  \rm *  \rm *
129  \cp ../verification/tutorial_held_suarez_cs/input/grid* .  \cp ../verification/tutorial_held_suarez_cs/input/grid* .

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.22