| 5 |
########################################################################## |
########################################################################## |
| 6 |
# getting the code from anonymous CVS server |
# getting the code from anonymous CVS server |
| 7 |
|
|
| 8 |
bash or sh shell: |
cvs co -P MITgcm_contrib/high_res_cube/README.cs32 |
| 9 |
$ export CVSROOT=':pserver:cvsanon@mitgcm.org:/u/gcmpack' |
cvs co -P MITgcm_contrib/high_res_cube/code-mods |
| 10 |
$ cvs login |
cvs co -P MITgcm_contrib/high_res_cube/input |
| 11 |
( enter the CVS password: "cvsanon" ) |
cvs co -P MITgcm_contrib/high_res_cube/results |
| 12 |
|
cvs co -P MITgcm_code |
| 13 |
tcsh or csh shell: |
cvs co -P MITgcm/verification/global_ocean.cs32x15/input |
| 14 |
$ setenv CVSROOT ':pserver:cvsanon@mitgcm.org:/u/gcmpack' |
cvs co -P MITgcm/verification/tutorial_held_suarez_cs/input |
|
$ cvs login |
|
|
( enter the CVS password: "cvsanon" ) |
|
|
|
|
|
cvs co MITgcm_contrib/high_res_cube/README.cs32 |
|
|
cvs co MITgcm_contrib/high_res_cube/code-mods |
|
|
cvs co MITgcm_contrib/high_res_cube/input |
|
|
cvs co MITgcm_contrib/high_res_cube/results |
|
|
cvs co MITgcm_code |
|
|
cvs co MITgcm/verification/global_ocean.cs32x15 |
|
|
cvs co MITgcm/verification/tutorial_held_suarez_cs/input |
|
| 15 |
|
|
| 16 |
########################################################################## |
########################################################################## |
| 17 |
# 32*32*6*15, 1-cpu cube sphere |
# 32*32*6*15, 1-cpu cube sphere |
| 18 |
|
|
| 19 |
cd MITgcm/verification/global_ocean.cs32x15/code |
cd MITgcm |
| 20 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
mkdir build run |
| 21 |
\cp ../../../utils/exch2/code-mods/s12t_16x32/* . |
cd build |
|
\rm CPP_EEOPTIONS.h |
|
|
cd ../build |
|
| 22 |
\rm * |
\rm * |
| 23 |
../../../tools/genmake2 -mods=../code |
\cp ../../MITgcm_contrib/high_res_cube/code-mods/* . |
| 24 |
|
\rm CPP_EEOPTIONS.h |
| 25 |
|
../tools/genmake2 |
| 26 |
make depend |
make depend |
| 27 |
make |
make -j |
| 28 |
cd .. |
cd ../run |
| 29 |
mkdir run |
\rm * |
| 30 |
cd run |
\cp ../verification/tutorial_held_suarez_cs/input/grid* . |
| 31 |
\rm * |
\cp ../verification/global_ocean.cs32x15/input/lev_*_cs_15k.bin . |
| 32 |
\cp ../../tutorial_held_suarez_cs/input/grid* . |
\cp ../verification/global_ocean.cs32x15/input/bathy_Hmin50.bin . |
| 33 |
\cp ../input/* . |
\cp ../../MITgcm_contrib/high_res_cube/input/* . |
|
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
|
| 34 |
../build/mitgcmuv >& output.txt |
../build/mitgcmuv >& output.txt |
| 35 |
|
|
| 36 |
comparison output is in: |
emacs output.txt ../../MITgcm_contrib/high_res_cube/results/output.txt |
|
../../../../MITgcm_contrib/high_res_cube/results/output.txt |
|
| 37 |
|
|
| 38 |
to use matlab to look at the output |
to use matlab to look at the output |
| 39 |
matlab |
matlab |
| 54 |
subplot(223), mypcolor(vice(:,:,3)'); colorbar, title('vice, tile 3') |
subplot(223), mypcolor(vice(:,:,3)'); colorbar, title('vice, tile 3') |
| 55 |
subplot(224), mypcolor(vice(:,:,6)'); colorbar, title('vice, tile 6') |
subplot(224), mypcolor(vice(:,:,6)'); colorbar, title('vice, tile 6') |
| 56 |
|
|
| 57 |
|
|
| 58 |
########################################################################## |
########################################################################## |
| 59 |
# 32*32*6*15, 17-tile, 1-cpu cube sphere experiment |
# 32*32*6*15, 176-tile, 1-cpu cube sphere experiment |
| 60 |
|
# example that has 16 blank tiles |
| 61 |
|
|
|
cd MITgcm/verification/global_ocean.cs32x15/code |
|
|
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
|
|
\cp ../code_alt/code.176t_8x4/* . |
|
| 62 |
cd ../build |
cd ../build |
| 63 |
\rm * |
\rm * |
| 64 |
../../../tools/genmake2 -mods=../code |
\cp ../../MITgcm_contrib/high_res_cube/code-mods/* . |
| 65 |
|
\cp ../utils/exch2/code-mods/s176t_8x4/SIZE.h . |
| 66 |
|
ex - SIZE.h >> /dev/null <<EOF |
| 67 |
|
/OLx = |
| 68 |
|
c |
| 69 |
|
& OLx = 5, |
| 70 |
|
. |
| 71 |
|
/OLy = |
| 72 |
|
c |
| 73 |
|
& OLy = 5, |
| 74 |
|
. |
| 75 |
|
w |
| 76 |
|
q |
| 77 |
|
EOF |
| 78 |
|
\cp ../verification/global_ocean.cs32x15/code_alt/code.176t_8x4/* . |
| 79 |
|
\rm CPP_EEOPTIONS.h |
| 80 |
|
../tools/genmake2 |
| 81 |
make depend |
make depend |
| 82 |
make |
make -j |
| 83 |
cd .. |
cd ../run |
| 84 |
mkdir run |
\rm * |
| 85 |
cd run |
\cp ../verification/tutorial_held_suarez_cs/input/grid* . |
| 86 |
\rm * |
\cp ../verification/global_ocean.cs32x15/input/lev_*_cs_15k.bin . |
| 87 |
\cp ../../tutorial_held_suarez_cs/input/grid* . |
\cp ../verification/global_ocean.cs32x15/input/bathy_Hmin50.bin . |
| 88 |
\cp ../input/* . |
\cp ../utils/exch2/code-mods/data.exch2.16_blk data.exch2 |
| 89 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
\cp ../../MITgcm_contrib/high_res_cube/input/* . |
| 90 |
../build/mitgcmuv >& output.txt |
../build/mitgcmuv >& output.txt |
| 91 |
|
|
|
########################################################################## |
|
|
# 32*32*6*15, 2-cpu cube sphere on the altices with ifort |
|
| 92 |
|
|
| 93 |
cd MITgcm/verification/global_ocean.cs32x15/code |
########################################################################## |
| 94 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
# 32*32*6*15, 2-cpu cube sphere on the NAS altices with ifort |
|
\cp ../../../utils/exch2/code-mods/s12t_16x32/* . |
|
|
\cp SIZE.h_mpi SIZE.h |
|
| 95 |
|
|
| 96 |
cd ../build |
cd MITgcm |
| 97 |
\rm * |
mkdir build run |
| 98 |
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_ifort+mpi_altix_nas |
cd build |
| 99 |
|
\rm * |
| 100 |
|
\cp ../../MITgcm_contrib/high_res_cube/code-mods/* . |
| 101 |
|
\mv SIZE.h_mpi SIZE.h |
| 102 |
|
../tools/genmake2 -of ../../MITgcm_contrib/high_res_cube/code-mods/linux_ia64_ifort+mpi_altix_nas |
| 103 |
make depend |
make depend |
| 104 |
make -j |
make -j |
| 105 |
|
cd ../run |
| 106 |
|
\rm * |
| 107 |
|
\cp ../verification/tutorial_held_suarez_cs/input/grid* . |
| 108 |
|
\cp ../verification/global_ocean.cs32x15/input/lev_*_cs_15k.bin . |
| 109 |
|
\cp ../verification/global_ocean.cs32x15/input/bathy_Hmin50.bin . |
| 110 |
|
\cp ../../MITgcm_contrib/high_res_cube/input/* . |
| 111 |
|
mpirun -np 2 ../build/mitgcmuv |
| 112 |
|
|
| 113 |
|
|
| 114 |
cd .. |
########################################################################## |
| 115 |
mkdir run |
# 32*32*6*15, 2-cpu cube sphere on the JPL altices with ifort |
| 116 |
cd run |
|
| 117 |
\rm * |
cd MITgcm |
| 118 |
\cp ../../tutorial_held_suarez_cs/input/grid* . |
mkdir build run |
| 119 |
\cp ../input/* . |
cd build |
| 120 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
\rm * |
| 121 |
|
\cp ../../MITgcm_contrib/high_res_cube/code-mods/* . |
| 122 |
|
\mv SIZE.h_mpi SIZE.h |
| 123 |
|
../tools/genmake2 -of ../tools/build_options/linux_ia64_ifort+mpi_altix_jpl |
| 124 |
|
make depend |
| 125 |
|
make -j |
| 126 |
|
cd ../run |
| 127 |
|
\rm * |
| 128 |
|
\cp ../verification/tutorial_held_suarez_cs/input/grid* . |
| 129 |
|
\cp ../verification/global_ocean.cs32x15/input/lev_*_cs_15k.bin . |
| 130 |
|
\cp ../verification/global_ocean.cs32x15/input/bathy_Hmin50.bin . |
| 131 |
|
\cp ../../MITgcm_contrib/high_res_cube/input/* . |
| 132 |
mpirun -np 2 ../build/mitgcmuv |
mpirun -np 2 ../build/mitgcmuv |