<p style="font-family:SimSun;">
        Hello, everyone. I encountered an error in a test run. The program aborted.
</p>
<p style="font-family:SimSun;">
        I'm using FLASH4.5.
</p>
<p style="font-family:SimSun;">
        <br>
</p>
<p style="font-family:SimSun;">
        The setup is like:
</p>
<p style="font-family:SimSun;">
        <span class="ke-content-forecolor" style="color:#64451D;">./setup RayleighTaylor -auto +hdf5typeio</span><span style="white-space:pre;"> </span><span class="ke-content-forecolor" style="color:#64451D;">-2d +spherical -maxblocks=80</span><span class="ke-content-forecolor" style="color:#64451D;"> -nxb=128</span><span class="ke-content-forecolor" style="color:#64451D;"> -nyb=128</span><span class="ke-content-forecolor" style="color:#64451D;"> -parfile=flash.par </span><span class="ke-content-forecolor" style="color:#64451D;">+splitHydro</span>
</p>
<p>
        <br>
</p>
<p>
        Part of the flash.par file is like:
</p>
<p>
        <span style="font-family:SimSun;color:#64451D;" class="ke-content-forecolor">nblockx = 4</span><br>
<span style="font-family:SimSun;color:#64451D;" class="ke-content-forecolor">nblocky = 3</span><br>
<span style="font-family:SimSun;color:#64451D;" class="ke-content-forecolor">lrefine_max = 3</span><br>
<span style="font-family:SimSun;color:#64451D;" class="ke-content-forecolor">refine_var_1 = "dens"</span><br>
<span style="font-family:SimSun;color:#64451D;" class="ke-content-forecolor">refine_cutoff_1 = 0.01</span><br>
<span style="font-family:SimSun;color:#64451D;" class="ke-content-forecolor">derefine_cutoff_1 = 0.005</span>
</p>
<p style="font-family:SimSun;">
        The last lines of the output reads:
</p>
<p style="font-family:SimSun;">
        <span style="background-color:#FFFFFF;color:#006600;" class="ke-content-forecolor">   20705 2.5479E-09 6.1577E-14  ( 1.066E-03,   3.07    ,   0.00    ) |  6.158E-14</span><br>
<span style="background-color:#FFFFFF;color:#006600;" class="ke-content-forecolor">  iteration, no. not moved =            0          53</span><br>
<span style="background-color:#FFFFFF;color:#006600;" class="ke-content-forecolor">  iteration, no. not moved =            1           1</span><br>
<span style="background-color:#FFFFFF;color:#006600;" class="ke-content-forecolor">  iteration, no. not moved =            2           0</span><br>
<span style="background-color:#FFFFFF;color:#006600;" class="ke-content-forecolor"> refined: total leaf blocks =           54</span><br>
<span style="background-color:#FFFFFF;color:#006600;" class="ke-content-forecolor"> refined: total blocks =           68</span><br>
<span style="background-color:#FFFFFF;color:#006600;" class="ke-content-forecolor">Missing neighbors on PE    0, lb=   13,surrblks=(   3,   0, 1)(   7,   0, 1)(   8,   0, 2)(   5,   0, 1)(  13,   0, 2)(  18,   0, 2)(  -1,  -1,-1)(   7,   1, 1)(   8,   1, 2)</span><br>
<span style="background-color:#FFFFFF;color:#006600;" class="ke-content-forecolor">Missing neighbors on PE    0, lb=   13,surrblks=(   3,   0, 1)(   7,   0, 1)(   8,   0, 2)(   5,   0, 1)(  13,   0, 2)(  18,   0, 2)(  -1,  -1,-1)(   7,   1, 1)(   8,   1, 2)</span><br>
<span style="background-color:#FFFFFF;color:#006600;" class="ke-content-forecolor"> *** Wrote plotfile to z_rti_forced_hdf5_plt_cnt_0000 ****</span><br>
<span style="background-color:#FFFFFF;color:#006600;" class="ke-content-forecolor">  </span><br>
<span style="background-color:#FFFFFF;color:#006600;" class="ke-content-forecolor"> Driver_abort called. See log file for details.</span><br>
<span style="background-color:#FFFFFF;color:#006600;" class="ke-content-forecolor"> Error message is missing neighbor!</span><br>
<span style="background-color:#FFFFFF;color:#006600;" class="ke-content-forecolor"> Calling MPI_Abort() for shutdown in   2 seconds!</span><br>
<span style="background-color:#FFFFFF;color:#006600;" class="ke-content-forecolor"> </span><br>
<span style="background-color:#FFFFFF;color:#006600;" class="ke-content-forecolor">application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0</span> 
</p>
<div style="font-family:SimSun;">
        <br>
