BUILD_MPICH for amdflang

This commit is contained in:
edoapra 2022-12-20 23:35:03 -08:00
parent d42a8d42d5
commit 3096932faa
No known key found for this signature in database
GPG key ID: 48E12DA1EDE9E1B0

View file

@ -23,7 +23,7 @@ fi
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
if [[ "$FC" == "flang" ]] || [[ "$FC" == "amdflang" ]]; then
if [[ "$FC" == "flang" ]]; then
if [[ "USE_AOMP" == "Y" ]]; then
aomp_major=15
aomp_minor=0-2
@ -37,6 +37,7 @@ 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" == "nvfortran" ]]; then