瀏覽代碼

configure.ac: add parameter --with-mpiexec-args to specify MPI parameters to be given when running make check

Nathalie Furmento 8 年之前
父節點
當前提交
3bbc378f3a
共有 1 個文件被更改,包括 8 次插入1 次删除
  1. 8 1
      configure.ac

+ 8 - 1
configure.ac

@@ -1,7 +1,7 @@
 # StarPU --- Runtime system for heterogeneous multicore architectures.
 # StarPU --- Runtime system for heterogeneous multicore architectures.
 #
 #
 # Copyright (C) 2009-2016  Université de Bordeaux
 # Copyright (C) 2009-2016  Université de Bordeaux
-# Copyright (C) 2010, 2011, 2012, 2013, 2014, 2015  CNRS
+# Copyright (C) 2010, 2011, 2012, 2013, 2014, 2015, 2016  CNRS
 # Copyright (C) 2011  Télécom-SudParis
 # Copyright (C) 2011  Télécom-SudParis
 # Copyright (C) 2011, 2012, 2014  INRIA
 # Copyright (C) 2011, 2012, 2014  INRIA
 # Copyright (C) 2015, 2016  Inria
 # Copyright (C) 2015, 2016  Inria
@@ -1963,6 +1963,13 @@ else
 	running_mpi_check=no
 	running_mpi_check=no
 fi
 fi
 
 
+AC_ARG_WITH(mpiexec-args, [AS_HELP_STRING([--with-mpiexec-args[=<arguments to give when running mpiexec>]],
+			[Arguments for mpiexec])],
+	[
+		mpiexec_args=$withval
+	])
+AC_SUBST(MPIEXEC_ARGS,$mpiexec_args)
+
 AC_ARG_ENABLE(mpi-progression-hook, [AS_HELP_STRING([--enable-mpi-progression-hook],
 AC_ARG_ENABLE(mpi-progression-hook, [AS_HELP_STRING([--enable-mpi-progression-hook],
 				   [Enable StarPU MPI activity polling method])],
 				   [Enable StarPU MPI activity polling method])],
 				   enable_mpi_progression_hook=$enableval, enable_mpi_progression_hook=no)
 				   enable_mpi_progression_hook=$enableval, enable_mpi_progression_hook=no)