if (MPI_LONG_DOUBLE != MPI_DATATYPE_NULL) {
MPI_Type_size(MPI_LONG_DOUBLE, &type_size);
if (type_size != sizeof(long double)) {
- printf("type_size != sizeof(long double) : (%zd != %zd)\n",
- (size_t)type_size, sizeof(long double));
+ printf("type_size != sizeof(long double) : (%d != %zd)\n",
+ type_size, sizeof(long double));
++errs;
}
}
if (MPI_C_LONG_DOUBLE_COMPLEX != MPI_DATATYPE_NULL) {
MPI_Type_size(MPI_C_LONG_DOUBLE_COMPLEX, &type_size);
if (type_size != sizeof(long double _Complex)) {
- printf("type_size != sizeof(long double _Complex) : (%zd != %zd)\n",
- (size_t)type_size, sizeof(long double _Complex));
+ printf("type_size != sizeof(long double _Complex) : (%d != %zd)\n",
+ type_size, sizeof(long double _Complex));
++errs;
}
}
MPI_Finalize();
return 0;
}
-