/[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.5 by dimitri, Tue Nov 25 05:41:28 2003 UTC revision 1.14 by dimitri, Sat Jan 10 17:32:30 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 checkpoint52b_post MITgcm_code  ##########################################################################
23  cvs co -r checkpoint52b_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 ../inp_thsice/* .  \cp ../input/* .
42  cp ../input/* .  \cp ../../../../MITgcm_contrib/high_res_cube/matlab-grid-converter/tile00* .
43  cp ../../../../MITgcm_contrib/high_res_cube/matlab-grid-converter/tile00* .  \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  for fld={'Eta','VICE','UICE','HEFF','AREA','Qsw','Qnet','FV','FU','EmPmR'}  for fld={'Eta','VICE','UICE','HEFF','AREA','Qsw','Qnet','FV','FU','EmPmR'}
52      tmp=permute(readbin([fld{1} '.0000000020.data'],[32,6,32]),[1 3 2]);      tmp=permute(readbin([fld{1} '.0000000020.data'],[32,6,32]),[1 3 2]);
53      cx=[min(tmp(:)) max(tmp(:))]; clf, plot_cube, title(fld{1}), pause      cx=[min(tmp(:)) max(tmp(:))]; clf, plot_cube, title(fld{1}), pause
54  end  end
55    
56    
57    ##########################################################################
58    ##########################################################################
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    setenv CVSROOT :pserver:cvsanon@mitgcm.org:/u/u0/gcmpack
123    cvs login ( CVS password: cvsanon )
124    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/README_ice
125    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/code-mods
126    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/matlab-grid-converter
127    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/input
128    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/results
129    cvs co -r checkpoint52d_pre MITgcm_code
130    cvs co -r checkpoint52d_pre MITgcm/verification/global_ocean.cs32x15
131    
132    cd MITgcm/verification/global_ocean.cs32x15/code
133    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
134    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* .
135    \cp SIZE.h_216 SIZE.h
136    \cp CPP_EEOPTIONS.h_mpi CPP_EEOPTIONS.h
137    \cp packages.conf_hr packages.conf
138    \cp mom_vi_hdissip.F_hr mom_vi_hdissip.F
139    \rm mdsio_readfield.F
140    
141    cd ..
142    mkdir build
143    cd build
144    ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi_altix
145    make depend
146    make
147    
148    cd ..
149    mkdir run
150    cd run
151    qsub job_altix

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.22