From b90ad7603be2936516cd38c298a38a9c7a02728b Mon Sep 17 00:00:00 2001
From: Pascal Jahan Elahi <pascaljelahi@gmail.com>
Date: Mon, 14 Jan 2019 13:25:09 +1100
Subject: [PATCH] Update to mpi libs included when compiling with velociraptor

---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index ac2c07f010..cbe906fa01 100644
--- a/configure.ac
+++ b/configure.ac
@@ -957,7 +957,7 @@ if test "x$with_velociraptor" != "xno"; then
    AC_PROG_FC
    AC_FC_LIBRARY_LDFLAGS
    if test "x$with_velociraptor" != "xyes" -a "x$with_velociraptor" != "x"; then
-      VELOCIRAPTOR_LIBS="-L$with_velociraptor -lvelociraptor -lstdc++ -lhdf5_cpp"
+      VELOCIRAPTOR_LIBS="-L$with_velociraptor -lvelociraptor -lmpi -lstdc++ -lhdf5_cpp"
       CFLAGS="$CFLAGS -fopenmp"
    else
       VELOCIRAPTOR_LIBS=""
-- 
GitLab