MPI中的数据类型

  MPI预定义C数据类型     与C类型的对应关系
    MPI_CHAR           char
    MPI_SHORT          short int
    MPI_INT            int
    MPI_LONG            long int
    MPI_UNSIGNED_CHAR       unsigned char
    MPI_UNSIGNED_SHORT       unsigned short int
    MPI_UNSIGNED          unsigned int
    MPI_UNSIGNED_LONG       unsigned long int
    MPI_FLOAT           float
    MPI_DOUBLE           double
    MPI_LONG_DOUBLE        long double
    MPI_BYTE            无对应类型
    MPI_PACKED           无对应类型

  可选的MPI预定义C数据类型
    MPI_LONG_LONG_INT       long long int