Ryan, can you please post your source code and hostfile ?
Cheers, Gilles On Tuesday, March 15, 2016, RYAN RAY <ryan....@rediffmail.com> wrote: > 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 > <javascript:_e(%7B%7D,'cvml','gil...@rist.or.jp');>> > Sent: Fri, 04 Mar 2016 11:16:38 > To: Open MPI Users <us...@open-mpi.org > <javascript:_e(%7B%7D,'cvml','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: > > 1456988179.s.21347.24038.f4-235-148.1456989355.13...@webmail.rediffmail.com > <javascript:_e(%7B%7D,'cvml','1456988179.s.21347.24038.f4-235-148.1456989355.13...@webmail.rediffmail.com');>" > type="cite"> > > > From: "RYAN RAY" ryan....@rediffmail.com > <javascript:_e(%7B%7D,'cvml','ryan....@rediffmail.com');> > Sent: Thu, 03 Mar 2016 12:26:19 +0530 > To: "announce " annou...@open-mpi.org > <javascript:_e(%7B%7D,'cvml','annou...@open-mpi.org');>, "ryan.ray " > ryan....@rediffmail.com > <javascript:_e(%7B%7D,'cvml','ryan....@rediffmail.com');> > Subject: Open SHMEM Error > > > On trying a code specified in the manual"OpenSHMEM Specification Draft "a > section8.16 example code , we are facing a problem. > The code is the c version of the example code for the callSHMEM_PTR. > We have written the code exactly as it is in the manual , but we are > getting a segmentation fault. > The code , manual and error snapshots are attached in this mail. > > I will be grateful if you can provide any solution to this problem. > > RYAN SAPTARSHI RAY > > > > Get your own *FREE* website, *FREE* domain & *FREE* mobile app with > Company email. > <//www.rediffmail.com/cgi-bin/red.cgi?red=https%3A%2F%2Fsigads%2Erediff%2Ecom%2FRealMedia%2Fads%2Fclick%5Fnx%2Eads%2Fwww%2Erediffmail%2Ecom%2Fsignatureline%2Ehtm%40Middle%3F&isImage=0&BlockImage=0&rediffng=0&rogue=86405da3ed8eb9005549e1536a8c08bb6cef0c3e> > > *Know More >* > <//www.rediffmail.com/cgi-bin/red.cgi?red=http%3A%2F%2Ftrack%2Erediff%2Ecom%2Fclick%3Furl%3D%5F%5F%5Fhttp%3A%2F%2Fbusinessemail%2Erediff%2Ecom%3Fsc%5Fcid%3Dsign%2D1%2D10%2D13%5F%5F%5F%26amp%3Bcmp%3Dhost%26amp%3Blnk%3Dsign%2D1%2D10%2D13%26amp%3Bnsrv1%3Dhost&isImage=0&BlockImage=0&rediffng=0&rogue=387537254f7eee557c3b17544bd037e8098bd82e> > Get your own *FREE* website, *FREE* domain & *FREE* mobile app with > Company email. > *Know More >* > <//www.rediffmail.com/cgi-bin/red.cgi?red=http%3A%2F%2Ftrack%2Erediff%2Ecom%2Fclick%3Furl%3D%5F%5F%5Fhttp%3A%2F%2Fbusinessemail%2Erediff%2Ecom%3Fsc%5Fcid%3Dsign%2D1%2D10%2D13%5F%5F%5F%26amp%3Bcmp%3Dhost%26amp%3Blnk%3Dsign%2D1%2D10%2D13%26amp%3Bnsrv1%3Dhost&isImage=0&BlockImage=0&rediffng=0&rogue=387537254f7eee557c3b17544bd037e8098bd82e> > > > <https://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?> > > _______________________________________________ > users mailing list > us...@open-mpi.org > Subscription: > <https://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?>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 > > <https://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?> > > Get your own *FREE* website, *FREE* domain & *FREE* mobile app with > Company email. > *Know More >* > <http://track.rediff.com/click?url=___http://businessemail.rediff.com?sc_cid=sign-1-10-13___&cmp=host&lnk=sign-1-10-13&nsrv1=host>