Browse Source

mpi/tests,examples: allow to pass parameters to mpiexec (that is needed for Mad-MPI)

Nathalie Furmento 9 years ago
parent
commit
8004b2b528
2 changed files with 5 additions and 5 deletions
  1. 2 2
      mpi/examples/Makefile.am
  2. 3 3
      mpi/tests/Makefile.am

+ 2 - 2
mpi/examples/Makefile.am

@@ -29,9 +29,9 @@ loader_SOURCES		=	../../tests/loader.c
 endif
 
 if STARPU_QUICK_CHECK
-MPI			=	$(MPIEXEC) -np 2
+MPI			=	$(MPIEXEC) $(MPIEXEC_ARGS) -np 2
 else
-MPI			=	$(MPIEXEC) -np 4
+MPI			=	$(MPIEXEC) $(MPIEXEC_ARGS) -np 4
 endif
 
 if STARPU_HAVE_AM111

+ 3 - 3
mpi/tests/Makefile.am

@@ -1,7 +1,7 @@
 # StarPU --- Runtime system for heterogeneous multicore architectures.
 #
 # Copyright (C) 2009-2012, 2015-2016  Université de Bordeaux
-# Copyright (C) 2010, 2011, 2012, 2013, 2014, 2015  CNRS
+# Copyright (C) 2010, 2011, 2012, 2013, 2014, 2015, 2016  CNRS
 #
 # StarPU is free software; you can redistribute it and/or modify
 # it under the terms of the GNU Lesser General Public License as published by
@@ -29,9 +29,9 @@ loader_SOURCES		=	../../tests/loader.c
 endif
 
 if STARPU_QUICK_CHECK
-MPI			=	$(MPIEXEC) -np 2
+MPI			=	$(MPIEXEC) $(MPIEXEC_ARGS) -np 2
 else
-MPI			=	$(MPIEXEC) -np 4
+MPI			=	$(MPIEXEC) $(MPIEXEC_ARGS) -np 4
 endif
 
 if STARPU_HAVE_AM111