From 34d8ccdbc884fe7298bfbb9f4d43d5298d90388b Mon Sep 17 00:00:00 2001 From: edoapra Date: Wed, 6 Dec 2017 09:44:29 -0800 Subject: [PATCH] scalapack fix for osx mpich --- travis/nwchem.bashrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/travis/nwchem.bashrc b/travis/nwchem.bashrc index 9f83ed33ec..7a09f3274b 100644 --- a/travis/nwchem.bashrc +++ b/travis/nwchem.bashrc @@ -5,7 +5,9 @@ export USE_MPI=y export USE_64TO32=y if [[ "$os" == "Darwin" ]]; then export BLASOPT="-L/usr/local/opt/openblas/lib -lopenblas" - export SCALAPACK="-L/usr/local/lib -lscalapack -lopenblas" + if [[ "$MPI_IMPL" == "openmpi" ]]; then + export SCALAPACK="-L/usr/local/lib -lscalapack -lopenblas" + fi export NWCHEM_TARGET=MACX64 export DYLD_LIBRARY_PATH=$TRAVIS_BUILD_DIR/lib:$DYLD_LIBRARY_PATH if [[ "$MPI_IMPL" == "mpich" ]]; then