Hello Group,
int Msg[size];
MPI_Send(Msg, size, MPI_INT, DEST, TAG, MPI_COMM_WORLD) ;
this is working fine.
But how to send Msg declared like this:
int *Msg=(int*)mall oc(sizeof(int)* size);
It gives me
p4_error: interrupt SIGSEGV: 11
not_send: could not write to fd=4, errno = 32
Thanks!
int Msg[size];
MPI_Send(Msg, size, MPI_INT, DEST, TAG, MPI_COMM_WORLD) ;
this is working fine.
But how to send Msg declared like this:
int *Msg=(int*)mall oc(sizeof(int)* size);
It gives me
p4_error: interrupt SIGSEGV: 11
not_send: could not write to fd=4, errno = 32
Thanks!
Comment