TeuchosComm Requires MPI v2 but this is not tested for at compile time.
Created by: jjellio
Reported by David Hysom,
MPI_Comm_create_keyval is an MPI2 function, if a user attempts to build with MPI-1, they will get atleast the error below (potentially others?). Is there a compile time check for the MPI spec the compiler supports? If not, attempting to compile a program with
MPI_Comm_create_keyval could be an option.
packages/teuchos/comm/src/Teuchos_MpiReductionOpSetter.cpp:171:43: error: 'MPI_Comm_create_keyval' was not declared in this scope &key, NULL);