Dear Gilles, Thanks for the reply. After executing the code as you told I get the output as shown in the attached snapshot.So I am understanding that the code cannot remotely access the array at PE1 from PE0. Can you please explain why this is happenning? Regards,Ryan
From: Gilles Gouaillardet <gil...@rist.or.jp> Sent: Fri, 04 Mar 2016 11:16:38 To: Open MPI Users <us...@open-mpi.org> Subject: Re: [OMPI users] Open SHMEM Error Ryan, do you really get a segmentation fault ? here is the message i have : ------------------------------------------------------- Primary job terminated normally, but 1 process returned a non-zero exit code.. Per user-direction, the job has been aborted. ------------------------------------------------------- -------------------------------------------------------------------------- oshrun detected that one or more processes exited with non-zero status, thus causing the job to be terminated. The first process to do so was: Process name: [[23403,1],0] Exit code: 1 -------------------------------------------------------------------------- the root cause is the test program ends with return 1; instead of return 0; /* and i cannot figure out a rationale for that, i just replaced this with return 0; and that was fine*/ fwiw, this examples use the deprecated start_pes(0) instead of shmem_init(); and there is no shmem_finalize(); Cheers, Gilles On 3/3/2016 4:15 PM, RYAN RAY wrote: _______________________________________________ users mailing list us...@open-mpi.org Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users Link to this post: http://www.open-mpi.org/community/lists/users/2016/03/28622.php _______________________________________________ users mailing list us...@open-mpi.org Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users Link to this post: http://www.open-mpi.org/community/lists/users/2016/03/28635.php