项目作者: Taknok

项目描述 :
Little library allowing to display Typemaps for derived Datatypes in MPI.
高级语言: C
项目地址: git://github.com/Taknok/MPI-TypeMap-Display.git
创建时间: 2017-08-05T04:58:38Z
项目社区:https://github.com/Taknok/MPI-TypeMap-Display

开源协议:MIT License

下载


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 :

    1. "(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

    1. ~ > cd MPI-TypeMap-Display
    2. ~/MPI-TypeMap-Display > make
    3. ~/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