[FLASH-BUGS] Error in fidlr2 / xflash

Jason Tumlinson tumlinso at borgil.uchicago.edu
Thu Jan 2 12:41:54 CST 2003


Hi, 
  I have recently installed FLASH 2.2 and run the basic sedov problem 
  with all default settings. Then I built the HDF5 wrappers for the 
  IDL routines in fidlr2 and ran xflash, following directions on 
  pages 6-8 of the user's quide. I get some IDL errors, copied 
  below. Can you help me resolve this problem? 
  
  Thanks, 
  Jason Tumlinson


  System is Linux 2.4.18, mpich-1.4.2, ifc compilers, HDF5, IDL 5.5
   
   
Here's the error message: 

;-------------------------------------------------------------------------
% Compiled module: MERGE_AMR.
zooming between, x:       0.00000      1.00000
                 y:       0.00000      1.00000
uniform grid size =            8           8
% Compiled module: CONGRID.
% XMANAGER: Caught unexpected error from client application. Message follows...
% Subscript range values of the form low:high must be >= 0, < size, with low <= high: 
SUB_ARRAY.
% Execution halted at:  MERGE_AMR         573 
/home/tumlinso/FLASH2.2/tools/fidlr2/merge_amr.pro
%                       XPLOT_AMR_NEW     575 
/home/tumlinso/FLASH2.2/tools/fidlr2/xplot_amr_new.pro
%                       XFLASH_EVENT      801 
/home/tumlinso/FLASH2.2/tools/fidlr2/xflash.pro
%                       XMANAGER_EVLOOP_STANDARD  478 
/usr/local/rsi/idl_5.5/lib/xmanager.pro
%                       XMANAGER          708 /usr/local/rsi/idl_5.5/lib/xmanager.pro
%                       XFLASH           1711 
/home/tumlinso/FLASH2.2/tools/fidlr2/xflash.pro
%                       $MAIN$          
% Interrupted at: XMANAGER_EVLOOP_STANDARD  478 
/usr/local/rsi/idl_5.5/lib/xmanager.pro
% Program caused arithmetic error: Floating underflow
;-------------------------------------------------------------------------

Here's the relevant passage of merge_amr.pro (lines near 573). 

;-------------------------------------------------------------------------

    case params.ndim of

        2: begin
            if (xindex + xspan GE 0 AND $
                yindex + yspan GE 0 AND $
                xindex LE (xrange_max_index-xrange_min_index) AND $
                yindex LE (yrange_max_index-yrange_min_index)) then begin

; store it
                temp_merge[xindex:xindex+xspan, $
                           yindex:yindex+yspan] = $
                  sub_array[xstart:xstart+xspan, $
                            ystart:ystart+yspan]


            endif
        end

;-------------------------------------------------------------------------






More information about the flash-bugs mailing list