Skip to content
Snippets Groups Projects
Commit cd0818dd authored by Moe Jette's avatar Moe Jette
Browse files

select/cray: update for patch 09, which tests for Cray binaries 'apbasil' and 'apkill'

Just a suggestion, also updates comment text.
parent 47bf59c1
No related branches found
No related tags found
No related merge requests found
...@@ -61,18 +61,17 @@ AC_DEFUN([X_AC_CRAY], ...@@ -61,18 +61,17 @@ AC_DEFUN([X_AC_CRAY],
fi fi
# Check that all Cray binaries called by SLURM are in their expected places. # Check that all Cray binaries called by SLURM are in their expected places.
# On a standard XT/XE installation, both these have always been in /usr/bin. # On a standard XT/XE installation, apbasil and apkill are normally in /usr/bin.
for dir in $_x_ac_alps_dirs; do for dir in $_x_ac_alps_dirs; do
test -d "$dir" || continue
test -d "$dir/bin" || continue test -d "$dir/bin" || continue
test -f "$dir/bin/apbasil" || continue test -x "$dir/bin/apbasil" || continue
test -f "$dir/bin/apkill" || continue test -x "$dir/bin/apkill" || continue
_x_ac_alps_install_dir="$dir" _x_ac_alps_install_dir="$dir"
AC_DEFINE_UNQUOTED(HAVE_ALPS_DIR, "$dir", [Directory in which ALPS has been installed]) AC_DEFINE_UNQUOTED(HAVE_ALPS_DIR, "$dir", [Directory in which ALPS has been installed])
break break
done done
if test -z "$_x_ac_alps_install_dir"; then if test -z "$_x_ac_alps_install_dir"; then
AC_MSG_ERROR([Could not locate apbasil and apikill executables on Cray system. See --with-alps-dir option.]) AC_MSG_ERROR([Could not locate apbasil and apkill executables on Cray system. See --with-alps-dir option.])
fi fi
AC_DEFINE(HAVE_3D, 1, [Define to 1 if 3-dimensional architecture]) AC_DEFINE(HAVE_3D, 1, [Define to 1 if 3-dimensional architecture])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment