#1667: ExternalLibraries/MPI should report error messages ---------------------+------------------------------------------------------ Reporter: hinder | Owner: Type: defect | Status: new Priority: minor | Milestone: Component: Cactus | Version: development version Resolution: | Keywords: MPI ---------------------+------------------------------------------------------
Comment (by rhaas):
So would "AUTOMATIC" be clearer in implying that it may build? SEARCH does not imply building to my ears.
Addendum: may make sense to have the SEARCH method accept an MPI_DIR to give it a starting point to search, so that one can set MPI_DIR=some-mpi- root and it will find both libmpi.so and libmpich.so etc. So just setting MPI_DIR would SEARCH for an MPI installation in there, while setting MPI_DIR and MPI_LIBS would still search for the include files but fix the libraries to whatever they are. So in a blending from SEARCH to MANUAL, SEARCH would be
MPI_DIR = SEARCH
and MANUAL would be MPI_DIR = MANUAL MPI_COMPILE_FLAGS = -I/usr/lib/mpich/include -DMPICH_SKIP_CXX_SEEK MPI_LINK_FLAGS = -lmpich -lpthreads -L/usr/lib/mpich/lib64
with MPI_DIR = /usr/lib/mpich
being somewhere in between. This is kind of my personal wishlist for how I wished the system would behave.