structure (of type individual).
>
> george.
>
> On Aug 19, 2008, at 5:12 PM, Jitendra Kumar wrote:
>
>> George,
>> Thanks for your reply. However, I am still not able to resolve the
>> issue. I have been looking at one of your old post
>> http://www.open-mpi.org/co
y, you provide
> a pointer to the pointer in the individual struct.
>
> Try the following
> MPI_Get_address(&parentPop[0].indiv[0].intvar[0], &disp[0]);
> instead of
> MPI_Get_address(&parentPop[0].indiv[0].intvar, &disp[0]);
>
> Please note the [0] afte
Hi,
I am trying to use MPI derived datatype doutines for sending a struct
which contains dynamically allocated arrays. I tried implementing it
using MPI_Type_struct. It doesn't throws any error but messages being
received (of the declared datatype) aren't correct. Some memory
corruption seems to be
27;s scope
anywhere in the code ?
Is any derived data type declared valid anywhere in MPI_COMM_WORLD ?
Thanks,
Jitendra
--
Jitendra Kumar
Doctoral Student
Department of Civil, Construction and Environmental Engineering
North Carolina State University
Raleigh, NC 27695
jku...@ncsu.edu
http://www