/[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.2 by dimitri, Mon Jun 1 05:43:47 2009 UTC revision 1.12 by dimitri, Thu Oct 3 18:37:48 2013 UTC
# Line 13  face=6; ix=101:300; jx=290:449; kx=1:50; Line 13  face=6; ix=101:300; jx=290:449; kx=1:50;
13    
14  3. Obtain copies of following directories and put them in beaufort  3. Obtain copies of following directories and put them in beaufort
15    ftp://ecco2.jpl.nasa.gov/data1/beaufort/run_template    ftp://ecco2.jpl.nasa.gov/data1/beaufort/run_template
16    ftp://ecco2.jpl.nasa.gov/data1/data/blend_forcing/cube78_forcing    ftp://ecco2.jpl.nasa.gov/data1/data/atmos/blend_forcing/cube78_forcing
17     (Note the forcing files in cube78_forcing span many years.     (Note the forcing files in cube78_forcing span many years.
18      To save time, you only need to download the years of interest,      To save time, you only need to download the years of interest,
19      *92 for example below, plus the runoff-360x180x12.bin file)      *92 for example below, plus the runoff-360x180x12.bin file)
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 41  face=6; ix=101:300; jx=290:449; kx=1:50; Line 49  face=6; ix=101:300; jx=290:449; kx=1:50;
49          PM2-Pre once to generate pm2_grid.nc pm2_part.nc with initial geometry.          PM2-Pre once to generate pm2_grid.nc pm2_part.nc with initial geometry.
50                    
51  =============================================  =============================================
52  Running on a linux workstation:  Running uncoupled on a linux workstation:
53    
54  5. Compile code:  5. Compile code:
55   cd MITgcm   cd MITgcm
56   mkdir bin exe   mkdir bin exe
57   cd bin   cd bin
58   ../tools/genmake2 -mods=../../code   \cp ../../code/* .
59     ../tools/genmake2
60   make depend   make depend
61   make -j   make -j 16
62    
63  6. Model execution:  6. Model execution:
64   cd ../exe   cd ../exe
# Line 59  Running on a linux workstation: Line 68  Running on a linux workstation:
68   ./mitgcmuv >& output.txt &   ./mitgcmuv >& output.txt &
69    
70  =============================================  =============================================
71  Running on gemini.  Running uncoupled on lozenge.
72    
73  5. Compile code:  5. Compile code:
74   cd MITgcm   cd MITgcm
# Line 67  Running on gemini. Line 76  Running on gemini.
76   cd bin   cd bin
77   \cp ../../code/* .   \cp ../../code/* .
78   \mv SIZE.h_2 SIZE.h   \mv SIZE.h_2 SIZE.h
79   ../tools/genmake2 -of ../tools/build_options/linux_ia64_ifort+mpi_altix_jpl   \mv CPP_EEOPTIONS.h_UNCOUPLED CPP_EEOPTIONS.h
80     ../tools/genmake2 -of ../../code/linux_amd64_gfortran_lozenge -mpi
81   make depend   make depend
82   make -j   make -j
83    
84  6. Model execution:  6. Model execution:
85   cd ../exe   cd ../exe
86   cp ../../run_template/* .   cp ../../run_template/* .
87     cp ../../input/* .
88     cp ../bin/mitgcmuv .
89     mpiexec -np 2 ./mitgcmuv >& output.txt
90    
91    =============================================
92    Running uncoupled on spiral.
93    
94    5. Compile code:
95     mpd&
96     cd MITgcm
97     mkdir bin exe
98     cd bin
99     \cp ../../code/* .
100     \mv SIZE.h_2 SIZE.h
101     \mv CPP_EEOPTIONS.h_UNCOUPLED CPP_EEOPTIONS.h
102     ../tools/genmake2 -of ../../code/linux_gfortran_spiral -mpi
103     make depend
104     make -j
105    
106    6. Model execution:
107     cd ../exe
108     cp ../../run_template/* .
109     cp ../../input/* .
110   cp ../bin/mitgcmuv .   cp ../bin/mitgcmuv .
111   bsub < jobfile   mpiexec -np 2 ./mitgcmuv >& output.txt
  bjobs  
112    
113  =============================================  =============================================
114  Running MITgcm and MPMice on gemini.  Running MITgcm and MPMice on lozenge.
115    
116  5. Compile code:  5. Compile code:
117   cd MITgcm   cd MITgcm
# Line 89  Running MITgcm and MPMice on gemini. Line 121  Running MITgcm and MPMice on gemini.
121   \cp ../../code/* .   \cp ../../code/* .
122   \mv SIZE.h_2 SIZE.h   \mv SIZE.h_2 SIZE.h
123   \mv CPP_EEOPTIONS.h_CPL CPP_EEOPTIONS.h   \mv CPP_EEOPTIONS.h_CPL CPP_EEOPTIONS.h
124   ../tools/genmake2 -of ../tools/build_options/linux_ia64_ifort+mpi_altix_jpl   ../tools/genmake2 -of ../../code/linux_amd64_gfortran_lozenge -mpi
125   make depend   make depend
126   make -j   make -j
127    
128   cd ICE_DIR   cd ..
129   make   mkdir ice
130     cp ../../beaufort_020212/MITgcm/ice/* .
131   ONCE ONLY: (only need to redo if geometry changes)   cp /homes/hantran/MPM_Han/PM2/bin/PM2 .
  cd MITgcm/ice  
  mpirun -np 1 ICE_DIR/PM2-Pre  
   
  cd MITgcm  
132    
133  6. Model execution:  6. Model execution:
134   cd ..   \rm out err a.out
  \rm out err  
135   mkdir ocean   mkdir ocean
136   cd ocean   cd ocean
137   \rm *   \rm *
138   cp ../../run_template/* .   \cp ../../run_template/* .
139     \cp ../../input/* .
140   cd ..   cd ..
  cp -r ../ice .  
141   \cp bin/mitgcmuv .   \cp bin/mitgcmuv .
142   \cp ice/PM2 .   mpiexec -np 2 mitgcmuv : -np 1 PM2 > a.out &
  bsub < ocean/jobfile2  
  bjobs  

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.22