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.
This commit is contained in:
Huub Van Dam 2013-05-15 20:56:40 +00:00
parent cf30f42807
commit faf09adadb

View file

@ -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