| 26 |
########################################################################## |
########################################################################## |
| 27 |
# 32*32*6*15, 1-cpu cube sphere |
# 32*32*6*15, 1-cpu cube sphere |
| 28 |
|
|
| 29 |
cd MITgcm/verification/global_ocean.cs32x15/code |
cd MITgcm |
| 30 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
mkdir build run |
| 31 |
\cp ../../../utils/exch2/code-mods/s12t_16x32/* . |
cd build |
| 32 |
|
\rm * |
| 33 |
|
\cp ../../MITgcm_contrib/high_res_cube/code-mods/* . |
| 34 |
|
\cp ../utils/exch2/code-mods/s12t_16x32/* . |
| 35 |
|
ex - SIZE.h >> /dev/null <<EOF |
| 36 |
|
/OLx = |
| 37 |
|
c |
| 38 |
|
& OLx = 5, |
| 39 |
|
. |
| 40 |
|
/OLy = |
| 41 |
|
c |
| 42 |
|
& OLy = 5, |
| 43 |
|
. |
| 44 |
|
w |
| 45 |
|
q |
| 46 |
|
EOF |
| 47 |
\rm CPP_EEOPTIONS.h |
\rm CPP_EEOPTIONS.h |
| 48 |
cd ../build |
../tools/genmake2 |
|
\rm * |
|
|
../../../tools/genmake2 -mods=../code |
|
| 49 |
make depend |
make depend |
| 50 |
make |
make -j |
| 51 |
cd .. |
cd ../run |
| 52 |
mkdir run |
\rm * |
| 53 |
cd run |
\cp ../verification/tutorial_held_suarez_cs/input/grid* . |
| 54 |
\rm * |
\cp ../verification/global_ocean.cs32x15/input/lev_*_cs_15k.bin . |
| 55 |
\cp ../../tutorial_held_suarez_cs/input/grid* . |
\cp ../verification/global_ocean.cs32x15/input/bathy_Hmin50.bin . |
| 56 |
\cp ../input/* . |
\cp ../../MITgcm_contrib/high_res_cube/input/* . |
|
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
|
| 57 |
../build/mitgcmuv >& output.txt |
../build/mitgcmuv >& output.txt |
| 58 |
|
|
| 59 |
comparison output is in: |
emacs output.txt ../../MITgcm_contrib/high_res_cube/results/output.txt |
|
../../../../MITgcm_contrib/high_res_cube/results/output.txt |
|
| 60 |
|
|
| 61 |
to use matlab to look at the output |
to use matlab to look at the output |
| 62 |
matlab |
matlab |
| 77 |
subplot(223), mypcolor(vice(:,:,3)'); colorbar, title('vice, tile 3') |
subplot(223), mypcolor(vice(:,:,3)'); colorbar, title('vice, tile 3') |
| 78 |
subplot(224), mypcolor(vice(:,:,6)'); colorbar, title('vice, tile 6') |
subplot(224), mypcolor(vice(:,:,6)'); colorbar, title('vice, tile 6') |
| 79 |
|
|
| 80 |
|
|
| 81 |
########################################################################## |
########################################################################## |
| 82 |
# 32*32*6*15, 17-tile, 1-cpu cube sphere experiment |
# 32*32*6*15, 17-tile, 1-cpu cube sphere experiment |
| 83 |
|
# needs fixing; does not work as of checkpoint58x_post |
| 84 |
|
# see discussion on MITgcm-devel |
| 85 |
|
|
|
cd MITgcm/verification/global_ocean.cs32x15/code |
|
|
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
|
|
\cp ../code_alt/code.176t_8x4/* . |
|
| 86 |
cd ../build |
cd ../build |
| 87 |
\rm * |
\rm * |
| 88 |
../../../tools/genmake2 -mods=../code |
\cp ../../MITgcm_contrib/high_res_cube/code-mods/* . |
| 89 |
|
\cp ../verification/global_ocean.cs32x15/code_alt/code.176t_8x4/* . |
| 90 |
|
\rm CPP_EEOPTIONS.h |
| 91 |
|
../tools/genmake2 |
| 92 |
make depend |
make depend |
| 93 |
make |
make -j |
| 94 |
cd .. |
cd ../run |
| 95 |
mkdir run |
\rm * |
| 96 |
cd run |
\cp ../verification/tutorial_held_suarez_cs/input/grid* . |
| 97 |
\rm * |
\cp ../verification/global_ocean.cs32x15/input/lev_*_cs_15k.bin . |
| 98 |
\cp ../../tutorial_held_suarez_cs/input/grid* . |
\cp ../verification/global_ocean.cs32x15/input/bathy_Hmin50.bin . |
| 99 |
\cp ../input/* . |
\cp ../../MITgcm_contrib/high_res_cube/input/* . |
|
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
|
| 100 |
../build/mitgcmuv >& output.txt |
../build/mitgcmuv >& output.txt |
| 101 |
|
|
| 102 |
|
|
| 103 |
########################################################################## |
########################################################################## |
| 104 |
# 32*32*6*15, 2-cpu cube sphere on the altices with ifort |
# 32*32*6*15, 2-cpu cube sphere on the NAS altices with ifort |
| 105 |
|
|
| 106 |
cd MITgcm/verification/global_ocean.cs32x15/code |
cd MITgcm |
| 107 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
mkdir build run |
| 108 |
\cp ../../../utils/exch2/code-mods/s12t_16x32/* . |
cd build |
| 109 |
|
\rm * |
| 110 |
|
\cp ../../MITgcm_contrib/high_res_cube/code-mods/* . |
| 111 |
|
\cp ../utils/exch2/code-mods/s12t_16x32/* . |
| 112 |
\cp SIZE.h_mpi SIZE.h |
\cp SIZE.h_mpi SIZE.h |
| 113 |
|
../tools/genmake2 -of ../../MITgcm_contrib/high_res_cube/code-mods/linux_ia64_ifort+mpi_altix_nas |
| 114 |
|
make depend |
| 115 |
|
make -j |
| 116 |
|
cd ../run |
| 117 |
|
\rm * |
| 118 |
|
\cp ../verification/tutorial_held_suarez_cs/input/grid* . |
| 119 |
|
\cp ../verification/global_ocean.cs32x15/input/lev_*_cs_15k.bin . |
| 120 |
|
\cp ../verification/global_ocean.cs32x15/input/bathy_Hmin50.bin . |
| 121 |
|
\cp ../../MITgcm_contrib/high_res_cube/input/* . |
| 122 |
|
mpirun -np 2 ../build/mitgcmuv |
| 123 |
|
|
| 124 |
cd ../build |
|
| 125 |
|
########################################################################## |
| 126 |
|
# 32*32*6*15, 2-cpu cube sphere on the JPL altices with ifort |
| 127 |
|
|
| 128 |
|
cd MITgcm |
| 129 |
|
mkdir build run |
| 130 |
|
cd build |
| 131 |
\rm * |
\rm * |
| 132 |
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_ifort+mpi_altix_nas |
\cp ../../MITgcm_contrib/high_res_cube/code-mods/* . |
| 133 |
|
\cp ../utils/exch2/code-mods/s12t_16x32/* . |
| 134 |
|
\cp SIZE.h_mpi SIZE.h |
| 135 |
|
../tools/genmake2 -of ../tools/build_options/linux_ia64_ifort+mpi_altix_jpl |
| 136 |
make depend |
make depend |
| 137 |
make -j |
make -j |
| 138 |
|
cd ../run |
| 139 |
cd .. |
\rm * |
| 140 |
mkdir run |
\cp ../verification/tutorial_held_suarez_cs/input/grid* . |
| 141 |
cd run |
\cp ../verification/global_ocean.cs32x15/input/lev_*_cs_15k.bin . |
| 142 |
\rm * |
\cp ../verification/global_ocean.cs32x15/input/bathy_Hmin50.bin . |
| 143 |
\cp ../../tutorial_held_suarez_cs/input/grid* . |
\cp ../../MITgcm_contrib/high_res_cube/input/* . |
|
\cp ../input/* . |
|
|
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
|
| 144 |
mpirun -np 2 ../build/mitgcmuv |
mpirun -np 2 ../build/mitgcmuv |