Dear openMPI users,
I think this should be an easy question to anyone with more experience
than an openMPI-hello-world-program...
I wrote some openMPI code, where the master sends a length and then a
buffer with that length as 2 subsequent MPI messages.
The slave is receiving these messages and a
ter value -- i.e., the
> address pointing to the buffer. Don't send the address of the pointer,
> because then you're telling MPI to overwrite the pointer itself. I.e.,:
>
> work = new char[...];
> MPI_Send(work, ...)
>
> not
>
> work = new char[...
ok, I see. Interesting. Thanks.
Peter
On 18 April 2012 14:17, Jeffrey Squyres wrote:
> On Apr 18, 2012, at 3:15 AM, Peter Sels wrote:
>
>> I suppose with C++ MPI it's possible to enforce more strict type
>> checking using template or so.)
>
> Not really, unfortun