mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-21 06:25:21 -04:00
tweak BUILD_MPICH settings
This commit is contained in:
parent
08f96f919c
commit
e05512fa01
1 changed files with 1 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue