From faf09adadb36a4c8304da5ca3e0439d91d70b0d9 Mon Sep 17 00:00:00 2001 From: Huub Van Dam Date: Wed, 15 May 2013 20:56:40 +0000 Subject: [PATCH] HvD: The script looks for a file called nwchem* that should be executable. However, different implementations of find use a different syntax to specify the permissions to look for. This change is needed for the script to work with the BSD find. --- QA/doalltests.mpi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QA/doalltests.mpi b/QA/doalltests.mpi index faab9a1d68..b5d9152f25 100755 --- a/QA/doalltests.mpi +++ b/QA/doalltests.mpi @@ -16,7 +16,7 @@ export NWCHEM_TOP=`pwd`/.. export NWCHEM_TARGET=LINUX64 export NWCHEM_TEST=${NWCHEM_TOP}/QA/tests -export NWCHEM_EXECUTABLE=`find "${NWCHEM_TOP}/bin" -perm /u+x -name "nwchem*"` +export NWCHEM_EXECUTABLE=`find "${NWCHEM_TOP}/bin" -perm -u-x -name "nwchem*"` nproc=4 if [ "$1" != "" ] ; then nproc=$1