Dear Gilles
I have attached the source code and the hostfile.
Regards
Ryan 

From: Gilles Gouaillardet <gilles.gouaillar...@gmail.com>
Sent: Tue, 15 Mar 2016 15:44:48 
To: Open MPI Users <us...@open-mpi.org>
Subject: Re: [OMPI users] Open SHMEM Error
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>
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:


    1456988179.s.21347.24038.f4-235-148.1456989355.13...@webmail.rediffmail.com"
      type="cite">





      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.  

            Know
                  More >








      _______________________________________________
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

Attachment: sourcecode.doc
Description: MS-Word document

Attachment: hostfile.doc
Description: MS-Word document

Reply via email to