Disable Clang's type checking for MPI_2INT
Type checking for MPI_2INT is commented out because Clang 3.3 flags struct {int i1; int i2;} as different from int[2]. But actually these two types are of the same layout. Clang gives a type mismatch warning for a definitely correct code like the following: int in[2], out[2]; MPI_Reduce(in, out, 1, MPI_2INT, MPI_MAXLOC, 0, MPI_COMM_WORLD); So, we disable type checking for MPI_2INT until Clang fixes this bug. Fixes #1993 Signed off by Rajeev Thakur <thakur@mcs.anl.gov>
Please register or sign in to comment