---
>
> Message: 1
> Date: Tue, 24 Jul 2012 17:10:33 +
> From: "Iliev, Hristo" <il...@rz.rwth-aachen.de>
> Subject: Re: [OMPI users] issue with addresses
> To: Open MPI Users <us...@open-mpi.org>
> Message-ID: <18d6fe2f-7a68-4d1a-
Hi, Priyesh,
The output of your program is pretty much what one would expect.
140736841025492 is 0x7FFFD96A87D4 which pretty much corresponds to a location
in the stack, which is to be expected as a and b are scalar variables and most
likely end up on the stack. As c is array its location is
hello Hristo
Thank you for your reply. I was able to understand some parts of your
response, but still had some doubts due to my lack of knowledge about the
way memory is allocated.
I have created a small sample program and the resulting output which will
help me pin point my question.
The
n-mpi.org
> Subject: [OMPI users] issue with addresses
>
> Hello
>
> I am working on a mpi program. I have been printing the addresses of
different variables and arrays using the MPI_GET_ADDRESS command. What I
have > noticed is that all the processors are giving the same addre
Hello
I am working on a mpi program. I have been printing the addresses of
different variables and arrays using the MPI_GET_ADDRESS command. What I
have noticed is that all the processors are giving the same address of a
particular variable as long as the address is less than 2 GB size. When the