Re: [OMPI users] Open MPI, Segmentation fault

2010-07-01 Thread David Zhang
enMPI with traditional debuggers is a pain. > > >> >From your error message it sounds that you have some memory > allocation problem. Do you use dynamic memory allocation (allocate and then > free)? > > >> > > >> I use display (printf()) command with M

Re: [OMPI users] Open MPI, Segmentation fault

2010-07-01 Thread Jack Bryan
and the task ID. So that the master can know which task comes from which worker. Any help or comment are appreciated. thanks Jack June 30 2010 > Date: Thu, 1 Jul 2010 11:44:19 -0400 > From: g...@ldeo.columbia.edu > To: us...@open-mpi.org > Subject: Re: [OMPI users] Open MPI,

Re: [OMPI users] Open MPI, Segmentation fault

2010-07-01 Thread Gus Correa
pen-mpi.org Subject: Re: [OMPI users] Open MPI, Segmentation fault Based on my experiences, I would FULLY endorse (100% agree with) David Zhang. It is usually a coding or typo mistake. At first, Ensure that array sizes and dimension are correct. I experience that if openmpi is compiled with gnu co

Re: [OMPI users] Open MPI, Segmentation fault

2010-07-01 Thread amjad ali
from the start of your program, after a certain activitiy, say after 10 lines use print statement with STOP/EXIT , also printing processor rank. If u get all the processors than its fine. Move this printing little ahead and get printing again. Repeat this process until u reach the place of fault.

Re: [OMPI users] Open MPI, Segmentation fault

2010-07-01 Thread Jeff Squyres
am not familiar with OpenMPI. > > Would you please help me with how to ask openMPI to show where the fault > occurs ? > > GNU debuger ? > > Any help is appreciated. > > thanks!!! > > Jack > > June 30 2010 > > Date: Wed, 30 Jun 2010

Re: [OMPI users] Open MPI, Segmentation fault

2010-07-01 Thread Asad Ali
preciated. > > thanks!!! > > Jack > > June 30 2010 > > -- > Date: Wed, 30 Jun 2010 16:13:09 -0400 > From: amja...@gmail.com > To: us...@open-mpi.org > Subject: Re: [OMPI users] Open MPI, Segmentation fault > > > Based on my experie

Re: [OMPI users] Open MPI, Segmentation fault

2010-07-01 Thread Jack Bryan
: us...@open-mpi.org Subject: Re: [OMPI users] Open MPI, Segmentation fault Based on my experiences, I would FULLY endorse (100% agree with) David Zhang. It is usually a coding or typo mistake. At first, Ensure that array sizes and dimension are correct. I experience that if openmpi is compiled

Re: [OMPI users] Open MPI, Segmentation fault

2010-06-30 Thread amjad ali
Based on my experiences, I would FULLY endorse (100% agree with) David Zhang. It is usually a coding or typo mistake. At first, Ensure that array sizes and dimension are correct. I experience that if openmpi is compiled with gnu compilers (not with Intel) then it also point outs the subroutine ex

Re: [OMPI users] Open MPI, Segmentation fault

2010-06-30 Thread David Zhang
When I got segmentation faults, it has always been my coding mistakes. Perhaps your code is not robust against number of processes not divisible by 2? On Wed, Jun 30, 2010 at 8:47 AM, Jack Bryan wrote: > Dear All, > > I am using Open MPI, I got the error: > > n337:37664] *** Process received si

[OMPI users] Open MPI, Segmentation fault

2010-06-30 Thread Jack Bryan
Dear All, I am using Open MPI, I got the error: n337:37664] *** Process received signal ***[n337:37664] Signal: Segmentation fault (11)[n337:37664] Signal code: Address not mapped (1)[n337:37664] Failing at address: 0x7fffcfe9[n337:37664] [ 0] /lib64/libpthread.so.0 [0x3c50e0e4c0][n337:376