Re: [OMPI users] issue with addresses

2012-07-26 Thread Priyesh Srivastava
g process might be 32-bit and the > receiving one 64-bit. In this scenario it is quite probable that the > addresses will differ by very large margin (e.g. the stack address of your > 64-bit output is not even valid on 32-bit system). > > Hope that helps more :) > > Kind reg

Re: [OMPI users] issue with addresses

2012-07-23 Thread Priyesh Srivastava
Placement of data in memory is highly implementation dependent. I assume > you > are running on Linux. This OS? libc (glibc) provides two different methods > for dynamic allocation of memory ? heap allocation and anonymous mappings. > Heap allocation is used for small data up to MMAP_TRESHOL

[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 a