Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] MPI Template Datatype?
From: Alexandru Blidaru (alexsb92_at_[hidden])
Date: 2010-08-09 12:05:15


Hi,

I have to send some vectors from node to node, and the vecotrs are built
using a template. The datatypes used in the template will be long, int,
double, and char. How may I send those vectors since I wouldn't know what
MPI datatype i have to specify in MPI_Send and MPI Recv. Is there any way to
do this?

-- 
Alexandru Blidaru
University of Waterloo - Electrical Engineering '15
University email: asblidar_at_[hidden]
Twitter handle: @G_raph
Blog: http://alexblidaru.wordpress.com/