diff options
author | eschnett <eschnett@043a8217-7a68-40fe-abfd-36aa7d4fa6a8> | 2013-05-20 18:50:01 +0000 |
---|---|---|
committer | eschnett <eschnett@043a8217-7a68-40fe-abfd-36aa7d4fa6a8> | 2013-05-20 18:50:01 +0000 |
commit | b62437307dd69398139ee33eead6b4e5030d4f1c (patch) | |
tree | 61ed0999b0e519f39c4bb3aa699c53aeb1282794 | |
parent | 9a1925aea9ddc461fc14291766d6ade4ef601f96 (diff) |
Correct auto-detecting MacPorts OpenMPI
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/MPI/trunk@32 043a8217-7a68-40fe-abfd-36aa7d4fa6a8
-rwxr-xr-x | configure.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.sh b/configure.sh index eff032f..1738d9b 100755 --- a/configure.sh +++ b/configure.sh @@ -51,8 +51,9 @@ if [ -z "${MPI_DIR}" ]; then if [ -z "${MPI_DIR}" -a -z "${MPI_INC_DIRS}" ]; then # MacPorts OpenMPI - if [ -r /opt/local/include/openmpi/mpi.h -a \ - -r /opt/local/lib/libmpi.a ]; + if [ -r /opt/local/include/openmpi/mpi.h -a \ + -r /opt/local/lib/libmpi.dylib -a \ + -r /opt/local/lib/libmpi_cxx.dylib ]; \ then MPI_DIR=/opt/local MPI_INC_DIRS=/opt/local/include/openmpi |