mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-27 21:55:30 -04:00
install hwloc on homebrew
This commit is contained in:
parent
7487c285df
commit
85f7e35235
2 changed files with 8 additions and 2 deletions
|
|
@ -52,7 +52,13 @@ if [ -x "$(command -v xx-info)" ]; then
|
|||
fi
|
||||
fi
|
||||
echo SHARED_FLAGS is $SHARED_FLAGS
|
||||
./configure --prefix=`pwd`/../.. --enable-fortran=all $SHARED_FLAGS --disable-cxx --enable-romio --disable-cuda --disable-opencl --enable-silent-rules --enable-fortran=all
|
||||
if [ $(uname -s) == "Darwin" ]; then
|
||||
if pkg-config hwloc --exists; then
|
||||
HWLOC_FLAGS=" --with-hwloc=$(pkg-config hwloc --variable=prefix) "
|
||||
fi
|
||||
fi
|
||||
echo HWLOC_FLAGS is $HWLOC_FLAGS
|
||||
./configure --prefix=`pwd`/../.. --enable-fortran=all $SHARED_FLAGS --disable-cxx --enable-romio --enable-silent-rules --enable-fortran=all $HWLOC_FLAGS
|
||||
#./configure --prefix=`pwd`/../.. --enable-fortran=all $SHARED_FLAGS --disable-cxx --enable-romio --with-pm=gforker --with-device=ch3:nemesis --disable-cuda --disable-opencl --enable-silent-rules --enable-fortran=all
|
||||
if [[ "$?" != "0" ]]; then
|
||||
cat config.log
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ fi
|
|||
else
|
||||
MPI_FORMULA="$MPI_IMPL"
|
||||
fi
|
||||
HOMEBREW_NO_INSTALL_CLEANUP=1 HOMEBREW_NO_AUTO_UPDATE=1 brew reinstall gcc $MPI_FORMULA gsed grep automake autoconf ||true
|
||||
HOMEBREW_NO_INSTALL_CLEANUP=1 HOMEBREW_NO_AUTO_UPDATE=1 brew reinstall gcc $MPI_FORMULA gsed grep automake autoconf hwloc ||true
|
||||
if [[ "$FC" != "gfortran" ]] && [[ "$FC" == "gfortran*" ]]; then
|
||||
#install non default gfortran, ie gfortran-9
|
||||
#get version
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue