[mpich-discuss] Query regarding structure of dynamic array derived datatype

Pavan Balaji balaji at mcs.anl.gov
Wed Mar 20 16:06:38 CDT 2013


Please look through the derived datatype constructs in MPI.  Google can
help you find some tutorials.

 -- Pavan

On 03/19/2013 06:12 AM US Central Time, Mahesh Doijade wrote:
> Hi,
>      I have a struct as -
> struct A
> {
>     int size;
>     int *lptr;
> };
>      And then I have array of such structure, I want to only send
> dynamic array present in each of the structs to other process.
> One of the options is to do it with MPI_Pack but then I have read it is
> not so good from performance point of view.
> What can be the other opt
> 
> -- 
> 
> Regards,
> -- Mahesh Doijade
> MTech - II (CSE) ,
> Walchand College of Engineering, Sangli
> 
> 
>                                                                           
> 
> 
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
> 

-- 
Pavan Balaji
http://www.mcs.anl.gov/~balaji



More information about the discuss mailing list