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:



From: "RYAN RAY" ryan....@rediffmail.com
Sent: Thu, 03 Mar 2016 12:26:19 +0530
To: "announce " annou...@open-mpi.org, "ryan.ray " ryan....@rediffmail.com
Subject: Open SHMEM Error


On trying a code specified in the manual"OpenSHMEM Specification Draft "asection8.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. <https://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?>*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> <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>



_______________________________________________
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

Reply via email to