PnMPI icon indicating copy to clipboard operation
PnMPI copied to clipboard

Header ordering for Intel MPI: mpi.h must come before stdio.h

Open sean-m-brennan opened this issue 10 years ago • 0 comments

Compilation for certain combinations of compiler plus Intel MPI fails, indicating that mpi.h must be included before stdio.h (and friends). Re-ordered the inclusions, tested across gcc, intel, and pgi compilers with openmpi, mvapich2, and intel-mpi libraries (multiple versions each).

sean-m-brennan avatar Jul 13 '15 14:07 sean-m-brennan