|
@@ -2245,6 +2245,14 @@ AC_MSG_RESULT($nmaxbuffers)
|
|
|
AC_DEFINE_UNQUOTED(STARPU_NMAXBUFS, [$nmaxbuffers],
|
|
|
[how many buffers can be manipulated per task])
|
|
|
|
|
|
+AC_MSG_CHECKING(how many MPI nodes fxt files can be manipulated when generating traces)
|
|
|
+AC_ARG_ENABLE(fxt-max-files, [AS_HELP_STRING([--enable-fxt-max-files=<nbuffers>],
|
|
|
+ [maximum number of mpi nodes for traces])],
|
|
|
+ nmaxfxtfiles=$enableval, nmaxfxtfiles=64)
|
|
|
+AC_MSG_RESULT($nmaxfxtfiles)
|
|
|
+AC_DEFINE_UNQUOTED(STARPU_FXT_MAX_FILES, [$nmaxfxtfiles],
|
|
|
+ [how many MPI nodes fxt files can be manipulated when generating traces])
|
|
|
+
|
|
|
AC_MSG_CHECKING(maximum number of memory nodes to use per MPI rank)
|
|
|
AC_ARG_ENABLE(maxnodes, [AS_HELP_STRING([--enable-maxnodes=<nnodes>],
|
|
|
[maximum number of memory nodes per MPI rank])],
|
|
@@ -2537,6 +2545,7 @@ if test "x$enable_build_fortran_requested" = "xyes" ; then
|
|
|
fi
|
|
|
else
|
|
|
if $FC -V 2>&1|grep -q 'Intel(R) Fortran'; then
|
|
|
+ enable_build_fortran="yes"
|
|
|
ifort_fc_version=`$FC -V 2>&1 |head -1|sed 's/.*Version //;s/ Build.*//'`
|
|
|
ifort_maj_version=`echo $ifort_fc_version|cut -d. -f1`
|
|
|
|
|
@@ -2553,38 +2562,28 @@ if test "x$enable_build_fortran_requested" = "xyes" ; then
|
|
|
enable_build_fortran="no"
|
|
|
else
|
|
|
AC_MSG_WARN(Fortran compiler has not been tested for StarPU native Fortran support)
|
|
|
+ enable_build_fortran="yes"
|
|
|
fi
|
|
|
fi
|
|
|
fi
|
|
|
if test "x$enable_build_fortran" = "xyes" ; then
|
|
|
AC_DEFINE(STARPU_HAVE_FC, [1], [Define this if a Fortran compiler is available])
|
|
|
- if test x$build_mpi_lib = xyes -o x$build_mpi_master_slave = xyes ; then
|
|
|
- AC_ARG_WITH(mpifort, [AS_HELP_STRING([--with-mpifort[=<path to mpifort>]],
|
|
|
- [Path of the mpifort compiler])],
|
|
|
- [
|
|
|
- if test x$withval = xyes; then
|
|
|
- AC_MSG_ERROR(--with-mpifort must be given a pathname)
|
|
|
- else
|
|
|
- mpifort_path=$withval
|
|
|
- fi
|
|
|
- ],
|
|
|
- [
|
|
|
- if test x$enable_simgrid = xyes ; then
|
|
|
- DEFAULT_MPIFORT=smpifort
|
|
|
- else
|
|
|
- DEFAULT_MPIFORT=mpif90
|
|
|
- fi
|
|
|
- case $DEFAULT_MPIFORT in
|
|
|
- /*) mpifort_path="$DEFAULT_MPIFORT" ;;
|
|
|
- *) AC_PATH_PROG(mpifort_path, $DEFAULT_MPIFORT, [no], [$MPIPATH])
|
|
|
- esac
|
|
|
- ])
|
|
|
-
|
|
|
+ if test x$build_mpi_lib = xyes -o x$build_nmad_lib = xyes -o x$build_mpi_master_slave = xyes ; then
|
|
|
+ #Check MPIFORT
|
|
|
+ if test x$enable_simgrid = xyes ; then
|
|
|
+ DEFAULT_MPIFORT=smpifort
|
|
|
+ else
|
|
|
+ DEFAULT_MPIFORT=mpifort
|
|
|
+ fi
|
|
|
+ AC_ARG_WITH(mpifort, [AS_HELP_STRING([--with-mpifort=<mpifort name or path to mpifort>], [Name or path of the mpifort compiler])], [DEFAULT_MPIFORT=$withval])
|
|
|
+ case $DEFAULT_MPIFORT in
|
|
|
+ /*) mpifort_path="$DEFAULT_MPIFORT" ;;
|
|
|
+ *) AC_PATH_PROG(mpifort_path, $DEFAULT_MPIFORT, [no], [$simgrid_dir/bin:$PATH]) ;;
|
|
|
+ esac
|
|
|
# We test if the MPIFORT compiler exists
|
|
|
if test ! -x $mpifort_path; then
|
|
|
- #MPIFORT does not exists or is not executable
|
|
|
AC_MSG_RESULT(The mpifort compiler '$mpifort_path' does not have the execute permission)
|
|
|
- use_mpi_fort=no
|
|
|
+ mpifort_path=no
|
|
|
else
|
|
|
OLD_CC=$CC
|
|
|
CC=$mpicc_path
|
|
@@ -2599,11 +2598,18 @@ if test "x$enable_build_fortran_requested" = "xyes" ; then
|
|
|
CC=$OLD_CC
|
|
|
if test "x$use_mpi_fort" = xyes; then
|
|
|
AC_DEFINE([HAVE_MPI_COMM_F2C], [1], [Function MPI_Comm_f2c is available])
|
|
|
- AC_MSG_CHECKING(mpifort path)
|
|
|
- AC_MSG_RESULT($mpifort_path)
|
|
|
- AC_SUBST(MPIFORT, $mpifort_path)
|
|
|
fi
|
|
|
fi
|
|
|
+
|
|
|
+ AC_MSG_CHECKING(whether mpifort is available)
|
|
|
+ AC_MSG_RESULT($mpifort_path)
|
|
|
+ AC_SUBST(MPIFORT, $mpifort_path)
|
|
|
+
|
|
|
+ if test x$mpifort_path != xno ; then
|
|
|
+ MPIPATH=$(dirname $mpifort_path):$PATH
|
|
|
+ else
|
|
|
+ MPIPATH=$PATH
|
|
|
+ fi
|
|
|
fi
|
|
|
fi
|
|
|
fi
|
|
@@ -3413,34 +3419,51 @@ AC_ARG_ENABLE(build-doc, [AS_HELP_STRING([--disable-build-doc],
|
|
|
[disable building of documentation])],
|
|
|
enable_build_doc=$enableval, enable_build_doc=yes)
|
|
|
|
|
|
-if test "$enable_build_doc" = "yes" ; then
|
|
|
- # Check whether doxygen needed tools are installed
|
|
|
- AC_PATH_PROG(doxygencommand, doxygen)
|
|
|
- if test "$doxygencommand" = "" ; then
|
|
|
- enable_build_doc="no"
|
|
|
- fi
|
|
|
- AC_PATH_PROG(pdflatexcommand, pdflatex)
|
|
|
- if test "$pdflatexcommand" = "" ; then
|
|
|
- enable_build_doc="no"
|
|
|
- fi
|
|
|
- AC_PATH_PROG(epstopdfcommand, epstopdf)
|
|
|
- if test "$epstopdfcommand" = "" ; then
|
|
|
- enable_build_doc="no"
|
|
|
- fi
|
|
|
+AC_ARG_ENABLE(build-doc-pdf, [AS_HELP_STRING([--enable-build-doc-pdf],
|
|
|
+ [enable building of PDF documentation])],
|
|
|
+ enable_build_doc_pdf=$enableval, enable_build_doc_pdf=no)
|
|
|
+
|
|
|
+# Check whether doxygen needed tools are installed
|
|
|
+AC_PATH_PROG(doxygencommand, doxygen)
|
|
|
+if test "$doxygencommand" = "" ; then
|
|
|
+ enable_build_doc="no"
|
|
|
+ enable_build_doc_pdf="no"
|
|
|
+fi
|
|
|
+AC_PATH_PROG(pdflatexcommand, pdflatex)
|
|
|
+if test "$pdflatexcommand" = "" ; then
|
|
|
+ enable_build_doc_pdf="no"
|
|
|
fi
|
|
|
+AC_PATH_PROG(epstopdfcommand, epstopdf)
|
|
|
+if test "$epstopdfcommand" = "" ; then
|
|
|
+ enable_build_doc_pdf="no"
|
|
|
+fi
|
|
|
+
|
|
|
available_doc="no"
|
|
|
-if test -f "$srcdir/doc/doxygen/starpu.pdf" ; then
|
|
|
+if test -d "$srcdir/doc/doxygen/html" ; then
|
|
|
enable_build_doc="no"
|
|
|
available_doc="yes"
|
|
|
fi
|
|
|
-AC_MSG_CHECKING(whether documentation should be compiled)
|
|
|
+available_doc_pdf="no"
|
|
|
+if test -f "$srcdir/doc/doxygen/starpu.pdf" ; then
|
|
|
+ enable_build_doc="no"
|
|
|
+ enable_build_doc_pdf="no"
|
|
|
+ available_doc_pdf="yes"
|
|
|
+fi
|
|
|
+AC_MSG_CHECKING(whether HTML documentation should be compiled)
|
|
|
AC_MSG_RESULT($enable_build_doc)
|
|
|
-AC_MSG_CHECKING(whether documentation is available)
|
|
|
+AC_MSG_CHECKING(whether HTML documentation is available)
|
|
|
AC_MSG_RESULT($available_doc)
|
|
|
+AC_MSG_CHECKING(whether PDF documentation should be compiled)
|
|
|
+AC_MSG_RESULT($enable_build_doc_pdf)
|
|
|
+AC_MSG_CHECKING(whether PDF documentation is available)
|
|
|
+AC_MSG_RESULT($available_doc_pdf)
|
|
|
|
|
|
AM_CONDITIONAL(STARPU_BUILD_DOC, [test x$enable_build_doc != xno])
|
|
|
AM_CONDITIONAL(STARPU_AVAILABLE_DOC, [test x$available_doc != xno])
|
|
|
|
|
|
+AM_CONDITIONAL(STARPU_BUILD_DOC_PDF, [test x$enable_build_doc_pdf != xno])
|
|
|
+AM_CONDITIONAL(STARPU_AVAILABLE_DOC_PDF, [test x$available_doc_pdf != xno])
|
|
|
+
|
|
|
###############################################################################
|
|
|
# #
|
|
|
# Julia #
|
|
@@ -3520,6 +3543,9 @@ AC_CONFIG_COMMANDS([executable-scripts], [
|
|
|
test -e tests/microbenchs/parallel_independent_homogeneous_tasks.sh || ln -sf $ac_abs_top_srcdir/tests/microbenchs/parallel_independent_homogeneous_tasks.sh tests/microbenchs/
|
|
|
test -e tests/microbenchs/parallel_redux_homogeneous_tasks_data.sh || ln -sf $ac_abs_top_srcdir/tests/microbenchs/parallel_redux_homogeneous_tasks_data.sh tests/microbenchs/
|
|
|
test -e tests/microbenchs/parallel_redux_heterogeneous_tasks_data.sh || ln -sf $ac_abs_top_srcdir/tests/microbenchs/parallel_redux_heterogeneous_tasks_data.sh tests/microbenchs/
|
|
|
+ mkdir -p tests/energy
|
|
|
+ test -e tests/energy/static.sh || ln -sf $ac_abs_top_srcdir/tests/energy/static.sh tests/energy/
|
|
|
+ test -e tests/energy/dynamic.sh || ln -sf $ac_abs_top_srcdir/tests/energy/dynamic.sh tests/energy/
|
|
|
mkdir -p tests/datawizard
|
|
|
test -e tests/datawizard/locality.sh || ln -sf $ac_abs_top_srcdir/tests/datawizard/locality.sh tests/datawizard/
|
|
|
mkdir -p tests/overlap
|
|
@@ -3672,8 +3698,9 @@ AC_MSG_NOTICE([
|
|
|
hwloc: $have_valid_hwloc
|
|
|
FxT trace enabled: $use_fxt
|
|
|
|
|
|
- Documentation: $enable_build_doc
|
|
|
- Examples: $enable_build_examples
|
|
|
+ Documentation HTML: $enable_build_doc
|
|
|
+ Documentation PDF: $enable_build_doc_pdf
|
|
|
+ Examples: $enable_build_examples
|
|
|
|
|
|
StarPU Extensions:
|
|
|
StarPU MPI enabled: $build_mpi_lib
|