In this chapter, we'll see how to write a new distribution library for PaCO++. First, we will explain how to insert library informations into the CORBA parallel invocation generated. Then, we will explain the C++ interface of the library.
In PaCO++ for each distributed data in a parallel method, a descriptor is added and the type of distributed is changed. The type of the distributed data and the type of the descriptor are specified in a file that is choosed into the xml parallel descriptor file.
As Example, if in the xml file you write sample for the distributed data, the compiler reads the file root_paco++/DistributionLibraries/Types/sample.cfg.
The reference implementation of a PaCO++ distribution library is the GaBro library. GaBro is in the tarball in the DistributionLibraries directory.