I'll let Nathan/others comment on the correctness of your program.
What version of Open MPI are you using? Be sure to use the latest to get the most correct one-sided implementation.
Also, as one of the prior LAM/MPI developers, I must plead with you to stop using LAM/MPI. We abandoned it many years ago in favor of Open MPI. :-)
On Jun 17, 2014, at 3:59 PM, Florian Hahner <home_at_[hidden]> wrote:
> Hello MPI users,
> first of all i want to introduce myself. My name is Florian Hahner and Im studying applied computer science in Fulda, Germany. In our class parallel computing Im working at a MPI-2 Project to show the benefits and the working method of one-sided communications.
> I wrote a litte MPI program to demonstrate the mpi_get() function (see attachment).
> The idea behind the program is that a master process with rank 0 fills an integer array with the size of MPI_Comm_size with values. The other processes should MPI_GET the value from this shared int array at the index of their rank.
> We could compile the code, but execution will raise an error.
> We compile and run it with several MPI implementations (LAMMPI, MPICH ) and get every time errors. Host system is: 5.10 Generic_150400-10 sun4u sparc SUNW,SPARC-Enterprise Solaris
> PS: Ive some information are missing, please fill free to ask!
> Best Regards
> Florian Hahner
> users mailing list
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> Link to this post: http://www.open-mpi.org/community/lists/users/2014/06/24668.php
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/