mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-28 22:25:48 -04:00
speedup openblas
This commit is contained in:
parent
06207b9023
commit
d88686ee71
1 changed files with 3 additions and 2 deletions
|
|
@ -84,7 +84,8 @@ else
|
|||
if [[ -n "${USE_DYNAMIC_ARCH}" ]] || [[ "${USE_HWOPT}" == "n" ]]; then
|
||||
if [[ "$arch" == "x86_64" ]]; then
|
||||
echo "not cross compiling, therefore using DYNAMIC_ARCH "
|
||||
FORCETARGET+="DYNAMIC_ARCH=1 DYNAMIC_OLDER=1"
|
||||
FORCETARGET+="DYNAMIC_ARCH=1"
|
||||
# FORCETARGET+="DYNAMIC_ARCH=1 DYNAMIC_OLDER=1"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
|
@ -235,7 +236,7 @@ if [[ ! -z "${USE_OPENMP}" ]]; then
|
|||
fi
|
||||
GOTFREEBSD=$(uname -o 2>&1|awk ' /FreeBSD/ {print "1";exit}')
|
||||
MYMAKE=make
|
||||
MAKEJ="MAKE_NB_JOBS=2"
|
||||
MAKEJ="MAKE_NB_JOBS=4"
|
||||
MAKE_MAJOR=$(make --version 2>& 1|head -1| cut -d " " -f 3 |cut -d . -f 1)
|
||||
MAKE_MINOR=$(make --version 2>& 1|head -1| cut -d " " -f 3 |cut -d . -f 2)
|
||||
if [[ ${MAKE_MAJOR} -ge 4 ]] && [[ ${MAKE_MINOR} -ge 4 ]]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue