[FLASH-USERS] FLASH crashing: "iteration, no. not moved"

Klaus Weide klaus at flash.uchicago.edu
Tue Mar 7 23:55:01 EST 2017


On Tue, 7 Mar 2017, Dominik Derigs wrote:

>   ERROR: could not move all blocks in amr_redist_blk
>   Try increasing maxblocks or use more processors

Some debugging output may be useful. Suggestion:

In mpi_amr_redist_blk.F90 ,directly after the lines


         If (mype == 0) Then
            Print *,' iteration, no. not moved = ',nit,nm2
         End If


add something like the following:


         if (nit > 0 .AND. nm2 > 0) then
            do lb = 1,maxblocks
               if (.not.moved(lb)) then
999               format ('On proc',I3,': block',I5,'@',I3,' still needs to move to',I5,'@',I3,'.')
                  print 999,        mype,        lb,    mype,           new_loc(1,lb),new_loc(2,lb)
               end if
            end do
         end if



This should not interfere too much with normal operation, yet give
useful information when the problem occurs.

Klaus



More information about the flash-users mailing list