|
Revision 179:9984c20cf0f7, 0.9 KB
(checked in by Andreas Schaefer <gentryx@…>, 14 months ago)
|
|
fixed some bitrot in the typemap generator
|
| Line | |
|---|
| 1 | This is the TypemapGenerator, a simple code generator to automate the |
|---|
| 2 | construction of MPI datatypes for custom C++ classes. Rather than |
|---|
| 3 | parsing the source code itself, it relies relies on Doxygen's XML |
|---|
| 4 | output. It will produce a class "Typemaps", located in the files |
|---|
| 5 | "YOUR_PATH/typemaps.{h,cpp}". This class will contain the MPI code |
|---|
| 6 | create the neccessary extended struct derived datatypes. The |
|---|
| 7 | TypemapGenerator will only generate datatypes for its friends. |
|---|
| 8 | |
|---|
| 9 | To get an idea how it's working, have a look at the demonstation |
|---|
| 10 | project in "./sample". The "compile.sh" script exhibits the three |
|---|
| 11 | phase build process: (a) parsing via Doxygen, (b) code generation |
|---|
| 12 | using the TypemapGenerator and (c) compilation using Make. |
|---|
| 13 | |
|---|
| 14 | INSTALLATION |
|---|
| 15 | ============ |
|---|
| 16 | |
|---|
| 17 | You will probably want to integrate the TypemapGenerator into your build |
|---|
| 18 | process (similar to "compile.sh"). How this is done will depend on |
|---|
| 19 | your setup. |
|---|