<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div style="margin: 0px; padding: 0px; -webkit-user-select: text; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); font-family: Avenir, Helvetica, Arial, sans-serif;"><div style="margin: 0px; padding: 0px; -webkit-user-select: text;"><div style="margin: 0px; padding: 0px; -webkit-user-select: text;">Hi Yanhong,</div><div style="margin: 0px; padding: 0px; -webkit-user-select: text;"><br></div><div style="margin: 0px; padding: 0px; -webkit-user-select: text;">You may want to try ‘useSingleCpuIO=.FALSE.’. Then each core will output its data in a separate file like you said.</div><div style="margin: 0px; padding: 0px; -webkit-user-select: text;"><br></div><div style="margin: 0px; padding: 0px; -webkit-user-select: text;">Hope this helps</div><div style="margin: 0px; padding: 0px; -webkit-user-select: text;"><br></div><div style="margin: 0px; padding: 0px; -webkit-user-select: text;">—————————</div><div style="margin: 0px; padding: 0px; -webkit-user-select: text;">Yu-Kun Qian</div><div style="margin: 0px; padding: 0px; -webkit-user-select: text;">SCSIO, CAS</div><div style="margin: 0px; padding: 0px; -webkit-user-select: text;">Guangzhou, China</div><div style="margin: 0px; padding: 0px; -webkit-user-select: text;">qianyukun@scsio.ac.cn</div><div style="margin: 0px; padding: 0px; -webkit-user-select: text;">qianyk@mail3.sysu.edu.cn</div></div></div><div dir="ltr"><br></div><div dir="ltr"><br><blockquote type="cite">在 2024年8月6日,11:24,赖燕红 <yhlai@pku.edu.cn> 写道:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><style class="ke-style">[list-style-type] { padding-left: 20px; list-style-position: inside; }
[list-style-type] li { margin: 0px; }
[list-style-type] li::before, span.ke-list-item-matter { font-family: "sans serif", tahoma, verdana, helvetica; }
[list-style-type] li p, [list-style-type] li h1, [list-style-type] li h2, [list-style-type] li h3, [list-style-type] li h4, [list-style-type] li h5, [list-style-type] li div, [list-style-type] li blockquote { display: inline; word-break: break-all; }
[list-style-type] li table { display: inline-block; vertical-align: top; }
p { margin: 0px; }
td { word-break: break-word; }
.default-font-1722914436595 { font-size: 14px; }</style><div class="default-font-1722914436595" dir="ltr"><pre wrap="soft" style="overflow-wrap:break-word;">Dear MITgcm community,</pre><p>The new attached files (U.*.data/meta) are the output examples, which can not be read with rdmds.m.</p><p>Hope these files could help find out the problem.</p><p><br></p><p>Thanks again.</p><p><br></p><p><br></p><blockquote class="ReferenceQuote" style="padding-left:5px;margin-left:5px;border-left:#b6b6b6 2px solid;margin-right:0;">-----原始邮件-----<br>
<b>发件人:</b> <span id="rc_from">赖燕红 <yhlai@pku.edu.cn></span><br>
<b>发送时间:</b> <span id="rc_senttime">2024-08-06 11:05:29 (星期二)</span><br>
<b>收件人:</b> mitgcm-support@mitgcm.org<br>
<b>主题:</b> Raw binary output error when using MPI<br><br><style class="ke-style">[list-style-type] { padding-left: 20px; list-style-position: inside; }
[list-style-type] li { margin: 0px; }
[list-style-type] li::before, span.ke-list-item-matter { font-family: "sans serif", tahoma, verdana, helvetica; }
[list-style-type] li p, [list-style-type] li h1, [list-style-type] li h2, [list-style-type] li h3, [list-style-type] li h4, [list-style-type] li h5, [list-style-type] li div, [list-style-type] li blockquote { display: inline; word-break: break-all; }
[list-style-type] li table { display: inline-block; vertical-align: top; }
p { margin: 0px; }
td { word-break: break-word; }
.default-font-1722912457078 { }</style><div class="default-font-1722912457078" dir="ltr"><pre wrap="soft" style="font-size:14px;overflow-wrap:break-word;">Dear MITgcm community,</pre><pre wrap="soft" style="font-size:14px;overflow-wrap:break-word;">I'm trying to run MITgcm in a new machine. However, there is something wrong in the raw binary output.</pre><pre wrap="soft" style="font-size:14px;overflow-wrap:break-word;">I tried to run my case using mpi with 48 cores. However, the output files were not sperated into 48 subfiles, such as *.001.001.data/meta.</pre><pre wrap="soft" style="font-size:14px;overflow-wrap:break-word;">Instead, the output file is just like *.data/meta. Thus, these output binary files can not been read by the provided code "rdmds" successfully.</pre><pre wrap="soft" style="font-size:14px;overflow-wrap:break-word;">I'm not sure what causes this problem, could you help me check my code (presented below and also attached)? Thanks very much for your time!</pre><pre wrap="soft" style="font-size:14px;overflow-wrap:break-word;"></pre><pre wrap="soft" style="font-size:14px;overflow-wrap:break-word;">Best,</pre><pre wrap="soft" style="font-size:14px;overflow-wrap:break-word;">Yanhong</pre><pre wrap="soft" style="font-size:14px;overflow-wrap:break-word;"></pre><pre wrap="soft" style="font-size:14px;overflow-wrap:break-word;">##### SIZE.h file in code/</pre><p style="font-size:14px;"> & sNx = 8,</p><p style="font-size:14px;"> & sNy = 16,</p><p style="font-size:14px;"> & OLx = 4,</p><p style="font-size:14px;"> & OLy = 4,</p><p style="font-size:14px;"> & nSx = 1,</p><p style="font-size:14px;"> & nSy = 1,</p><p style="font-size:14px;"> & nPx = 48,</p><p style="font-size:14px;"> & nPy = 1,</p><p style="font-size:14px;"> & Nx = sNx*nSx*nPx,</p><p style="font-size:14px;"> & Ny = sNy*nSy*nPy,</p><p style="font-size:14px;"> & Nr = 53)</p><pre wrap="soft" style="font-size:14px;overflow-wrap:break-word;">##### data file in input/</pre><p style="font-size:14px;"><span style="text-wrap:nowrap;"># ====================</span></p><p><br></p><p><span style="text-wrap:nowrap;"># | Model parameters |</span></p><p><br></p><p><span style="text-wrap:nowrap;"># ====================</span></p><p><br></p><p><span style="text-wrap:nowrap;"># 6/8/2007: Hot Jupiter cubed sphere. Uses Adams Bashforth-3.</span></p><p><br></p><p><span style="text-wrap:nowrap;"># Based on the "data" file in Held-Suarez cubed-sphere test case</span></p><p><br></p><p><span style="text-wrap:nowrap;"># under directory input.impIGW/.</span></p><p><br></p><p><span style="text-wrap:nowrap;">#</span></p><p><br></p><p><span style="text-wrap:nowrap;"># This is for the UBERGRID</span></p><p><br></p><p><span style="text-wrap:nowrap;">#</span></p><p><br></p><p><span style="text-wrap:nowrap;"># Continuous equation parameters</span></p><p><br></p><p><span style="text-wrap:nowrap;"> &PARM01</span></p><p><br></p><p><span style="text-wrap:nowrap;"> tRef= 483.68 487.02 494.08 509.26</span></p><p><br></p><p><span style="text-wrap:nowrap;"> 537.78 581.62 638.67 706.36</span></p><p><br></p><p><span style="text-wrap:nowrap;"> 783.43 869.84 966.15 1073.26</span></p><p><br></p><p><span style="text-wrap:nowrap;"> 1192.31 1316.09 1439.61 1574.72</span></p><p><br></p><p><span style="text-wrap:nowrap;"> 1722.52 1884.20 2061.04 2254.49</span></p><p><br></p><p><span style="text-wrap:nowrap;"> 2466.09 2697.55 2950.74 3227.69</span></p><p><br></p><p><span style="text-wrap:nowrap;"> 3530.64 3862.02 4224.50 4621.00</span></p><p><br></p><p><span style="text-wrap:nowrap;"> 5054.72 5529.15 6048.11 6615.77</span></p><p><br></p><p><span style="text-wrap:nowrap;"> 7236.72 7915.94 8658.92 9550.06</span></p><p><br></p><p><span style="text-wrap:nowrap;"> 10656.76 11891.71 13269.77 14807.52</span></p><p><br></p><p><span style="text-wrap:nowrap;"> 16523.48 18438.28 20574.99 22959.30</span></p><p><br></p><p><span style="text-wrap:nowrap;"> 25619.91 28588.85 31901.84 35598.75</span></p><p><br></p><p><span style="text-wrap:nowrap;"> 39724.08 44327.47 49464.31 55196.43</span></p><p><br></p><p><span style="text-wrap:nowrap;"> 61592.81 ,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> debugLevel=-1, </span></p><p><br></p><p><span style="text-wrap:nowrap;"> sRef=53*0.0,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> viscAr=0.E1,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> viscAh=0.E6,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> viscA4=0.E17,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> no_slip_sides=.FALSE.,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> no_slip_bottom=.FALSE.,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> diffKhT=0.E3,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> diffKrT=0.,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> diffK4T=0.E17,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> diffKrS=0.E2,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> diffKhS=0.E3,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> diffK4S=0.E17,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> buoyancyRelation='ATMOSPHERIC',</span></p><p><br></p><p><span style="text-wrap:nowrap;"> eosType='IDEALGAS',</span></p><p><br></p><p><span style="text-wrap:nowrap;"> atm_Cp=13000.,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> rotationPeriod=66259.0,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> gravity=35.0,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> implicitFreeSurface=.true.,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> exactConserv=.true.,</span></p><p><br></p><p><span style="text-wrap:nowrap;"># rigidLid = .true.,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> nonlinFreeSurf=4,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> select_rStar=2,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> hFacInf=0.2,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> hFacSup=2.0,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> momForcing=.true.,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> tempForcing=.true.,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> saltStepping=.false.,</span></p><p><br></p><p><span style="text-wrap:nowrap;"># tempAdvScheme=77.,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> saltAdvection=.FALSE.,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> saltForcing=.FALSE.,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> saltStepping=.FALSE.,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> momViscosity=.FALSE.,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> useSingleCpuIO=.TRUE.,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> uniformLin_PhiSurf=.FALSE.,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> vectorInvariantMomentum=.TRUE.,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> useAbsVorticity=.TRUE.,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> SadournyCoriolis=.TRUE.,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> selectKEscheme=3,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> staggerTimeStep=.TRUE.,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> implicitIntGravWave=.FALSE.,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> readBinaryPrec=64,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> writeBinaryPrec=64,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> &</span></p><p><br></p><p><span style="text-wrap:nowrap;"><br></span></p><p><br></p><p><span style="text-wrap:nowrap;"># Elliptic solver parameters</span></p><p><br></p><p><span style="text-wrap:nowrap;"> &PARM02</span></p><p><br></p><p><span style="text-wrap:nowrap;"> cg2dMaxIters=200,</span></p><p><br></p><p><span style="text-wrap:nowrap;">#cg2dTargetResidual=1.E-12,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> cg2dTargetResWunit=1.E-17,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> cg3dMaxIters=40,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> cg3dTargetResidual=1.E-4,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> &</span></p><p><br></p><p><span style="text-wrap:nowrap;"><br></span></p><p><br></p><p><span style="text-wrap:nowrap;"># Time stepping parameters</span></p><p><br></p><p><span style="text-wrap:nowrap;"> &PARM03</span></p><p><br></p><p><span style="text-wrap:nowrap;"> deltaT=25,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> nIter0=0,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> nTimeSteps=10000000,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> tracforcingoutab = 1,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> abeps = 0.1,</span></p><p><br></p><p><span style="text-wrap:nowrap;">#forcing_In_AB=.FALSE.,</span></p><p><br></p><p><span style="text-wrap:nowrap;">#alph_AB=0.6,</span></p><p><br></p><p><span style="text-wrap:nowrap;">#beta_AB=0.,</span></p><p><br></p><p><span style="text-wrap:nowrap;"># alph_AB=0.5,</span></p><p><br></p><p><span style="text-wrap:nowrap;"># beta_AB=0.281105,</span></p><p><br></p><p><span style="text-wrap:nowrap;"># doAB_onGtGs=.FALSE.,</span></p><p><br></p><p><span style="text-wrap:nowrap;">#startFromPickupAB2=.TRUE.,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> pChkptFreq=5.d6,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> chkptFreq =1.d8,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> dumpFreq =5.d6,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> monitorFreq=864000000.,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> taveFreq=864000000.,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> &</span></p><p><br></p><p><span style="text-wrap:nowrap;"><br></span></p><p><br></p><p><span style="text-wrap:nowrap;"># Gridding parameters</span></p><p><br></p><p><span style="text-wrap:nowrap;"> &PARM04</span></p><p><br></p><p><span style="text-wrap:nowrap;"> usingCurvilinearGrid=.TRUE.,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> delR= 18484121.57857943 12789742.40305100 8849623.17743921 6123331.33183253</span></p><p><br></p><p><span style="text-wrap:nowrap;"> 4236924.65177391 2931660.81206276 2028507.89744068 1403588.12078398</span></p><p><br></p><p><span style="text-wrap:nowrap;"> 971186.56293696 671994.38785680 464973.95510233 321730.03648593</span></p><p><br></p><p><span style="text-wrap:nowrap;"> 222615.08465448 134736.42286678 98428.61557291 71904.77643286</span></p><p><br></p><p><span style="text-wrap:nowrap;"> 52528.39170566 38373.41651093 28032.82276321 20478.73823926</span></p><p><br></p><p><span style="text-wrap:nowrap;"> 14960.27436890 10928.88666176 7983.84847231 5832.41810457</span></p><p><br></p><p><span style="text-wrap:nowrap;"> 4260.73980043 3112.58612148 2273.82868173 1661.09359615</span></p><p><br></p><p><span style="text-wrap:nowrap;"> 1213.47397777 886.47569176 647.59456442 473.08541427</span></p><p><br></p><p><span style="text-wrap:nowrap;"> 345.60174141 252.47145666 184.43725477 159.35396547</span></p><p><br></p><p><span style="text-wrap:nowrap;"> 108.56659285 73.96555867 50.39214851 34.33177112</span></p><p><br></p><p><span style="text-wrap:nowrap;"> 23.38996338 15.93539655 10.85665928 7.39655587</span></p><p><br></p><p><span style="text-wrap:nowrap;"> 5.03921485 3.43317711 2.33899634 1.59353965</span></p><p><br></p><p><span style="text-wrap:nowrap;"> 1.08566593 0.73965559 0.50392149 0.34331771</span></p><p><br></p><p><span style="text-wrap:nowrap;"> 0.23389963 ,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> radius_fromHorizGrid=6370.E3,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> Ro_SeaLevel=6.d7,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> rSphere=93326848,</span></p><p><br></p><p><span style="text-wrap:nowrap;"> &</span></p><p><br></p><p><span style="text-wrap:nowrap;"><br></span></p><p><br></p><p><span style="text-wrap:nowrap;"># Input datasets</span></p><p><br></p><p><span style="text-wrap:nowrap;"> &PARM05</span></p><p><br></p><p><span style="text-wrap:nowrap;"> &</span></p><p><br></p><p><br></p><p style="font-size:14px;"><br></p></div></blockquote></div><div><data></div><div><SIZE.h></div><div><U.0000000000.data></div><div><U.0000000000.meta></div><span>_______________________________________________</span><br><span>MITgcm-support mailing list</span><br><span>MITgcm-support@mitgcm.org</span><br><span>http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support</span><br></div></blockquote></body></html>