/[MITgcm]/MITgcm_contrib/high_res_cube/README_ice
ViewVC logotype

Diff of /MITgcm_contrib/high_res_cube/README_ice

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

revision 1.36 by dimitri, Sun Mar 28 09:28:21 2004 UTC revision 1.38 by dimitri, Sun Jun 27 21:05:37 2004 UTC
# Line 7  Code and input used for integrating cube Line 7  Code and input used for integrating cube
7  ##########################################################################  ##########################################################################
8  # getting the code from anonymous CVS server  # getting the code from anonymous CVS server
9    
10  setenv CVSROOT :pserver:cvsanon@mitgcm.org:/u/u0/gcmpack  cvs co MITgcm_contrib/high_res_cube/README_ice
11  cvs login ( CVS password: cvsanon )  cvs co MITgcm_contrib/high_res_cube/code-mods
12  cvs co -r hrcube5 MITgcm_contrib/high_res_cube/README_ice  cvs co MITgcm_contrib/high_res_cube/input
13  cvs co -r hrcube5 MITgcm_contrib/high_res_cube/code-mods  cvs co MITgcm_contrib/high_res_cube/results
14  cvs co -r hrcube5 MITgcm_contrib/high_res_cube/input  cvs co MITgcm_contrib/edge_problem
15  cvs co -r hrcube5 MITgcm_contrib/high_res_cube/results  cvs co MITgcm_code
16  cvs co -r hrcube5 MITgcm_code  cvs co MITgcm/verification/global_ocean.cs32x15
 cvs co -r hrcube5 MITgcm/verification/global_ocean.cs32x15  
17    
18    
19  ##########################################################################  ##########################################################################
# Line 24  cvs co -r hrcube5 MITgcm/verification/gl Line 23  cvs co -r hrcube5 MITgcm/verification/gl
23  cd MITgcm/verification/global_ocean.cs32x15/code  cd MITgcm/verification/global_ocean.cs32x15/code
24  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
25  \cp ../../../utils/exch2/code-mods/s12t_16x32/* .  \cp ../../../utils/exch2/code-mods/s12t_16x32/* .
   
26  cd ../build  cd ../build
27    \rm *
28  ../../../tools/genmake2 -mods=../code  ../../../tools/genmake2 -mods=../code
29  make depend  make depend
30  make  make
31    cd ..
32    mkdir run
33    cd run
34    \rm *
35    \cp ../input/* .
36    \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
37    ../build/mitgcmuv >& output.txt
38    
39    comparison output is in:
40    ../../../../MITgcm_contrib/high_res_cube/results/output.txt
41    
42    to use matlab to look at the output
43    matlab
44    
45    for fld={'Eta','VICE','UICE','HEFF','AREA','Qsw','Qnet','FV','FU','EmPmR'}
46        tmp=permute(readbin([fld{1} '.0000000020.data'],[32,6,32]),[1 3 2]);
47        cx=[min(tmp(:)) max(tmp(:))]; clf, plot_cube, title(fld{1}), pause
48    end
49    
50    heff=permute(readbin(['HEFF.0000000020.data'],[32,6,32]),[1 3 2]);
51    mask=0*heff; mask(find(heff>.001))=1;
52    uice=mask.*permute(readbin(['UICE.0000000020.data'],[32,6,32]),[1 3 2]);
53    vice=mask.*permute(readbin(['VICE.0000000020.data'],[32,6,32]),[1 3 2]);
54    clf
55    subplot(221), mypcolor(uice(:,:,3)'), colorbar, title('uice, tile 3')
56    subplot(222), mypcolor(uice(:,:,6)'), colorbar, title('uice, tile 6')
57    subplot(223), mypcolor(vice(:,:,3)'), colorbar, title('vice, tile 3')
58    subplot(224), mypcolor(vice(:,:,6)'), colorbar, title('vice, tile 6')
59    
60    
61    ##########################################################################
62    ##########################################################################
63    # 32*32*6*15, 17-tile, 1-cpu cube sphere experiment
64    
65    cd MITgcm/verification/global_ocean.cs32x15/code
66    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
67    \cp ../code_alt/code.176t_8x4/* .
68    cd ../build
69    \rm *
70    ../../../tools/genmake2 -mods=../code
71    make depend
72    make
73  cd ..  cd ..
74  mkdir run  mkdir run
75  cd run  cd run
76    \rm *
77  \cp ../input/* .  \cp ../input/* .
78  \cp ../../../../MITgcm_contrib/high_res_cube/input/* .  \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
79  ../build/mitgcmuv >& output.txt  ../build/mitgcmuv >& output.txt

Legend:
Removed from v.1.36  
changed lines
  Added in v.1.38

  ViewVC Help
Powered by ViewVC 1.1.22