/[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.3 by dimitri, Mon Nov 24 01:04:28 2003 UTC revision 1.15 by dimitri, Sat Jan 10 18:09:09 2004 UTC
# Line 1  Line 1 
1  Instructions for setting up a cube-sphere integration with sea-ice.  Instructions for setting up a cube-sphere integration with sea-ice.
2  Date last tested: November 21, 2003.  Date last tested: January 9, 2004.
3    This is the code used for first multi-year 510x510x6
4    cube-sphere integration.
5    
6    
7    ##########################################################################
8    ##########################################################################
9    # getting the code from anonymous CVS server
10    
11  setenv CVSROOT :pserver:cvsanon@mitgcm.org:/u/u0/gcmpack  setenv CVSROOT :pserver:cvsanon@mitgcm.org:/u/u0/gcmpack
12  cvs login ( CVS password: cvsanon )  cvs login ( CVS password: cvsanon )
13    cvs co -r hr_cube1 MITgcm_contrib/high_res_cube/README_ice
14    cvs co -r hr_cube1 MITgcm_contrib/high_res_cube/code-mods
15    cvs co -r hr_cube1 MITgcm_contrib/high_res_cube/matlab-grid-converter
16    cvs co -r hr_cube1 MITgcm_contrib/high_res_cube/input
17    cvs co -r hr_cube1 MITgcm_contrib/high_res_cube/results
18    cvs co -r hr_cube1 MITgcm_code
19    cvs co -r hr_cube1 MITgcm/verification/global_ocean.cs32x15
20    
 cvs co MITgcm_contrib/high_res_cube/README_ice  
 cvs co MITgcm_contrib/high_res_cube/code-mods  
 cvs co MITgcm_contrib/high_res_cube/matlab-grid-converter  
 cvs co MITgcm_contrib/high_res_cube/input  
 cvs co MITgcm_contrib/high_res_cube/results  
21    
22  cvs co -r checkpoint52a_post MITgcm_code  ##########################################################################
23  cvs co -r checkpoint52a_post MITgcm/verification/global_ocean.cs32x15  ##########################################################################
24    # 32*32*6*15, 1-cpu cube sphere
25    
26  cd MITgcm/verification/global_ocean.cs32x15/code  cd MITgcm/verification/global_ocean.cs32x15/code
27  cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
28  cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s12t_16x32/* .  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s12t_16x32/* .
29  \rm mdsio_readfield.F  \rm mdsio_readfield.F
30    
31  cd ..  cd ..
32  mkdir build  mkdir build
33  cd build  cd build
34  ../code/genmake2 -mods=../code  ../../../tools/genmake2 -mods=../code
35  make depend  make depend
36  make  make
37    
38  cd ..  cd ..
39  mkdir run  mkdir run
40  cd run  cd run
41  cp ../input/* .  \cp ../input/* .
42  cp ../../../../MITgcm_contrib/high_res_cube/matlab-grid-converter/tile00* .  \cp ../../../../MITgcm_contrib/high_res_cube/matlab-grid-converter/tile00* .
43  cp ../../../../MITgcm_contrib/high_res_cube/input/* .  \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
44  ../build/mitgcmuv >& output.txt  ../build/mitgcmuv >& output.txt
45    
46  comparison output is in:  comparison output is in:
47  ../../../../MITgcm_contrib/high_res_cube/results/output.txt  ../../../../MITgcm_contrib/high_res_cube/results/output.txt
48    
   
49  to use matlab to look at the output  to use matlab to look at the output
50  matlab  matlab
51  eta=permute(readbin('Eta.0000072020.data',[32,6,32]),[1 3 2]);  for fld={'Eta','VICE','UICE','HEFF','AREA','Qsw','Qnet','FV','FU','EmPmR'}
52  cx=[-1 1]; clf      tmp=permute(readbin([fld{1} '.0000000020.data'],[32,6,32]),[1 3 2]);
53  subplot(3,4, 9);imagesc(flipud(eta(:,:,1)'));caxis(cx);colorbar      cx=[min(tmp(:)) max(tmp(:))]; clf, plot_cube, title(fld{1}), pause
54  subplot(3,4,10);imagesc(flipud(eta(:,:,2)'));caxis(cx);colorbar  end
55  subplot(3,4, 6);imagesc(flipud(eta(:,:,3)'));caxis(cx);colorbar  
56  subplot(3,4, 7);imagesc(flipud(eta(:,:,4)'));caxis(cx);colorbar  
57  subplot(3,4, 3);imagesc(flipud(eta(:,:,5)'));caxis(cx);colorbar  ##########################################################################
58  subplot(3,4, 4);imagesc(flipud(eta(:,:,6)'));caxis(cx);colorbar  ##########################################################################
59    # 32*32*6*15, 2-cpu cube sphere on the altices with efc
60    
61    cd MITgcm/verification/global_ocean.cs32x15/code
62    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
63    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s12t_16x32/* .
64    \cp SIZE.h_mpi SIZE.h
65    \cp CPP_EEOPTIONS.h_mpi CPP_EEOPTIONS.h
66    \rm mdsio_readfield.F
67    
68    cd ..
69    mkdir build
70    cd build
71    \rm *
72    ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi
73    make depend
74    make
75    
76    cd ..
77    mkdir run
78    cd run
79    \rm *
80    \cp ../input/* .
81    \cp ../../../../MITgcm_contrib/high_res_cube/matlab-grid-converter/tile00* .
82    \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
83    mpirun -np 2 ../build/mitgcmuv
84    
85    
86    ##########################################################################
87    ##########################################################################
88    # 510*510*6*50, 54-cpu cube sphere on the altices with efc
89    # requires input files in sudirectories run_template and ncep_rgau
90    # presently residing under orion:/tmp1/dmenem/cube
91    
92    cd MITgcm/verification/global_ocean.cs32x15/code
93    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
94    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* .
95    \cp SIZE.h_54 SIZE.h
96    \cp CPP_EEOPTIONS.h_mpi CPP_EEOPTIONS.h
97    \cp packages.conf_hr packages.conf
98    \cp mom_vi_hdissip.F_hr mom_vi_hdissip.F
99    \rm mdsio_readfield.F
100    
101    cd ..
102    mkdir build
103    cd build
104    \rm *
105    ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi
106    make depend
107    make
108    
109    cd ..
110    mkdir run
111    cd run
112    \rm *
113    \cp ../input/* .
114    \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
115    qsub job_orion
116    
117    
118    ##########################################################################
119    ##########################################################################
120    # 510*510*6*50, 216-cpu cube sphere on altix with efc
121    
122    cd MITgcm/verification/global_ocean.cs32x15/code
123    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
124    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* .
125    \cp SIZE.h_216 SIZE.h
126    \cp CPP_EEOPTIONS.h_mpi CPP_EEOPTIONS.h
127    \cp packages.conf_hr packages.conf
128    \cp mom_vi_hdissip.F_hr mom_vi_hdissip.F
129    \rm mdsio_readfield.F
130    
131    cd ..
132    mkdir build
133    cd build
134    \rm *
135    ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi_altix
136    make depend
137    make
138    
139    cd ..
140    mkdir run
141    cd run
142    \rm *
143    \cp ../input/* .
144    \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
145    qsub job_altix

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.15

  ViewVC Help
Powered by ViewVC 1.1.22