/[MITgcm]/MITgcm_contrib/MPMice/beaufort/README_beaufort.txt
ViewVC logotype

Diff of /MITgcm_contrib/MPMice/beaufort/README_beaufort.txt

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

revision 1.1 by dimitri, Sun May 31 13:25:42 2009 UTC revision 1.7 by dimitri, Fri Feb 3 19:13:53 2012 UTC
# Line 1  Line 1 
1  Instructions for running the "beaufort" 40x40x50 configuration  Instructions for running the "beaufort" 40x40x50 configuration
2  face=6; ix=101:300; jx=290:449; kx=1:50;  face=6; ix=101:300; jx=290:449; kx=1:50;
3    
4  1. Obtain copies of following directories:  1. Set up and log in to cvs server
5     (Note the forcing files span many years. To save time and space    bash or sh shell: export CVSROOT=':pserver:cvsanon@mitgcm.org:/u/gcmpack'
6      you only need to download the years of interest from the    tcsh or csh shell: setenv CVSROOT ':pserver:cvsanon@mitgcm.org:/u/gcmpack'
7      ncep_rgau and cube78_forcing directories)    cvs login ( enter the CVS password: "cvsanon" )
8   ftp://ecco2.jpl.nasa.gov/data1/beaufort/code  
9   ftp://ecco2.jpl.nasa.gov/data1/beaufort/run_template  2. Get code, input, and README files from CVS server
10   ftp://ecco2.jpl.nasa.gov/data1/data/ncep/ncep_rgau    cvs co -d beaufort MITgcm_contrib/MPMice/beaufort
11   ftp://ecco2.jpl.nasa.gov/data1/data/blend_forcing/cube78_forcing    cd beaufort
12      cvs co MITgcm_code
13  2. Set up cvs server  
14    bash or sh shell:  3. Obtain copies of following directories and put them in beaufort
15      export CVSROOT=':pserver:cvsanon@mitgcm.org:/u/gcmpack'    ftp://ecco2.jpl.nasa.gov/data1/beaufort/run_template
16    tcsh or csh shell:    ftp://ecco2.jpl.nasa.gov/data1/data/atmos/blend_forcing/cube78_forcing
17      setenv CVSROOT ':pserver:cvsanon@mitgcm.org:/u/gcmpack'     (Note the forcing files in cube78_forcing span many years.
18        To save time, you only need to download the years of interest,
19  3. Get code from cvs server      *92 for example below, plus the runoff-360x180x12.bin file)
     cvs login  
       ( enter the CVS password: "cvsanon" )  
     cvs co MITgcm_code  
