Jeff Squyres wrote:
> I'm not familiar with the GSL package.
>
> All data that MPI sends and receives is typed. As such, there needs
> to be an MPI datatype that describes the data layout of what you are
> sending and receiving. You therefore need to have an MPI datatype
> that describes gsl_matrix and gsl_vector in order to send/receive them.
>
> Check out the MPI standard, an MPI book, or a good MPI tutorial and
> lookup the datatypes section for more information about MPI datatypes.
>
> On Oct 27, 2004, at 12:26 PM, Brian A Powell wrote:
>
>> Is it possible to transmit gsl data-types (such as gsl_matrix and
>> gsl_vector) via MPI_Send and MPI_Recv??
>
GSL does *not* have built-in send and recieve functions for MPI.
MPI does *not* recognize any GSL types.
You certainly could use MPI to write functions which send and recieve
GSL objects.
You should take a look at
the Vector, Signal and Image Processing Library (VSIPL)
http://www.vsipl.org/
and also the
High Performance Embedded Computing Software Initiative (HPEC-SI)
http://www.hpec-si.org/
Verari Systems Software Inc. (formerly MPI software technology)
offers a VSIPL implementation (VSI/Pro).
http://www.mpi-softtech.com/
Eventually, there should be a parallel version of VSIPL and VSIPL++
based upon MPI.
The authors of
the GNU Scientific Library (GSL)
http://sources.redhat.com/gsl/
are exhausted now but might eventually be persuaded
to include parallel codes in their library.
|