[FLASH-USERS] The problem "Segmentation fault"

Zhang Chao walli1986 at hotmail.com
Mon Jun 20 01:47:58 EDT 2011


Dear Alex and all,

 

The mpi library I build with is gfortran and gcc. I am sure mpi works well in my machine. 

 

Another thing I want to know is that we just have one computer, not a cluster. So do you think it is possible to type “mpirun –np 2 ./flash3”. 

 

Now when I type “./flash3”, it tells me “Segmentation fault”.

But when I type “mpirun –np 1 ./flash3” or “mpirun –np 2 ./flash3”, it tells me that:

 

[walli at node01 object]$ mpirun -np 2 ./flash3

rank 0 in job 2  node01_33013   caused collective abort of all ranks

  exit status of rank 0: killed by signal 11

((node01 is my hostname))

 

 

I don’t know what to do next. Can you help me about it?



Best wishes,

Zhang Chao



From: Alexander Wagner 
Sent: Monday, June 20, 2011 8:48 AM
To: flash-users at flash.uchicago.edu 
Subject: Re: [FLASH-USERS] The problem "Segmentation fault"


I'm just forwarding the exchange i had with Zhang to the list as I hit the wrong reply button again and left out the list.

Zhang, what mpi library did you build with? Are you sure mpi works properly on your machine? 

I wonder if this is the same problem i had once on a CentOS cluster with Intel Xeons and FLASH3.2, where it would segfault before it even reached call Drivier_initFlash() in Flash.F90. Our sys admin couldn't solve the problem either, but we had another cluster to work on, so we dropped the issue. That being said, it really should work, though.

Best wishes,
Alex


On 19/06/11 10:33 PM, Zhang Chao wrote: 
  Dear Alexander,

   

  I just want to know whether I can use the flash code.

   

  The problem I want to run is the “Sedov”. I just follow the instructions of the user’s guide. 

  1.       “./setup Sedov -auto”  I just change the paths of HDF5 and PnetCDF in the makefile.

  2.       “gmake” 

  3.       “./flash3”

   

  And then the error came out.

   

  What machine are you running on?     The machine is a PC. It has two Intel Xeon E5530 CPU.

  The system is CentOS 5.5 (linux).

   

  What version of FLASH?    I tried the version 3.1, 3.2 and 3.3. They all have the same error.

   

  How did you compile the code?   I use the gnu. So it has gfortran and gcc. 

   

  Were any logfiles generated?      I just find the “Makefile.Logfile” in the object/ directory.

   

   

  It is new for me to learn the Flash code. So I don’t know what to do. Can you help me about it?

   

  Best wishes,

  Zhang Chao







  From: Alexander Wagner 
  Sent: Sunday, June 19, 2011 9:04 PM
  To: Zhang Chao 
  Subject: Re: [FLASH-USERS] The problem "Segmentation fault"


  Hi Zhang,


  The developers will need more information than this to help you.


  What problem are you trying to run? (Have you tried any of the test problems supplied?)
  What machine are you running on?
  What version of FLASH?
  How did you compile the code?
  Were any logfiles generated?


  To find out where the code is crashing, you may want to run it in a debugger.


  Best wishes,
  Alex



  2011/6/19 Zhang Chao <walli1986 at hotmail.com>

    Dear all, 



    Can anyone help me? I met the “Segmentation fault” when I type “./flash3”.



    [walli at localhost object]$ ./flash3
    Segmentation fault





    It is really a big problem for me. I want to find a solution in the internet, but until now, I still cannot solve the problem.



    Best wishes,

    Zhang Chao



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20110620/a264dd4a/attachment-0001.htm>


More information about the flash-users mailing list