Instructions for setting up a cube-sphere integration with sea-ice. Date last tested: July 9, 2004. Code and input used for integrating cube9. ########################################################################## ########################################################################## # getting the code from anonymous CVS server cvs co MITgcm_contrib/high_res_cube/README_ice 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/testreport ########################################################################## ########################################################################## # 32*32*6*15, 1-cpu cube sphere cd MITgcm/verification/global_ocean.cs32x15/code \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . \cp ../../../utils/exch2/code-mods/s12t_16x32/* . cd ../build \rm * ../../../tools/genmake2 -mods=../code make depend make cd .. mkdir run cd run \rm * \cp ../input/* . \cp ../../../../MITgcm_contrib/high_res_cube/input/* . ../build/mitgcmuv >& output.txt comparison output is in: ../../../../MITgcm_contrib/high_res_cube/results/output.txt to use matlab to look at the output matlab for fld={'Eta','VICE','UICE','HEFF','AREA','Qsw','Qnet','FV','FU','EmPmR'} tmp=permute(readbin([fld{1} '.0000000020.data'],[32,6,32]),[1 3 2]); cx=[min(tmp(:)) max(tmp(:))]; clf, plot_cube, title(fld{1}), pause end heff=permute(readbin(['HEFF.0000000020.data'],[32,6,32]),[1 3 2]); mask=0*heff; mask(find(heff>.001))=1; uice=mask.*permute(readbin(['UICE.0000000020.data'],[32,6,32]),[1 3 2]); vice=mask.*permute(readbin(['VICE.0000000020.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 cd MITgcm/verification/global_ocean.cs32x15/code \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . \cp ../code_alt/code.176t_8x4/* . cd ../build \rm * ../../../tools/genmake2 -mods=../code make depend make cd .. mkdir run cd run \rm * \cp ../input/* . \cp ../../../../MITgcm_contrib/high_res_cube/input/* . ../build/mitgcmuv >& output.txt comparison output is in: ../../../../MITgcm_contrib/high_res_cube/results/output.txt to use matlab to look at the output matlab for fld={'Eta','VICE','UICE','HEFF','AREA','Qsw','Qnet','FV','FU','EmPmR'} tmp=permute(readbin([fld{1} '.0000000020.data'],[32,6,32]),[1 3 2]); cx=[min(tmp(:)) max(tmp(:))]; clf, plot_cube, title(fld{1}), pause end heff=permute(readbin(['HEFF.0000000020.data'],[32,6,32]),[1 3 2]); mask=0*heff; mask(find(heff>.001))=1; uice=mask.*permute(readbin(['UICE.0000000020.data'],[32,6,32]),[1 3 2]); vice=mask.*permute(readbin(['VICE.0000000020.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, 2-cpu cube sphere on the altices with efc cd MITgcm/verification/global_ocean.cs32x15/code \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . \cp ../../../utils/exch2/code-mods/s12t_16x32/* . \cp SIZE.h_mpi SIZE.h cd ../build \rm * ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi_altix make depend make -j cd .. mkdir run cd run \rm * \cp ../input/* . \cp ../../../../MITgcm_contrib/high_res_cube/input/* . mpirun -np 2 ../build/mitgcmuv ########################################################################## ########################################################################## # 510*510*6*50, 54-tile, 54-cpu cube sphere on the altices with efc # starting with pickup file from end of 1992 # requires input files in sudirectories run_template and ncep_rgau cd MITgcm/verification/global_ocean.cs32x15/code \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s54t_170x170/* . \cp packages.conf_hr packages.conf cd ../build \rm * ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi_altix make depend make -j cd .. mkdir run cd run \rm * \cp ../input/* . \cp ../../../../MITgcm_contrib/high_res_cube/input/* . qsub job_altix92_54t ########################################################################## ########################################################################## # 510*510*6*50, 216-cpu cube sphere on altix with ifort # requires input files in sudirectories run_template and ncep_rgau # these can be obained from lou:/u/menemenl/cube cd MITgcm/verification/global_ocean.cs32x15/code \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* . \cp SIZE.h_216 SIZE.h \cp packages.conf_hr packages.conf cd ../build \rm * ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_ifort+mpi_altix_nas make depend make -j 4 cd .. mkdir run cd run \rm * \cp ../input/* . \cp ../../../../MITgcm_contrib/high_res_cube/input/* . ln -sf ../../../../run_template/* . ln -sf pickup.0000290088.data.cube10 pickup.0000000216.data ln -sf pickup_seaice.0000290088.data.cube10 pickup_seaice.0000000216.data \cp ../build/mitgcmuv . qsub job_altix92 ########################################################################## ########################################################################## # 510*510*6*50, 216-tile, 54-cpu cube sphere on the altices with efc # requires input files in sudirectories run_template and ncep_rgau # presently residing under orion:/tmp1/dmenem/cube cd MITgcm/verification/global_ocean.cs32x15/code \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* . \cp SIZE.h_54 SIZE.h \cp packages.conf_hr packages.conf cd ../build \rm * ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi_altix make depend make -j cd .. mkdir run cd run \rm * \cp ../input/* . \cp ../../../../MITgcm_contrib/high_res_cube/input/* . qsub job_orion ########################################################################## ########################################################################## # 510*510*6*50, 205-tile, 41-cpu cube sphere on the altices with efc # requires input files in sudirectories run_template and ncep_rgau # presently residing under orion:/tmp1/dmenem/cube cd MITgcm/verification/global_ocean.cs32x15/code \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s205t_85x85/* . \cp SIZE.h_41 SIZE.h \cp packages.conf_hr packages.conf cd ../build \rm * ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi_altix make depend make -j cd .. mkdir run cd run \rm * \cp ../input/* . \cp ../../../../MITgcm_contrib/high_res_cube/input/* . qsub job_orion41 ########################################################################## ########################################################################## # 510*510*6*50, 1500-tile, 50-cpu cube sphere on the altices with efc # requires input files in sudirectories run_template and ncep_rgau # presently residing under orion:/tmp1/dmenem/cube cd MITgcm/verification/global_ocean.cs32x15/code \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s1500t_17x51/* . \cp SIZE.h_50 SIZE.h \cp packages.conf_hr packages.conf cd ../build \rm * ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi_altix make depend make -j cd .. mkdir run cd run \rm * \cp ../input/* . \cp ../../../../MITgcm_contrib/high_res_cube/input/* . qsub job_orion ########################################################################## ########################################################################## # matlab script for generating pChkptFreq nTimeSteps=26352; for niter0=216:26352:(26352*12) pChkptFreq=(niter0+nTimeSteps)*1200; day=pChkptFreq/24/60/60; disp(['niter0=' int2str(niter0) ',day=' int2str(day) ', ' ... datestr(datenum(1992,1,1)+day) ', pChkptFreq=' int2str(pChkptFreq)]) end niter0 = 216 , day = 369 , 04-Jan-1993, pChkptFreq = 31881600 niter0 = 26568 , day = 735 , 05-Jan-1994, pChkptFreq = 63504000 niter0 = 52920 , day = 1101, 06-Jan-1995, pChkptFreq = 95126400 niter0 = 79272 , day = 1467, 07-Jan-1996, pChkptFreq = 126748800 niter0 = 105624, day = 1833, 07-Jan-1997, pChkptFreq = 158371200 niter0 = 131976, day = 2199, 08-Jan-1998, pChkptFreq = 189993600 niter0 = 158328, day = 2565, 09-Jan-1999, pChkptFreq = 221616000 niter0 = 184680, day = 2931, 10-Jan-2000, pChkptFreq = 253238400 niter0 = 211032, day = 3297, 10-Jan-2001, pChkptFreq = 284860800 niter0 = 237384, day = 3663, 11-Jan-2002, pChkptFreq = 316483200 niter0 = 263736, day = 4029, 12-Jan-2003, pChkptFreq = 348105600 niter0 = 290088, day = 4395, 13-Jan-2004, pChkptFreq = 379728000