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

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

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


Revision 1.2 - (show annotations) (download)
Mon Jun 1 05:43:47 2009 UTC (16 years, 2 months ago) by dimitri
Branch: MAIN
Changes since 1.1: +17 -19 lines
File MIME type: text/plain
updating instructions to work with MITgcm_contrib

1 Instructions for running the "beaufort" 40x40x50 configuration
2 face=6; ix=101:300; jx=290:449; kx=1:50;
3
4 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 ftp://ecco2.jpl.nasa.gov/data1/data/blend_forcing/cube78_forcing
17 (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
21 4. Get the ice code, PM2
22 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 ICE_DIR=/workg/bep/sulsky/seacie on gemini
26
27 The PM2/config/hosts files for gemini and pollux assume petsc is installed in
28 PETSCDIR = /dm5/bep/sulsky/Packages/petsc-2.3.3-p8 on pollux
29 PETSCDIR = /workg/bep/sulsky/Packages/petsc-2.3.3-p8 on gemini
30 If petsc is installed elsewhere, then change the directory specification.
31 (The configure command to build petsc on gemini or pollux is
32 ./config/configure.py --with-debug=1 --with-fc=/opt/intel/fc/9.1.051/bin/ifort
33 --with-f90=/opt/intel/fc/9.1.051/bin/ifort --with-mpi-dir=/opt/mpich/ch-p4
34 --with-blas-lapack-dir=/opt/intel/mkl/9.1.023/lib/64 for debuggable code and
35
36 ./config/configure.py --with-debug=0 --with-fc=/opt/intel/fc/9.1.051/bin/ifort
37 --with-f90=/opt/intel/fc/9.1.051/bin/ifort --with-mpi-dir=/opt/mpich/ch-p4
38 --with-blas-lapack-dir=/opt/intel/mkl/9.1.023/lib/64 for optimized code.)
39
40 Input files go in MITgcm/ice (pm2input, pm2geometry) After compile step, run
41 PM2-Pre once to generate pm2_grid.nc pm2_part.nc with initial geometry.
42
43 =============================================
44 Running on a linux workstation:
45
46 5. Compile code:
47 cd MITgcm
48 mkdir bin exe
49 cd bin
50 ../tools/genmake2 -mods=../../code
51 make depend
52 make -j
53
54 6. Model execution:
55 cd ../exe
56 cp ../../run_template/* .
57 cp ../../input/* .
58 cp ../bin/mitgcmuv .
59 ./mitgcmuv >& output.txt &
60
61 =============================================
62 Running on gemini.
63
64 5. Compile code:
65 cd MITgcm
66 mkdir bin exe
67 cd bin
68 \cp ../../code/* .
69 \mv SIZE.h_2 SIZE.h
70 ../tools/genmake2 -of ../tools/build_options/linux_ia64_ifort+mpi_altix_jpl
71 make depend
72 make -j
73
74 6. Model execution:
75 cd ../exe
76 cp ../../run_template/* .
77 cp ../bin/mitgcmuv .
78 bsub < jobfile
79 bjobs
80
81 =============================================
82 Running MITgcm and MPMice on gemini.
83
84 5. Compile code:
85 cd MITgcm
86 mkdir bin
87 cd bin
88 \rm *
89 \cp ../../code/* .
90 \mv SIZE.h_2 SIZE.h
91 \mv CPP_EEOPTIONS.h_CPL CPP_EEOPTIONS.h
92 ../tools/genmake2 -of ../tools/build_options/linux_ia64_ifort+mpi_altix_jpl
93 make depend
94 make -j
95
96 cd ICE_DIR
97 make
98
99 ONCE ONLY: (only need to redo if geometry changes)
100 cd MITgcm/ice
101 mpirun -np 1 ICE_DIR/PM2-Pre
102
103 cd MITgcm
104
105 6. Model execution:
106 cd ..
107 \rm out err
108 mkdir ocean
109 cd ocean
110 \rm *
111 cp ../../run_template/* .
112 cd ..
113 cp -r ../ice .
114 \cp bin/mitgcmuv .
115 \cp ice/PM2 .
116 bsub < ocean/jobfile2
117 bjobs

  ViewVC Help
Powered by ViewVC 1.1.22