Re: [OMPI users] OMPI users] segmentation fault with java MPI

2016-01-27 Thread Gilles Gouaillardet
ayInputStream in = new ByteArrayInputStream(readbuf); >        ObjectInputStream is = new ObjectInputStream(in); >    System.out.println("Program fine until this line!"); >    test = is.readObject(); >    } > >    MPI.Finalize(); >    } >}

Re: [OMPI users] segmentation fault with java MPI

2016-01-25 Thread Gilles Gouaillardet
dbuf, filesize, MPI.BYTE); > Object test = null; > ByteArrayInputStream in = new ByteArrayInputStream(readbuf); > ObjectInputStream is = new ObjectInputStream(in); > System.out.println("Program fine until this line!"); > test = is.r

Re: [OMPI users] segmentation fault with java MPI

2016-01-25 Thread Marko Blatzheim
tInputStream(in);     System.out.println("Program fine until this line!");     test = is.readObject();     }     MPI.Finalize();     } }   Thanks Marko   Gesendet: Montag, 25. Januar 2016 um 01:04 Uhr Von: "Gilles Gouaillardet" An: "Open MPI Users&qu

Re: [OMPI users] segmentation fault with java MPI

2016-01-24 Thread Gilles Gouaillardet
Marko, i wrote a test program based on your code snippet and it works for me. could you please : - post a standalone test case that is ready to be compiled and ran - which version of OpenMPI are you using ? - which JVM are you using ? (vendor and version) - post your full command line Cheers,

[OMPI users] segmentation fault with java MPI

2016-01-24 Thread Marko Blatzheim
Hi, I want to load a saved object using java mpi. Without MPI there is no problem in reading the file and casting it to the correct type. I tried to open the file as a byte array and convert this to an object. I checked that all bytes are read correctly. Here I have an example where the saved