Skip to content

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

License

Notifications You must be signed in to change notification settings

Taknok/MPI-TypeMap-Display

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 [email protected]

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published