diff --git a/travis/nwchem.bashrc b/travis/nwchem.bashrc index 91d63a0686..7e34e432d8 100644 --- a/travis/nwchem.bashrc +++ b/travis/nwchem.bashrc @@ -29,16 +29,12 @@ echo NWCHEM_TOP is $NWCHEM_TOP #TARBALL=https://github.com/nwchemgit/nwchem/releases/download/v7.0.0-beta1/nwchem-7.0.0-release.revision-5bcf0416-src.2019-11-01.tar.bz2 export USE_MPI=y export MPICH_INTERFACE_HOSTNAME=localhost # fix for Mpich interface errors -if [[ "$FC" == "flang" ]]; then +if [[ "$FC" == *'flang'* ]] || [[ "$FC" == *'nvfortran'* ]]; then export BUILD_MPICH=1 fi if [[ "$FC" == "amdflang" ]]; then export PATH=/opt/rocm/bin:$PATH export LD_LIBRARY_PATH=/opt/rocm-"$rocm_version"/lib:/opt/rocm/llvm/lib:$LD_LIBRARY_PATH - export BUILD_MPICH=1 -fi -if [[ "$FC" == 'flang-new-'* ]]; then - export BUILD_MPICH=1 fi if [[ "$FC" == "nvfortran" ]]; then