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

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

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


Revision 1.6 - (hide annotations) (download)
Mon Aug 8 18:56:39 2011 UTC (13 years, 11 months ago) by dimitri
Branch: MAIN
Changes since 1.5: +1 -1 lines
File MIME type: text/plain
limit to 16 concurrent compiles

1 dimitri 1.1 Instructions for running the "beaufort" 40x40x50 configuration
2     face=6; ix=101:300; jx=290:449; kx=1:50;
3    
4 dimitri 1.2 1. Set up and log in to cvs server
5     bash or sh shell: export CVSROOT=':pserver:cvsanon@mitgcm.org:/u/gcmpack'
6     tcsh or csh shell: setenv CVSROOT ':pserver:cvsanon@mitgcm.org:/u/gcmpack'
7     cvs login ( enter the CVS password: "cvsanon" )
8    
9     2. Get code, input, and README files from CVS server
10     cvs co -d beaufort MITgcm_contrib/MPMice/beaufort
11     cd beaufort
12     cvs co MITgcm_code
13    
14     3. Obtain copies of following directories and put them in beaufort
15     ftp://ecco2.jpl.nasa.gov/data1/beaufort/run_template
16 dimitri 1.4 ftp://ecco2.jpl.nasa.gov/data1/data/atmos/blend_forcing/cube78_forcing
17 dimitri 1.2 (Note the forcing files in cube78_forcing span many years.
18     To save time, you only need to download the years of interest,
19     *92 for example below, plus the runoff-360x180x12.bin file)
20 dimitri 1.1
21 dimitri 1.3 4. Get the ice code, PM2 (this item needs to be updated)
22 dimitri 1.1 Obtain directories PM2/F95 and PM2/config from ...??
23     call the directory containting PM2, ICE_DIR,
24     in my case ICE_DIR=/dm5/bep/sulsky/seaice on pollux
25 dimitri 1.3 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 dimitri 1.1
35     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
37     PETSCDIR = /workg/bep/sulsky/Packages/petsc-2.3.3-p8 on gemini
38     If petsc is installed elsewhere, then change the directory specification.
39     (The configure command to build petsc on gemini or pollux is
40     ./config/configure.py --with-debug=1 --with-fc=/opt/intel/fc/9.1.051/bin/ifort
41     --with-f90=/opt/intel/fc/9.1.051/bin/ifort --with-mpi-dir=/opt/mpich/ch-p4
42     --with-blas-lapack-dir=/opt/intel/mkl/9.1.023/lib/64 for debuggable code and
43    
44     ./config/configure.py --with-debug=0 --with-fc=/opt/intel/fc/9.1.051/bin/ifort
45     --with-f90=/opt/intel/fc/9.1.051/bin/ifort --with-mpi-dir=/opt/mpich/ch-p4
46     --with-blas-lapack-dir=/opt/intel/mkl/9.1.023/lib/64 for optimized code.)
47    
48     Input files go in MITgcm/ice (pm2input, pm2geometry) After compile step, run
49     PM2-Pre once to generate pm2_grid.nc pm2_part.nc with initial geometry.
50    
51     =============================================
52     Running on a linux workstation:
53    
54     5. Compile code:
55     cd MITgcm
56     mkdir bin exe
57     cd bin
58     ../tools/genmake2 -mods=../../code
59     make depend
60 dimitri 1.6 make -j 16
61 dimitri 1.1
62     6. Model execution:
63     cd ../exe
64     cp ../../run_template/* .
65 dimitri 1.2 cp ../../input/* .
66 dimitri 1.1 cp ../bin/mitgcmuv .
67     ./mitgcmuv >& output.txt &
68    
69     =============================================
70 dimitri 1.5 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 dimitri 1.1 Running on gemini.
91    
92     5. Compile code:
93     cd MITgcm
94     mkdir bin exe
95     cd bin
96     \cp ../../code/* .
97     \mv SIZE.h_2 SIZE.h
98     ../tools/genmake2 -of ../tools/build_options/linux_ia64_ifort+mpi_altix_jpl
99     make depend
100     make -j
101    
102     6. Model execution:
103     cd ../exe
104     cp ../../run_template/* .
105 dimitri 1.3 cp ../../input/* .
106 dimitri 1.1 cp ../bin/mitgcmuv .
107 dimitri 1.5 qsub jobfile
108     qstat
109 dimitri 1.1
110     =============================================
111     Running MITgcm and MPMice on gemini.
112    
113     5. Compile code:
114     cd MITgcm
115     mkdir bin
116     cd bin
117     \rm *
118     \cp ../../code/* .
119     \mv SIZE.h_2 SIZE.h
120     \mv CPP_EEOPTIONS.h_CPL CPP_EEOPTIONS.h
121     ../tools/genmake2 -of ../tools/build_options/linux_ia64_ifort+mpi_altix_jpl
122     make depend
123     make -j
124 dimitri 1.3
125     cd ..
126     cp -r /workg/bep/dmenemen/MITgcm/ice .
127 dimitri 1.1
128     6. Model execution:
129     \rm out err
130     mkdir ocean
131     cd ocean
132     \rm *
133 dimitri 1.3 \cp ../../run_template/* .
134     \cp ../../input/* .
135 dimitri 1.1 cd ..
136 dimitri 1.3 \cp -r /workg/bep/dmenemen/MITgcm/ice .
137 dimitri 1.1 \cp bin/mitgcmuv .
138     \cp ice/PM2 .
139     bsub < ocean/jobfile2
140     bjobs

  ViewVC Help
Powered by ViewVC 1.1.22