From e05512fa013ac1bce880f764e38cab38eac61bfd Mon Sep 17 00:00:00 2001 From: edoapra Date: Tue, 28 Oct 2025 10:52:32 -0700 Subject: [PATCH] tweak BUILD_MPICH settings --- travis/nwchem.bashrc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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