Skip to content

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

Open
sean-m-brennan wants to merge 1 commit intollnl:masterfrom
sean-m-brennan:intel-mpi_mpi-h-ordering
Open

Header ordering for Intel MPI: mpi.h must come before stdio.h#3
sean-m-brennan wants to merge 1 commit intollnl:masterfrom
sean-m-brennan:intel-mpi_mpi-h-ordering

Conversation

@sean-m-brennan
Copy link

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments