From 47681692425141afde7e4479e81d9671ecf7bbad Mon Sep 17 00:00:00 2001 From: edoapra Date: Tue, 13 Sep 2022 13:04:54 -0700 Subject: [PATCH] macos: try x86 python on arm64 using pyenv --- travis/nwchem.bashrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/travis/nwchem.bashrc b/travis/nwchem.bashrc index 3395237b7a..89c0a0bf07 100644 --- a/travis/nwchem.bashrc +++ b/travis/nwchem.bashrc @@ -73,7 +73,8 @@ if [[ "$FC" == "ifort" ]] || [[ "$FC" == "ifx" ]] ; then unset BUILD_PLUMED # python arm64 not compatible with x86_64 if [[ "$arch" == "arm64" ]]; then - export NWCHEM_MODULES=$(echo $NWCHEM_MODULES |sed 's/python//') +# export NWCHEM_MODULES=$(echo $NWCHEM_MODULES |sed 's/python//') + [ -d ~/.pyenv/versions/3.10.6_x86 ] && pyenv shell 3.10.6_x86 fi fi