[FLASH-USERS] Suddenly FLASH doesn't work anymore on Linux desktop

Chris Daley cdaley at flash.uchicago.edu
Mon Apr 7 11:35:54 EDT 2008


Hi Andreas,

It seems to me that there is a run-time error in your custom
setup, such as, an array being overrun.  I am guessing this
because invalid memory accesses do not always cause an application
to crash.

Could you please build your setup in "debug" mode, i.e:

./setup <problem-name> -debug [other options]

This will create a Makefile with compiler flags that are useful for
debugging.  In the case of the ifort compiler, the debug setup will
specify that the "-check bounds" option is included during
compilation, which will verify whether all array accesses are within
declared bounds. 

This should give a more detailed error message which will likely
include the exact line number where the violation occurred.  It should
be possible to resolve the problem with this extra information.

Kind Regards,
Chris


Andreas Ekenbäck wrote:
> Hi all,
>
> I have been running FLASH2.5 on my desktop computer for a while, but 
> since a couple of days it suddenly doesn't work anymore.
>
> Some libraries have been upgraded since the last successful runs of 
> FLASH. Specifically there was an upgrade of bzip2 and libbz2 that I 
> can't undo. I have reinstalled MPICH2, ifort and icc today without 
> improvements.
>
> I can run for example the sedov setup, but we have 2 own setups that 
> suddenly do not work anymore. Both setups use particles, otherwise 
> there is nothing fundamentally different. Our setups output the first 
> chk- and plotfiles (0000) and then crashes at the first time step. And 
> note that it's only on this computer that our setups do not work.
> The longest error messages we have been able to achieve:
> ----
>
> forrtl: severe (174): SIGSEGV, segmentation fault occurred
> Image              PC                Routine            Line        
> Source             flash2             0000000000480427  
> Unknown               Unknown  Unknown
> flash2             0000000000429525  Unknown               Unknown  
> Unknown
> flash2             000000000041A0D1  Unknown               Unknown  
> Unknown
> flash2             0000000000405162  Unknown               Unknown  
> Unknown
> libc.so.6          00002AB64040DB44  Unknown               Unknown  
> Unknown
> flash2             00000000004050A9  Unknown               Unknown  
> Unknown
> [cli_0]: aborting job:
> Fatal error in MPI_Ssend: Other MPI error, error stack:
> MPI_Ssend(167)............................: MPI_Ssend(buf=0x12d9ba0, 
> count=1, dtype=USER<vector>, dest=1, tag=14, MPI_COMM_WORLD) failed
> MPIDI_CH3i_Progress_wait(215).............: an error occurred while 
> handling an event returned by MPIDU_Sock_Wait()
> MPIDI_CH3I_Progress_handle_sock_event(420): 
> MPIDU_Socki_handle_read(633)..............: connection failure 
> (set=0,sock=1,errno=104:(strerror() not found))
>
> ----
>
> System information:
> - Linux hybrid.irf.se 2.6.22-14-generic #1 SMP Tue Feb 12 02:46:46 UTC 
> 2008 x86_64 GNU/Linux
> - ifort 10.1.012
>
> So...
> - anyone had the same problem?
> - any ideas how to continue problem solving?
> - is there some indirect dependence on libbz2 (i.e. could that upgrade 
> be guilty?)
>
> ---
> ldd ./flash2
> libfmpich.so.1.1 => /opt/mpich/mpich2-1.0.6p1/lib/libfmpich.so.1.1 
> (0x00002b834be0b000)
> libmpich.so.1.1 => /opt/mpich/mpich2-1.0.6p1/lib/libmpich.so.1.1 
> (0x00002b834c021000)
> libpthread.so.0 => /lib/libpthread.so.0 (0x00002b834c3c3000)
> librt.so.1 => /lib/librt.so.1 (0x00002b834c5de000)
> libm.so.6 => /lib/libm.so.6 (0x00002b834c7e8000)
> libc.so.6 => /lib/libc.so.6 (0x00002b834ca69000)
> libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00002b834cdc4000)
> libdl.so.2 => /lib/libdl.so.2 (0x00002b834cfd3000)
> /lib64/ld-linux-x86-64.so.2 (0x00002b834bbed000)
> ---
>
> Thankful for any help
> /Andreas
>
>




More information about the flash-users mailing list