/[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.9 by dimitri, Wed Mar 14 05:32:10 2012 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     \mv CPP_EEOPTIONS.h_UNCOUPLED CPP_EEOPTIONS.h
60     ../tools/genmake2
61   make depend   make depend
62   make -j   make -j 16
63    
64  6. Model execution:  6. Model execution:
65   cd ../exe   cd ../exe
# Line 59  Running on a linux workstation: Line 69  Running on a linux workstation:
69   ./mitgcmuv >& output.txt &   ./mitgcmuv >& output.txt &
70    
71  =============================================  =============================================
72  Running on gemini.  Running uncoupled on lozenge.
73    
74  5. Compile code:  5. Compile code:
75   cd MITgcm   cd MITgcm
# Line 67  Running on gemini. Line 77  Running on gemini.
77   cd bin   cd bin
78   \cp ../../code/* .   \cp ../../code/* .
79   \mv SIZE.h_2 SIZE.h   \mv SIZE.h_2 SIZE.h
80   ../tools/genmake2 -of ../tools/build_options/linux_ia64_ifort+mpi_altix_jpl   \mv CPP_EEOPTIONS.h_UNCOUPLED CPP_EEOPTIONS.h
81     ../tools/genmake2 -of ../../code/linux_amd64_gfortran_lozenge -mpi
82   make depend   make depend
83   make -j   make -j
84    
85  6. Model execution:  6. Model execution:
86   cd ../exe   cd ../exe
87   cp ../../run_template/* .   cp ../../run_template/* .
88     cp ../../input/* .
89   cp ../bin/mitgcmuv .   cp ../bin/mitgcmuv .
90   bsub < jobfile   mpiexec -np 2 ./mitgcmuv >& output.txt
  bjobs  
91    
92  =============================================  =============================================
93  Running MITgcm and MPMice on gemini.  Running MITgcm and MPMice on lozenge.
94    
95  5. Compile code:  5. Compile code:
96   cd MITgcm   cd MITgcm
# Line 89  Running MITgcm and MPMice on gemini. Line 100  Running MITgcm and MPMice on gemini.
100   \cp ../../code/* .   \cp ../../code/* .
101   \mv SIZE.h_2 SIZE.h   \mv SIZE.h_2 SIZE.h
102   \mv CPP_EEOPTIONS.h_CPL CPP_EEOPTIONS.h   \mv CPP_EEOPTIONS.h_CPL CPP_EEOPTIONS.h
103   ../tools/genmake2 -of ../tools/build_options/linux_ia64_ifort+mpi_altix_jpl   ../tools/genmake2 -of ../../code/linux_amd64_gfortran_lozenge -mpi
104   make depend   make depend
105   make -j   make -j
106    
107   cd ICE_DIR   cd ..
108   make   mkdir ice
109     cp ../../beaufort_020212/MITgcm/ice/* .
110   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  
111    
112  6. Model execution:  6. Model execution:
113   cd ..   \rm out err a.out
  \rm out err  
114   mkdir ocean   mkdir ocean
115   cd ocean   cd ocean
116   \rm *   \rm *
117   cp ../../run_template/* .   \cp ../../run_template/* .
118     \cp ../../input/* .
119   cd ..   cd ..
  cp -r ../ice .  
120   \cp bin/mitgcmuv .   \cp bin/mitgcmuv .
121   \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.9

  ViewVC Help
Powered by ViewVC 1.1.22