Re: [OMPI users] issue with addresses

2012-07-26 Thread Priyesh Srivastava
--- > > 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-

Re: [OMPI users] issue with addresses

2012-07-24 Thread Iliev, Hristo
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

Re: [OMPI users] issue with addresses

2012-07-23 Thread Priyesh Srivastava
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

Re: [OMPI users] issue with addresses

2012-07-23 Thread Iliev, Hristo
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

[OMPI users] issue with addresses

2012-07-21 Thread Priyesh Srivastava
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