</div>
<p style="font-family:SimSun;">
        The last lines of the log file reads:
</p>
<p style="font-family:SimSun;">
        <span class="ke-content-forecolor" style="color:#003399;"> [ 03-30-2019  20:02:50.845 ] step: n=20706 t=2.547901E-09 dt=6.157749E-14</span> 
</p>
<span class="ke-content-forecolor" style="font-family:SimSun;color:#003399;"> [ 03-30-2019  20:02:52.567 ] [GRID amr_refine_derefine]: initiating refinement</span><br>
<span class="ke-content-forecolor" style="font-family:SimSun;color:#003399;"> [ 03-30-2019  20:02:52.567 ] [GRID amr_refine_derefine]: redist. phase.  tot blks requested: 68</span><br>
<span class="ke-content-forecolor" style="font-family:SimSun;color:#003399;"> [GRID amr_refine_derefine] min blks 16    max blks 18    tot blks 68</span><br>
<span class="ke-content-forecolor" style="font-family:SimSun;color:#003399;"> [GRID amr_refine_derefine] min leaf blks 13    max leaf blks 14    tot leaf blks 54</span><br>
<span class="ke-content-forecolor" style="font-family:SimSun;color:#003399;"> [ 03-30-2019  20:02:52.586 ] [GRID amr_refine_derefine]: refinement complete</span><br>
<span class="ke-content-forecolor" style="font-family:SimSun;color:#003399;"> [ 03-30-2019  20:02:52.625 ] [gr_checkGridConsistency]: Detected inconsistent Grid state, FLASH will attempt fix...</span><br>
<span class="ke-content-forecolor" style="font-family:SimSun;color:#003399;"> [ 03-30-2019  20:02:52.625 ] [gr_ensureValidNeighborInfo] found mpi_pattern_id, leaving unchanged: 20</span><br>
<span class="ke-content-forecolor" style="font-family:SimSun;color:#003399;"> [ 03-30-2019  20:02:52.625 ] [gr_checkGridConsistency]: Detected inconsistent Grid state, FLASH will dump a plot file for analysis and then abort!</span><br>
<span class="ke-content-forecolor" style="font-family:SimSun;color:#003399;"> [ 03-30-2019  20:02:52.765 ] [IO_writePlotfile] open: type=plotfile name=z_rti_forced_hdf5_plt_cnt_0000</span><br>
<span class="ke-content-forecolor" style="font-family:SimSun;color:#003399;"> [ 03-30-2019  20:02:52.801 ] [io_writeData]: wrote      68          blocks</span><br>
<span class="ke-content-forecolor" style="font-family:SimSun;color:#003399;"> [ 03-30-2019  20:02:52.801 ] [IO_writePlotfile] close: type=plotfile name=z_rti_forced_hdf5_plt_cnt_0000</span><br>
<span class="ke-content-forecolor" style="font-family:SimSun;color:#003399;"> [ 03-30-2019  20:02:57.801 ] [DRIVER_ABORT]: Driver_abort() called by PE           0</span><br>
<span class="ke-content-forecolor" style="font-family:SimSun;color:#003399;"> [ 03-30-2019  20:02:57.801 ] abort_message: missing neighbor!</span><br>
<div style="font-family:SimSun;">
        <br>
</div>
<p style="white-space:normal;font-family:SimSun;">
        <br class="Apple-interchange-newline">
However, if lrefine_max=2, while the blocks were doubled (nblockx=8,nblocky=6), with all other configurations left unchanged, the error would not show up.
</p>
<p style="white-space:normal;font-family:SimSun;">
        I think it might be a bug. Could anyone help me?
</p>
<p style="white-space:normal;font-family:SimSun;">
        <br>
</p>
<div>
        <br>
</div>
my best<br>
<p>
        <br>
</p>
<p>
        Yang
</p>
<p>
        <br>
</p>