SP: Updated RAJA example makefile template.
@@ -39,14 +39,20 @@ LIBS = @LIBS@
LINKFLAGS = -Xlinker ,-rpath,@libdir@
+MPICC = @MPI_CXX_COMPILER@
+MPI_INC_DIR = @MPI_CXX_HEADER_DIR@
+MPI_LIB_DIR = @MPI_LINK_FLAGS@
+MPI_LIBS = @MPI_mpi_LIBRARY@ @MPI_mpicxx_LIBRARY@
+MPI_FLAGS = @MPI_FLAGS@
+
CUDALIBS = @CUDA_CUDART_LIBRARY@
RAJALIBDIR = @RAJA_LIB_DIR@
INCLUDES_RAJA = @RAJA_INCLUDE_DIR@
-TMP_INCS = ${includedir} ${INCLUDES_RAJA}
+TMP_INCS = ${includedir} ${INCLUDES_RAJA} ${MPI_INC_DIR}
INCLUDES = $(addprefix -I, ${TMP_INCS})
-LIBRARIES = -l@SOLVER_LIB@ -lsundials_nvecraja -lRAJA ${CUDALIBS} ${LIBS}
+LIBRARIES = -l@SOLVER_LIB@ -lsundials_nvecraja -lRAJA ${CUDALIBS} ${LIBS} ${MPI_LIBS}
EXAMPLES = @EXAMPLES@ @EXAMPLES_BL@
EXAMPLES_DEPENDENCIES = @EXAMPLES_DEPENDENCIES@
