/[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.1 by dimitri, Sun Nov 23 17:16:24 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 MITgcm_contrib/high_res_cube/code-mods  cvs co -r hr_cube1 MITgcm_contrib/high_res_cube/README_ice
14  cvs co MITgcm_contrib/high_res_cube/matlab-grid-converter  cvs co -r hr_cube1 MITgcm_contrib/high_res_cube/code-mods
15  cvs co MITgcm_contrib/high_res_cube/README_ice  cvs co -r hr_cube1 MITgcm_contrib/high_res_cube/matlab-grid-converter
16  cvs co -r checkpoint52a_post MITgcm_code  cvs co -r hr_cube1 MITgcm_contrib/high_res_cube/input
17  cvs co MITgcm/verification/global_ocean.cs32x15  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    
21    
22    ##########################################################################
23    ##########################################################################
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  cd ../build  
31    cd ..
32    mkdir build
33    cd build
34  ../../../tools/genmake2 -mods=../code  ../../../tools/genmake2 -mods=../code
35  make depend  make depend
36  make  make
37    
38    cd ..
39    mkdir run
40    cd run
41    \cp ../input/* .
42    \cp ../../../../MITgcm_contrib/high_res_cube/matlab-grid-converter/tile00* .
43    \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
44    ../build/mitgcmuv >& output.txt
45    
46    comparison output is in:
47    ../../../../MITgcm_contrib/high_res_cube/results/output.txt
48    
49    to use matlab to look at the output
50    matlab
51    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]);
53        cx=[min(tmp(:)) max(tmp(:))]; clf, plot_cube, title(fld{1}), pause
54    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    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 ..  cd ..
140  mkdir run  mkdir run
141  cd run  cd run
142  cp ../input/* .  \rm *
143  cp ../../../../MITgcm_contrib/high_res_cube/matlab-grid-converter/tile00* .  \cp ../input/* .
144  cp ../../../../MITgcm_contrib/high_res_cube/input/* .  \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
145  ../build/mitgcmuv >& output  qsub job_altix

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

  ViewVC Help
Powered by ViewVC 1.1.22