help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OpenMPI vs. Octave 2.9.x


From: Paul Kienzle
Subject: Re: OpenMPI vs. Octave 2.9.x
Date: Mon, 9 Oct 2006 12:50:04 -0400


On Oct 9, 2006, at 12:26 PM, Javier Fernández wrote:
Just as a suggestion, a piece of code that would
make MPITB maintenance a kid's game would be a
routine for "serializing" Octave datatypes. A routine
that returned for each (supported-type) variable, a
pointer to its starting memory location and a size
counter... Hmm, right, and a description of pointer's
type. For more complex types, it might return a
series of type/pointer/counter triplets which would
allow data reconstruction on the remote side... Hmm,
right again, this time the first type descriptor
would implicitly describe remaining types, so only
the first type descriptor would be required. In other
words, it would do the work done by MPI_Pack.cc in
MPITB. The method could be called "serialize()" and
added to Octave types willing to be supported under MPITB.

Octave already has serialization code for types implemented
in the binary file I/O system.  It might be possible to
modify it to send data over the wire rather than saving it
to a file.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]