[Beowulf] Block send mpi
rene at renestorm.de
Sat Feb 12 23:29:58 EST 2005
i know, this isn't a mpi forum, even so allow me a question about block
i got some(times) nice SIGSEGVs with that code (C++ implementation).
Did I code something totally wrong?
I really don't understand this function.
// int MPI_Buffer_attach( void *buffer, int size )
MPI_Pack_size (bit, MPI_INT, newcomm, &packsize);
int bufsize = packsize + (MPI_BSEND_OVERHEAD);
void *buf = new (void (*[packsize]) ());
MPI_Buffer_attach (buf, bufsize);
ierr =MPI_Bsend (&testdata, bit, MPI_INT, node, 0, newcomm);
MPI_Buffer_detach (&buf, &bufsize);
Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf
More information about the Beowulf