I want to send large multiple objects in my JAVA MPI program, and wondering what is the most efficient way to do this?
Currently, my program involves serializing the objects first into bytes before sending byte [] objects to another processor. However, the program seems to slow down when the byte [] object is quite large (~ length of byte [] object is ~ 20 million).
Therefore I was wondering if it would be faster or less memory hungry if I serialized the objects and wrote it to file first? If this is a potential option, could I simply read the file into char[] before sending it another processor?