Skip to content

Latest commit

 

History

History
41 lines (34 loc) · 1.7 KB

README.md

File metadata and controls

41 lines (34 loc) · 1.7 KB

MPI TypeMap Display

Little library allowing to display Typemaps for derived Datatypes in MPI.

Quick documentation

Use #include <typemap.h> to access the function void printMapDatatype(MPI_Datatype datatype). The typemap is printed on the stdout.

  • [ means that this is the beginning of and vector typemap. ] is for the end of it.
  • < and > are for an indexed.
  • { and } are for a structure.

Output example :

"(LB, -3), (MPI_INT, 0), (MPI_INT, 9), (UB, 15)"

Contribution

If you avec an issue you can report it here.
Pull request are welcomed.
You can contact me for questions to pg.developper.fr@gmail.com

Run the test

~ > cd MPI-TypeMap-Display
~/MPI-TypeMap-Display > make
~/MPI-TypeMap-Display > ./bin/test

TODO

  • Fix the , at the end of typemap
  • Implement MPI_COMBINER_SUBARRAY & MPI_COMBINER_DARRAY
  • Probably a lot more ...

Sources

http://www.cs.kent.edu/~farrell/cc08/lectures/mpi_datatypes.pdf
http://www.mcs.anl.gov/research/projects/mpi/mpi-standard/mpi-report-2.0/node161.htm
http://www.mcs.anl.gov/research/projects/mpi/mpi-standard/mpi-report-1.1/node55.htm
http://pages.tacc.utexas.edu/~eijkhout/pcse/html/mpi-data.html