Instructions for setting up a cube-sphere integration with sea-ice on the cs32 grid. Is meant to be used as a preliminary sanity check for the cs510 configuration. ########################################################################## # getting the code from anonymous CVS server bash or sh shell: $ export CVSROOT=':pserver:cvsanon@mitgcm.org:/u/gcmpack' $ cvs login ( enter the CVS password: "cvsanon" ) tcsh or csh shell: $ setenv CVSROOT ':pserver:cvsanon@mitgcm.org:/u/gcmpack' $ cvs login ( enter the CVS password: "cvsanon" ) cvs co MITgcm_contrib/high_res_cube/README.cs32 cvs co -P 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 ########################################################################## # 32*32*6*15, 1-cpu cube sphere cd MITgcm mkdir build run cd build \rm * \cp ../../MITgcm_contrib/high_res_cube/code-mods/* . \rm CPP_EEOPTIONS.h ../tools/genmake2 make depend make -j cd ../run \rm * \cp ../verification/tutorial_held_suarez_cs/input/grid* . \cp ../verification/global_ocean.cs32x15/input/lev_*_cs_15k.bin . \cp ../verification/global_ocean.cs32x15/input/bathy_Hmin50.bin . \cp ../../MITgcm_contrib/high_res_cube/input/* . ../build/mitgcmuv >& output.txt emacs output.txt ../../MITgcm_contrib/high_res_cube/results/output.txt to use matlab to look at the output matlab for fld={'SIuice','SIvice','SIheff','SIarea','oceQsw', ... 'surForcT','oceTAUX','oceTAUY','surForcS'} tmp=permute(readbin([fld{1} '.0000000072.data'],[32,6,32]),[1 3 2]); cx=[min(tmp(:)) max(tmp(:))]; clf, plot_cube, title(fld{1}), pause end heff=permute(readbin(['SIheff.0000000072.data'],[32,6,32]),[1 3 2]); mask=0*heff; mask(find(heff>.001))=1; uice=mask.*permute(readbin(['SIuice.0000000072.data'],[32,6,32]),[1 3 2]); vice=mask.*permute(readbin(['SIvice.0000000072.data'],[32,6,32]),[1 3 2]); clf subplot(221), mypcolor(uice(:,:,3)'); colorbar, title('uice, tile 3') subplot(222), mypcolor(uice(:,:,6)'); colorbar, title('uice, tile 6') subplot(223), mypcolor(vice(:,:,3)'); colorbar, title('vice, tile 3') subplot(224), mypcolor(vice(:,:,6)'); colorbar, title('vice, tile 6') ########################################################################## # 32*32*6*15, 17-tile, 1-cpu cube sphere experiment # needs fixing; does not work as of checkpoint58x_post # see discussion on MITgcm-devel cd ../build \rm * \cp ../../MITgcm_contrib/high_res_cube/code-mods/* . \cp ../verification/global_ocean.cs32x15/code_alt/code.176t_8x4/* . \rm CPP_EEOPTIONS.h ../tools/genmake2 make depend make -j cd ../run \rm * \cp ../verification/tutorial_held_suarez_cs/input/grid* . \cp ../verification/global_ocean.cs32x15/input/lev_*_cs_15k.bin . \cp ../verification/global_ocean.cs32x15/input/bathy_Hmin50.bin . \cp ../../MITgcm_contrib/high_res_cube/input/* . ../build/mitgcmuv >& output.txt ########################################################################## # 32*32*6*15, 2-cpu cube sphere on the NAS altices with ifort cd MITgcm mkdir build run cd build \rm * \cp ../../MITgcm_contrib/high_res_cube/code-mods/* . \cp ../utils/exch2/code-mods/s12t_16x32/* . \mv SIZE.h_mpi SIZE.h ../tools/genmake2 -of ../../MITgcm_contrib/high_res_cube/code-mods/linux_ia64_ifort+mpi_altix_nas make depend make -j cd ../run \rm * \cp ../verification/tutorial_held_suarez_cs/input/grid* . \cp ../verification/global_ocean.cs32x15/input/lev_*_cs_15k.bin . \cp ../verification/global_ocean.cs32x15/input/bathy_Hmin50.bin . \cp ../../MITgcm_contrib/high_res_cube/input/* . mpirun -np 2 ../build/mitgcmuv ########################################################################## # 32*32*6*15, 2-cpu cube sphere on the JPL altices with ifort cd MITgcm mkdir build run cd build \rm * \cp ../../MITgcm_contrib/high_res_cube/code-mods/* . \cp ../utils/exch2/code-mods/s12t_16x32/* . \mv SIZE.h_mpi SIZE.h ../tools/genmake2 -of ../tools/build_options/linux_ia64_ifort+mpi_altix_jpl make depend make -j cd ../run \rm * \cp ../verification/tutorial_held_suarez_cs/input/grid* . \cp ../verification/global_ocean.cs32x15/input/lev_*_cs_15k.bin . \cp ../verification/global_ocean.cs32x15/input/bathy_Hmin50.bin . \cp ../../MITgcm_contrib/high_res_cube/input/* . mpirun -np 2 ../build/mitgcmuv