20    
21  4. Get the ice code, PM2  4. Get the ice code, PM2 (this item needs to be updated)
22          Obtain directories PM2/F95 and PM2/config from ...??          Obtain directories PM2/F95 and PM2/config from ...??
23          call the directory containting PM2, ICE_DIR,          call the directory containting PM2, ICE_DIR,
24          in my case ICE_DIR=/dm5/bep/sulsky/seaice on pollux          in my case ICE_DIR=/dm5/bep/sulsky/seaice on pollux
25                     ICE_DIR=/workg/bep/sulsky/seacie on gemini                     ICE_DIR=/workg/bep/sulsky/seaice on gemini
26    
27     cp -r /workg/bep/sulsky/seaice ICE_DIR
28     cd ICE_DIR/PM2
29     make
30    
31     ONCE ONLY: (only need to redo if geometry changes)
32     cd MITgcm/ice
33     mpirun -np 1 ICE_DIR/PM2-Pre
34                                        
35          The PM2/config/hosts files for gemini and pollux  assume petsc is installed in          The PM2/config/hosts files for gemini and pollux  assume petsc is installed in
36                  PETSCDIR = /dm5/bep/sulsky/Packages/petsc-2.3.3-p8  on pollux                  PETSCDIR = /dm5/bep/sulsky/Packages/petsc-2.3.3-p8  on pollux
# Line 52  Running on a linux workstation: Line 57  Running on a linux workstation:
57   cd bin   cd bin
58   ../tools/genmake2 -mods=../../code   ../tools/genmake2 -mods=../../code
59   make depend   make depend
60   make -j   make -j 16
61    
62  6. Model execution:  6. Model execution:
63   cd ../exe   cd ../exe
64   cp ../../run_template/* .   cp ../../run_template/* .
65     cp ../../input/* .
66   cp ../bin/mitgcmuv .   cp ../bin/mitgcmuv .
67   ./mitgcmuv >& output.txt &   ./mitgcmuv >& output.txt &
68    
69  =============================================  =============================================
70    Running on lozenge.
71    
72    5. Compile code:
73     cd MITgcm
74     mkdir bin exe
75     cd bin
76     \cp ../../code/* .
77     \mv SIZE.h_2 SIZE.h
78     ../tools/genmake2 -of ../../code/linux_amd64_gfortran_lozenge -mpi
79     make depend
80     make -j
81    
82    6. Model execution:
83     cd ../exe
84     cp ../../run_template/* .
85     cp ../../input/* .
86     cp ../bin/mitgcmuv .
87     mpiexec -np 2 ./mitgcmuv >& output.txt
88    
89    =============================================
90    Running MITgcm and MPMice on lozenge.
91    
92    5. Compile code:
93     cd MITgcm
94     mkdir bin
95     cd bin
96     \rm *
97     \cp ../../code/* .
98     \mv SIZE.h_2 SIZE.h
99     \mv CPP_EEOPTIONS.h_CPL CPP_EEOPTIONS.h
100     ../tools/genmake2 -of ../../code/linux_amd64_gfortran_lozenge -mpi
101     make depend
102     make -j
103    
104     cd ..
105     mkdir ice
106     cp ../../beaufort_020212/MITgcm/ice/* .
107     cp /homes/hantran/MPM_Han/PM2/bin/PM2 .
108    
109    6. Model execution:
110     \rm out err a.out
111     mkdir ocean
112     cd ocean
113     \rm *
114     \cp ../../run_template/* .
115     \cp ../../input/* .
116     cd ..
117     \cp bin/mitgcmuv .
118     mpiexec -np 2 mitgcmuv : -np 1 PM2 > a.out &
119    
120    =============================================
121  Running on gemini.  Running on gemini.
122    
123  5. Compile code:  5. Compile code:
# Line 76  Running on gemini. Line 133  Running on gemini.
133  6. Model execution:  6. Model execution:
134   cd ../exe   cd ../exe
135   cp ../../run_template/* .   cp ../../run_template/* .
136     cp ../../input/* .
137   cp ../bin/mitgcmuv .   cp ../bin/mitgcmuv .
138   bsub < jobfile   qsub jobfile
139   bjobs   qstat
140    
141  =============================================  =============================================
142  Running MITgcm and MPMice on gemini.  Running MITgcm and MPMice on gemini.
# Line 94  Running MITgcm and MPMice on gemini. Line 152  Running MITgcm and MPMice on gemini.
152   ../tools/genmake2 -of ../tools/build_options/linux_ia64_ifort+mpi_altix_jpl   ../tools/genmake2 -of ../tools/build_options/linux_ia64_ifort+mpi_altix_jpl
153   make depend   make depend
154   make -j   make -j
155    
156   cd ICE_DIR   cd ..
157   make   cp -r /workg/bep/dmenemen/MITgcm/ice .
   
  ONCE ONLY: (only need to redo if geometry changes)  
  cd MITgcm/ice  
  mpirun -np 1 ICE_DIR/PM2-Pre  
   
  cd MITgcm  
158    
159  6. Model execution:  6. Model execution:
  cd ..  
160   \rm out err   \rm out err
161   mkdir ocean   mkdir ocean
162   cd ocean   cd ocean
163   \rm *   \rm *
164   cp ../../run_template/* .   \cp ../../run_template/* .
165     \cp ../../input/* .
166   cd ..   cd ..
167   cp -r ../ice .   \cp -r /workg/bep/dmenemen/MITgcm/ice .
168   \cp bin/mitgcmuv .   \cp bin/mitgcmuv .
169   \cp ice/PM2 .   \cp ice/PM2 .
170   bsub < ocean/jobfile2   bsub < ocean/jobfile2

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

  ViewVC Help
Powered by ViewVC 1.1.22