Re: [OMPI users] machine exited on signal 11 (Segmentation fault).

2012-04-19 Thread Jeffrey Squyres
> A : Open MPI Users > > Date : 19/04/2012 10:24 > > Objet : Re: [OMPI users] machine exited on signal 11 (Segmentation fault). > > Envoyé par : users-boun...@open-mpi.org > > > > Hi Pascal, > > > > The offset is received from the master task. so n

Re: [OMPI users] machine exited on signal 11 (Segmentation fault).

2012-04-19 Thread pascal . deveze
users-boun...@open-mpi.org a écrit sur 19/04/2012 12:42:44 : > De : Rohan Deshpande > A : Open MPI Users > Date : 19/04/2012 12:44 > Objet : Re: [OMPI users] machine exited on signal 11 (Segmentation fault). > Envoyé par : users-boun...@open-mpi.org > > No I havent

Re: [OMPI users] machine exited on signal 11 (Segmentation fault).

2012-04-19 Thread pascal . deveze
users-boun...@open-mpi.org a écrit sur 19/04/2012 10:24:16 : > De : Rohan Deshpande > A : Open MPI Users > Date : 19/04/2012 10:24 > Objet : Re: [OMPI users] machine exited on signal 11 (Segmentation fault). > Envoyé par : users-boun...@open-mpi.org > > Hi Pascal, >

Re: [OMPI users] machine exited on signal 11 (Segmentation fault).

2012-04-19 Thread Rohan Deshpande
> I do not see where you initialize the offset on the "Non-master tasks". > This could be the problem. > > > > Pascal > > > > users-boun...@open-mpi.org a écrit sur 19/04/2012 09:18:31 : > > > > > De : Rohan Deshpande > > > A : Open MPI

Re: [OMPI users] machine exited on signal 11 (Segmentation fault).

2012-04-19 Thread Jeffrey Squyres
open-mpi.org a écrit sur 19/04/2012 09:18:31 : > > > De : Rohan Deshpande > > A : Open MPI Users > > Date : 19/04/2012 09:18 > > Objet : Re: [OMPI users] machine exited on signal 11 (Segmentation fault). > > Envoyé par : users-boun...@open-mpi.org > > > &

Re: [OMPI users] machine exited on signal 11 (Segmentation fault).

2012-04-19 Thread Rohan Deshpande
d be the problem. > > Pascal > > users-boun...@open-mpi.org a écrit sur 19/04/2012 09:18:31 : > > > De : Rohan Deshpande > > A : Open MPI Users > > Date : 19/04/2012 09:18 > > Objet : Re: [OMPI users] machine exited on signal 11 (Segmentation > fault). &g

Re: [OMPI users] machine exited on signal 11 (Segmentation fault).

2012-04-19 Thread pascal . deveze
I do not see where you initialize the offset on the "Non-master tasks". This could be the problem. Pascal users-boun...@open-mpi.org a écrit sur 19/04/2012 09:18:31 : > De : Rohan Deshpande > A : Open MPI Users > Date : 19/04/2012 09:18 > Objet : Re: [OMPI users] machi

Re: [OMPI users] machine exited on signal 11 (Segmentation fault).

2012-04-19 Thread Rohan Deshpande
Hi Jeffy, I checked the SEND RECV buffers and it looks ok to me. The code I have sent works only when I statically initialize the array. The code fails everytime I use malloc to initialize the array. Can you please look at code and let me know what is wrong. On Wed, Apr 18, 2012 at 8:11 PM, Jef

Re: [OMPI users] machine exited on signal 11 (Segmentation fault).

2012-04-18 Thread Jeffrey Squyres
As a guess, you're passing in a bad address. Double check the buffers that you're sending to MPI_SEND/MPI_RECV/etc. On Apr 17, 2012, at 10:43 PM, Rohan Deshpande wrote: > After using malloc i am getting following error > > *** Process received signal *** > Signal: Segmentation fault (11) >

Re: [OMPI users] machine exited on signal 11 (Segmentation fault).

2012-04-17 Thread Rohan Deshpande
After using malloc i am getting following error *** Process received signal *** Signal: Segmentation fault (11) Signal code: Address not mapped (1) Failing at address: 0x1312d08 [ 0] [0x5e840c] [ 1] /usr/local/lib/openmpi/mca_btl_tcp.so(+0x5bdb) [0x119bdb] /usr/local/lib/libopen-pal.so.0(+0x1

Re: [OMPI users] machine exited on signal 11 (Segmentation fault).

2012-04-17 Thread Jeffrey Squyres
Try malloc'ing your array instead of creating it statically on the stack. Something like: int *data; int main(..) { { data = malloc(ARRAYSIZE * sizeof(int)); if (NULL == data) { perror("malloc"); exit(1); } // ... } On Apr 17, 2012, at 5:05 AM, Rohan Deshpande