[FLASH-USERS] HDF5 or segmentation fault...

Anshu Dubey dubey at flash.uchicago.edu
Wed May 23 16:58:23 CDT 2007


Cristin,

You should either try to run the code in the object directory, which has
the flash.par file, or copy the file to the directory that you are running
from. It is an input file, and FLASH looks for it in the run directory.

Anshu
> Hello flash-user,
>
> I am trying to install FLASH2.5 in a new linux machine but I have very
> problems. The libraries that I am using are:
>
> 1. Fortran 9.1 (noncommercial version)
> 2. MPI 2
> 3. HDF5 1.6.5
>
> But I obtain an error very similar to which David(2005) & Owen(2004)
> report in
> FLASH_WEB.
> How I solved this problem (in the sedov example)?
>
> error 1:
> ------------------
> guest at gaae1:~/FLASH2.5$ mpirun -np 1 object/flash2
> object/flash2: error while loading shared libraries: libhdf5.so.0: cannot
> open
> shared object file: No such file or directory
> ------------------
>
> In order to solve this, I followed the suggestions (FAQs) of the manual
> (setenv LD_LIBRARY_PATH /usr/local/src/hdf5-1.6.5/hdf5/lib), but did not
> give
> results. Then I followed the suggestions that the users did to him to Owen
> (I
> add the follow line in the linking flags...LFLAGS_HDF5  =
> -Wl,-R/usr/local/src/hdf5-1.6.5/hdf5/lib)... but I obtained another
> message of
> error:
>
> eroor 2:
> ------------------------------
> guest at gaae1:~/FLASH2.5$ mpirun -np 1 object/flash2
> read_parameters:  unable to open parameter file "flash.par"
>
> abort_flash called. See log file for details.
> Calling MPI_Abort() for immediate shutdown!
>
> forrtl: severe (174): SIGSEGV, segmentation fault occurred
> Image              PC        Routine            Line        Source
> flash2             0818F844  Unknown               Unknown  Unknown
> flash2             0818F837  Unknown               Unknown  Unknown
>
> Stack trace terminated abnormally.
> rank 0 in job 82  gaae1_44953   caused collective abort of all ranks
>  exit status of rank 0: return code 174
> -------------------------------
>
> Does anyone have any ideas?
>
>  Thank you very much,
>  Giovanny
>
> --
> Instituto de Astronomia
> Universid
> ad Nacional Autonoma de Mexico (UNAM)
> http://www.astroscu.unam.mx
>




More information about the flash-users mailing list