| 1 | dimitri | 1.1 | Follow instructions for testing edge problems and other tiling issues with | 
| 2 |  |  | 32x32x6 cube sphere configuration. | 
| 3 |  |  |  | 
| 4 |  |  | Baseline 6-tile integration | 
| 5 |  |  | =========================== | 
| 6 |  |  | cd MITgcm/verification/global_ocean.cs32x15/build | 
| 7 |  |  | rm * | 
| 8 |  |  | ../../../tools/genmake2 -mods=../code | 
| 9 |  |  | make depend | 
| 10 |  |  | rm SIZE.h | 
| 11 | dimitri | 1.2 | cp ../../../../MITgcm_contrib/edge_problem/SIZE.h . | 
| 12 | dimitri | 1.1 | make | 
| 13 |  |  | cd .. | 
| 14 |  |  | mkdir run6 | 
| 15 |  |  | cd run6 | 
| 16 |  |  | rm * | 
| 17 |  |  | cp ../input/* . | 
| 18 | dimitri | 1.2 | cp ../../../../MITgcm_contrib/edge_problem/data.base data | 
| 19 |  |  | cp ../../../../MITgcm_contrib/edge_problem/tile* . | 
| 20 | dimitri | 1.1 | cp ../build/mitgcmuv . | 
| 21 |  |  | mitgcmuv > output.txt | 
| 22 |  |  |  | 
| 23 |  |  |  | 
| 24 |  |  | Baseline 12-tile integration | 
| 25 |  |  | ============================ | 
| 26 |  |  | cd ../build | 
| 27 |  |  | rm * | 
| 28 |  |  | ../../../tools/genmake2 -mods="../code_alt/code.12t_32x16 ../code" | 
| 29 |  |  | make depend | 
| 30 |  |  | rm SIZE.h | 
| 31 | dimitri | 1.2 | cp ../../../../MITgcm_contrib/edge_problem/SIZE.h_12 SIZE.h | 
| 32 | dimitri | 1.1 | make | 
| 33 |  |  | cd .. | 
| 34 |  |  | mkdir run12 | 
| 35 |  |  | cd run12 | 
| 36 |  |  | rm * | 
| 37 |  |  | cp ../input/* . | 
| 38 | dimitri | 1.2 | cp ../../../../MITgcm_contrib/edge_problem/data.base data | 
| 39 |  |  | cp ../../../../MITgcm_contrib/edge_problem/tile* . | 
| 40 | dimitri | 1.1 | cp ../build/mitgcmuv . | 
| 41 |  |  | mitgcmuv > output.txt | 
| 42 |  |  | cd .. | 
| 43 |  |  |  | 
| 44 |  |  |  | 
| 45 |  |  | Use matlab to compare Eta for 6-tile and 12-tile integrations | 
| 46 |  |  | ============================================================= | 
| 47 |  |  | matlab -nojvm -nosplash | 
| 48 |  |  | f1='run6/Eta.'; f2='run12/Eta.'; tm=72003; | 
| 49 |  |  | ix=.5:191.5; iy=.5:31.5; | 
| 50 |  |  | tmp1=readbin([f1 myint2str(tm,10) '.data'],[32*6,32]); | 
| 51 |  |  | tmp2=readbin([f2 myint2str(tm,10) '.data'],[32*6,32]); | 
| 52 |  |  | clf, subplot(211) | 
| 53 |  |  | image(ix,iy,tmp1','CDataMapping','scaled'); colorbar, grid | 
| 54 |  |  | set(gca,'ydir','normal','xtick',0:32:192,'ytick',0:16:32) | 
| 55 |  |  | title('Eta, time step 3, 6-tile integration') | 
| 56 |  |  | subplot(212) | 
| 57 |  |  | image(ix,iy,tmp2'-tmp1','CDataMapping','scaled'); colorbar, grid | 
| 58 |  |  | set(gca,'ydir','normal','xtick',0:32:192,'ytick',0:16:32) | 
| 59 |  |  | title('Difference between 12-tile and 6-tile integrations') | 
| 60 |  |  | quit | 
| 61 |  |  |  | 
| 62 |  |  |  | 
| 63 |  |  | Now repeat with visca4grid | 
| 64 |  |  | ========================== | 
| 65 |  |  | cd run6 | 
| 66 | dimitri | 1.2 | cp ../../../../MITgcm_contrib/edge_problem/data.visca4grid data | 
| 67 | dimitri | 1.1 | mitgcmuv > output.txt | 
| 68 |  |  | cd ../run12 | 
| 69 | dimitri | 1.2 | cp ../../../../MITgcm_contrib/edge_problem/data.visca4grid data | 
| 70 | dimitri | 1.1 | mitgcmuv > output.txt | 
| 71 |  |  | cd .. | 
| 72 |  |  |  | 
| 73 |  |  |  | 
| 74 |  |  | Now repeat with advscheme=33 | 
| 75 |  |  | ============================ | 
| 76 |  |  | cd run6 | 
| 77 | dimitri | 1.2 | cp ../../../../MITgcm_contrib/edge_problem/data.tempadv data | 
| 78 | dimitri | 1.1 | mitgcmuv > output.txt | 
| 79 |  |  | cd ../run12 | 
| 80 | dimitri | 1.2 | cp ../../../../MITgcm_contrib/edge_problem/data.tempadv data | 
| 81 | dimitri | 1.1 | mitgcmuv > output.txt | 
| 82 |  |  | cd .. |