ayInputStream in = new ByteArrayInputStream(readbuf);
> ObjectInputStream is = new ObjectInputStream(in);
> System.out.println("Program fine until this line!");
> test = is.readObject();
> }
>
> MPI.Finalize();
> }
>}
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
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
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,
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