Hi Gilles,

at first glance, I suspect String.valueOf(buffer)
buffer is 256 chars, but the message you really want to print is only
the first num chars.

Yes, you are right. I changed the method to
String.valueOf (buffer, 0, num) and now everything works
fine. Thank you very much for your help.


Kind regards

Siegmar



I will double check tomorrow, in the mean time, feel free to revamp the
test and see if it works better

Cheers,

Gilles

On Tuesday, September 8, 2015, Siegmar Gross
<siegmar.gr...@informatik.hs-fulda.de
<mailto:siegmar.gr...@informatik.hs-fulda.de>> wrote:

    Hi Gilles,

        can you post your test program ?


    Attached.

        did you try to run the very same test with ompi configure'd without
        --enable-heterogeneous ?


    No.

        can you reproduce the crash with the v2.x series ?


    No, I tried, but wasn't successful :-)).


    Kind regards

    Siegmar


        Cheers,

        Gilles

        On Tuesday, September 8, 2015, Siegmar Gross
        <siegmar.gr...@informatik.hs-fulda.de
        <mailto:siegmar.gr...@informatik.hs-fulda.de>> wrote:

             Hi,

             yesterday I have built openmpi-v1.10.0-5-ge0b85ea on my
             machines (Solaris 10 Sparc, Solaris 10 x86_64, and openSUSE
             Linux 12.1 x86_64) with gcc-5.1.0 and Sun C 5.13.

             Sometimes I have the following problem when I run a small Java
             program in my heterogeneous environment. The problem arises
             even if I only use my Linux box. It doesn't matter if I use
             my cc- or gcc-version of Open MPI. Sometimes I must run the
             program 10 times before the error shows up. I couldn't
             reproduce the error with openmpi-v2.x-dev-325-g8ae44ea.

             linpc1 fd1026 102 mpiexec -np 2 java MsgSendRecvMain
             Java HotSpot(TM) 64-Bit Server VM warning: You have loaded
        library
             /usr/local/openmpi-1.10.1_64_cc/lib64/libmpi_java.so.1.2.0
        which
             might have disabled stack guard. The VM will try to fix the
        stack
             guard now.
             It's highly recommended that you fix the library with
        'execstack -c
             <libfile>', or link it with '-z noexecstack'.
             Java HotSpot(TM) 64-Bit Server VM warning: You have loaded
        library
             /usr/local/openmpi-1.10.1_64_cc/lib64/libmpi_java.so.1.2.0
        which
             might have disabled stack guard. The VM will try to fix the
        stack
             guard now.
             It's highly recommended that you fix the library with
        'execstack -c
             <libfile>', or link it with '-z noexecstack'.

             Now 1 process sends its greetings.

             Greetings from process 1:
                message tag:    3
                message length: 6
                message:        linpc1



             linpc1 fd1026 102 mpiexec -np 4 java MsgSendRecvMain
             ... (above message)

             Now 3 processes are sending greetings.

             Greetings from process 3:
                message tag:    3
                message length: 6
                message:

        
linpc1??????????????????????????????????????????????????????????????????|}~
             ?(?4???? ?????? ?????? ?????? ?????  ???
             9:!"?

             Greetings from process 2:
                message tag:    3


             Kind regards

             Siegmar



        _______________________________________________
        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/2015/09/27545.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/2015/09/27549.php


--

########################################################################
#                                                                      #
# Hochschule Fulda          University of Applied Sciences             #
# FB Angewandte Informatik  Department of Applied Computer Science     #
#                                                                      #
# Prof. Dr. Siegmar Gross   Tel.: +49 (0)661 9640 - 333                #
#                           Fax:  +49 (0)661 9640 - 349                #
# Leipziger Str. 123        WWW:  http://www.hs-fulda.de/~gross        #
# D-36037 Fulda             Mail: siegmar.gr...@informatik.hs-fulda.de #
#                                                                      #
#                                                                      #
# IT-Sicherheit: http://www.hs-fulda.de/it-sicherheit                  #
#                                                                      #
########################################################################

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to