Skip to content
Snippets Groups Projects
Commit 7439f6c8 authored by Morris Jette's avatar Morris Jette
Browse files

Improve cray config messages

No change in logic. Just make error messages more uniform and complete
parent 9c843364
No related branches found
No related tags found
No related merge requests found
......@@ -139,7 +139,7 @@ AC_DEFUN([X_AC_CRAY],
]]
)],
[have_cray_files="yes"],
[AC_MSG_ERROR(There is a problem linking to the Cray api.)])
[AC_MSG_ERROR(There is a problem linking to the Cray API)])
# See if we have 5.2UP01 alpscomm functions
AC_SEARCH_LIBS([alpsc_pre_suspend],
......@@ -159,7 +159,7 @@ AC_DEFUN([X_AC_CRAY],
]]
)],
[have_cray_files="yes"],
[AC_MSG_ERROR(There is a problem linking to the Cray API.)])
[AC_MSG_ERROR(There is a problem linking to the Cray API)])
fi
LIBS="$saved_LIBS"
......@@ -169,7 +169,7 @@ AC_DEFUN([X_AC_CRAY],
done
if test -z "$have_cray_files"; then
AC_MSG_ERROR([Unable to locate Cray API dir install. (usually in /opt/cray)])
AC_MSG_ERROR([Unable to locate Cray APIs (usually in /opt/cray/alpscomm and /opt/cray/job)])
else
if test "$ac_have_native_cray" = "yes"; then
AC_MSG_NOTICE([Running on a Cray system in native mode without ALPS])
......
......@@ -22181,7 +22181,7 @@ _ACEOF
if ac_fn_c_try_link "$LINENO"; then :
have_cray_files="yes"
else
as_fn_error $? "There is a problem linking to the Cray api." "$LINENO" 5
as_fn_error $? "There is a problem linking to the Cray API" "$LINENO" 5
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
......@@ -22267,7 +22267,7 @@ _ACEOF
if ac_fn_c_try_link "$LINENO"; then :
have_cray_files="yes"
else
as_fn_error $? "There is a problem linking to the Cray API." "$LINENO" 5
as_fn_error $? "There is a problem linking to the Cray API" "$LINENO" 5
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
......@@ -22280,7 +22280,7 @@ rm -f core conftest.err conftest.$ac_objext \
done
 
if test -z "$have_cray_files"; then
as_fn_error $? "Unable to locate Cray API dir install. (usually in /opt/cray)" "$LINENO" 5
as_fn_error $? "Unable to locate Cray APIs (usually in /opt/cray/alpscomm and /opt/cray/job)" "$LINENO" 5
else
if test "$ac_have_native_cray" = "yes"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: Running on a Cray system in native mode without ALPS" >&5
......
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