Dependance obetween boost::mpi, boost::serialization and iostreams

Boost::MPI uses Boost::serialization for marshalling data and sending them in a pervasive way. I have a small scale implementation of MPI running on the Cell processor and I'm trying to patch boost::mpi to use it. However, as serialization seems ot use iostream or sstream at some point, the resulting executable blow up the 256Kb limits of SPE local store. How deep is iostream needed by serialization and how can I limit this dependance so I can have a proper Cell-enabled boost::mpi ? -- ___________________________________________ Joel Falcou - Assistant Professor PARALL Team - LRI - Universite Paris Sud XI Tel : (+33)1 69 15 66 35

Binary archives do not need a stream. The constructor can take a streambuf which is a much lower level version. It is also quite easy to make your own binary archive which uses not even a streambuf. Robert Ramey Joel Falcou wrote:
Boost::MPI uses Boost::serialization for marshalling data and sending them in a pervasive way.
I have a small scale implementation of MPI running on the Cell processor and I'm trying to patch boost::mpi to use it. However, as serialization seems ot use iostream or sstream at some point, the resulting executable blow up the 256Kb limits of SPE local store.
How deep is iostream needed by serialization and how can I limit this dependance so I can have a proper Cell-enabled boost::mpi ?

Robert Ramey a écrit :
Binary archives do not need a stream. The constructor can take a streambuf which is a much lower level version. It is also quite easy to make your own binary archive which uses not even a streambuf.
Robert Ramey
My main cocnern was the fact serialization incldues <iostream> somewhere. SO with your insight, I just have to put #ifdef _SPU_ soemwehre to remove all the non-bianry archive aprts and live with it ? -- ___________________________________________ Joel Falcou - Assistant Professor PARALL Team - LRI - Universite Paris Sud XI Tel : (+33)1 69 15 66 35
participants (2)
-
Joel Falcou
-
Robert Ramey