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 |
82 |
6. Model execution: |
6. Model execution: |
83 |
cd ../exe |
cd ../exe |
84 |
cp ../../run_template/* . |
cp ../../run_template/* . |
85 |
|
cp ../../input/* . |
86 |
cp ../bin/mitgcmuv . |
cp ../bin/mitgcmuv . |
87 |
bsub < jobfile |
bsub < jobfile |
88 |
bjobs |
bjobs |
101 |
../tools/genmake2 -of ../tools/build_options/linux_ia64_ifort+mpi_altix_jpl |
../tools/genmake2 -of ../tools/build_options/linux_ia64_ifort+mpi_altix_jpl |
102 |
make depend |
make depend |
103 |
make -j |
make -j |
104 |
|
|
105 |
cd ICE_DIR |
cd .. |
106 |
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 |
|
107 |
|
|
108 |
6. Model execution: |
6. Model execution: |
|
cd .. |
|
109 |
\rm out err |
\rm out err |
110 |
mkdir ocean |
mkdir ocean |
111 |
cd ocean |
cd ocean |
112 |
\rm * |
\rm * |
113 |
cp ../../run_template/* . |
\cp ../../run_template/* . |
114 |
|
\cp ../../input/* . |
115 |
cd .. |
cd .. |
116 |
cp -r ../ice . |
\cp -r /workg/bep/dmenemen/MITgcm/ice . |
117 |
\cp bin/mitgcmuv . |
\cp bin/mitgcmuv . |
118 |
\cp ice/PM2 . |
\cp ice/PM2 . |
119 |
bsub < ocean/jobfile2 |
bsub < ocean/jobfile2 |