Pārlūkot izejas kodu

Disable mlr by default

Its support for dgels is not technically strong enough for now.
Samuel Thibault 4 gadi atpakaļ
vecāks
revīzija
00a73d8364

+ 3 - 9
configure.ac

@@ -2997,15 +2997,9 @@ AC_SUBST(BLAS_LIB,$blas_lib)
 #			 Multiple linear regression			      #
 #                                                                             #
 ###############################################################################
-if test x$enable_simgrid = xyes ; then
-	# There is no need for building mlr models in simgrid mode
-	default_enable_mlr=no
-else
-	default_enable_mlr=yes
-fi
-AC_ARG_ENABLE(mlr, [AS_HELP_STRING([--disable-mlr],
-			[Disable multiple linear regression models])],
-			enable_mlr=$enableval, enable_mlr=$default_enable_mlr)
+AC_ARG_ENABLE(mlr, [AS_HELP_STRING([--enable-mlr],
+			[Enable multiple linear regression models])],
+			enable_mlr=$enableval, enable_mlr=no)
 AC_ARG_ENABLE(mlr-system-blas, [AS_HELP_STRING([--enable-mlr-system-blas],
 			[Make the multiple linear regression models use the system BLAS instead of min-dgels])],
 			enable_mlr_blas=$enableval, enable_mlr_blas=no)

+ 4 - 3
doc/doxygen/chapters/370_online_performance_tools.doxy

@@ -366,7 +366,8 @@ are computed automatically by the StarPU at the end of the execution, using leas
 squares method of the <c>dgels_</c> LAPACK function.
 
 <c>examples/mlr/mlr.c</c> example provides more details on
-the usage of ::STARPU_MULTIPLE_REGRESSION_BASED models.
+the usage of ::STARPU_MULTIPLE_REGRESSION_BASED models. The \ref enable-mlr
+"--enable-mlr" configure option needs to be set to calibrate the model.
 
 Coefficients computation is done at the end of the execution, and the
 results are stored in standard codelet perfmodel files. Additional
@@ -379,8 +380,8 @@ executions. By default StarPU uses a lightweight dgels implementation, but the
 \ref enable-mlr-system-blas "--enable-mlr-system-blas" configure option can be
 used to make StarPU use a system-provided dgels BLAS.
 
-Additionally, when multiple linear regression models are
-disabled (using \ref disable-mlr "--disable-mlr" configure option) or when the
+Additionally, when multiple linear regression models are not enabled through 
+\ref enable-mlr "--enable-mlr" or when the
 <c>model->combinations</c> are not defined, StarPU will still write
 output files into <c>.starpu/sampling/codelets/tmp/</c> to allow
 performing an analysis. This analysis typically aims at finding the

+ 4 - 4
doc/doxygen/chapters/510_configure_options.doxy

@@ -761,11 +761,11 @@ of this parameter must be in [0..100]. The default value of
 this parameter is 10. Experimental.
 </dd>
 
-<dt>--disable-mlr</dt>
+<dt>--enable-mlr</dt>
 <dd>
-\anchor disable-mlr
-\addindex __configure__--disable-mlr
-Allow to disable multiple linear regression models (see \ref PerformanceModelExample)
+\anchor enable-mlr
+\addindex __configure__--enable-mlr
+Allow to enable multiple linear regression models (see \ref PerformanceModelExample)
 </dd>
 
 <dt>--enable-mlr-system-blas</dt>