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

Add framework for XCPU job launch.

parent 1f646fc9
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,7 @@ documents those changes that are of interest to users and admins. ...@@ -3,6 +3,7 @@ documents those changes that are of interest to users and admins.
* Changes in SLURM 1.1.0-pre3 * Changes in SLURM 1.1.0-pre3
============================= =============================
-- Added framework for XCPU job launch support.
* Changes in SLURM 1.1.0-pre2 * Changes in SLURM 1.1.0-pre2
============================= =============================
......
...@@ -8,7 +8,8 @@ ...@@ -8,7 +8,8 @@
# X_AC_BG # X_AC_BG
# #
# DESCRIPTION: # DESCRIPTION:
# Test for Blue Gene/L specific files. If found define HAVE_BG # Test for Blue Gene/L specific files.
# If found define HAVE_BG and HAVE_FRONT_END.
##***************************************************************************** ##*****************************************************************************
......
##*****************************************************************************
## $Id: x_ac_xcpu.m4 7443 2006-03-08 20:23:25Z da $
##*****************************************************************************
# AUTHOR:
# Morris Jette <jette1@llnl.gov>
#
# SYNOPSIS:
# X_AC_XCPU
#
# DESCRIPTION:
# Test for XCPU specific files.
# If found define HAVE_XCPU and HAVE_FRONT_END.
# Explicitly disable with --enable-xcpu=no
##*****************************************************************************
AC_DEFUN([X_AC_XCPU],
[
AC_MSG_CHECKING([whether XCPU is enabled])
AC_ARG_ENABLE([xcpu],
AC_HELP_STRING([--enable-xcpu], [enable XCPU job launch]),
[ case "$enableval" in
yes) ac_xcpu=yes ;;
no) ac_xcpu=no ;;
*) AC_MSG_RESULT([doh!])
AC_MSG_ERROR([bad value "$enableval" for --enable-xcpu]) ;;
esac
]
)
if test "$ac_xcpu" != "no" ; then
if test -d "/mnt/xcpu" ; then
AC_DEFINE(HAVE_XCPU, 1, [Define to 1 if using XCPU for job launch])
AC_DEFINE(HAVE_FRONT_END, 1, [Define to 1 if running slurmd on front-end only])
else
ac_xcpu=no
fi
fi
AC_MSG_RESULT($ac_xcpu)
])
...@@ -105,6 +105,7 @@ CFLAGS="$CFLAGS $PTHREAD_CFLAGS" ...@@ -105,6 +105,7 @@ CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
LIBS="$PTHREAD_LIBS $LIBS" LIBS="$PTHREAD_LIBS $LIBS"
X_AC_BLUEGENE X_AC_BLUEGENE
X_AC_XCPU
X_AC_SLURM_SEMAPHORE X_AC_SLURM_SEMAPHORE
X_AC_NCURSES X_AC_NCURSES
......
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