> 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
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
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,
>
> 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
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
> >
> &
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
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
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
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)
>
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
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
11 matches
Mail list logo