diff options
author | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2005-05-02 08:58:55 +0000 |
---|---|---|
committer | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2005-05-02 08:58:55 +0000 |
commit | 496ed759ab57d1c9daa0b135b99170540c4c6b4d (patch) | |
tree | 50ecb00aa7cfee52aed19c4ec23b9cb7f19c5129 /lib | |
parent | 3db086e64f33039d5cab4d827cef922074a2cbe7 (diff) |
Add MPI include/lib paths and libs in case a parallel HDF5 installation was found.
This closes PR CactusPUGHIO-1920.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4036 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/make/extras/HDF5/setup.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/make/extras/HDF5/setup.sh b/lib/make/extras/HDF5/setup.sh index f34c1a31..172ce464 100755 --- a/lib/make/extras/HDF5/setup.sh +++ b/lib/make/extras/HDF5/setup.sh @@ -163,6 +163,13 @@ if [ $test_zlib -eq 0 ]; then HDF5_LIB_DIRS="$HDF5_LIB_DIRS $LIBZ_DIR" fi +# Add MPI libraries for parallel HDF5 +if [ $test_phdf5 -eq 0 ]; then + HDF5_LIBS="$HDF5_LIBS \${MPI_LIBS}" + HDF5_INC_DIRS="$HDF5_INC_DIRS \${MPI_INC_DIRS}" + HDF5_LIB_DIRS="$HDF5_LIB_DIRS \${MPI_LIB_DIRS}" +fi + # Finally, add the math lib which might not be linked against by default if [ $is_windows -eq 0 ]; then HDF5_LIBS="$HDF5_LIBS m" |