Skip to content

Commit

Permalink
Revert "make: fix variable setting"
Browse files Browse the repository at this point in the history
This reverts commit a1e351d72a29b464cc50d68f2437599d7962e49a.
  • Loading branch information
nfurmento committed May 29, 2024
1 parent 38abdf0 commit 04524ce
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
4 changes: 3 additions & 1 deletion examples/stencil/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# StarPU --- Runtime system for heterogeneous multicore architectures.
#
# Copyright (C) 2010-2024 Université de Bordeaux, CNRS (LaBRI UMR 5800), Inria
# Copyright (C) 2010-2023 Université de Bordeaux, CNRS (LaBRI UMR 5800), Inria
#
# 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
Expand Down Expand Up @@ -30,6 +30,8 @@ LIBS += $(STARPU_EXPORTED_LIBS)
if STARPU_USE_MPI
LIBS += $(top_builddir)/mpi/src/libstarpumpi-@[email protected]
AM_CPPFLAGS += -I$(top_srcdir)/mpi/include
LAUNCHER = $(STARPU_MPIEXEC)
LAUNCHER_ENV = $(MPI_RUN_ENV)
if STARPU_SIMGRID
NVCCFLAGS += --compiler-options -fPIC
endif
Expand Down
12 changes: 3 additions & 9 deletions make/starpu-tests.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# StarPU --- Runtime system for heterogeneous multicore architectures.
#
# Copyright (C) 2016-2024 Université de Bordeaux, CNRS (LaBRI UMR 5800), Inria
# Copyright (C) 2016-2023 Université de Bordeaux, CNRS (LaBRI UMR 5800), Inria
#
# 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
Expand All @@ -14,6 +14,8 @@
# See the GNU Lesser General Public License in COPYING.LGPL for more details.
#

LAUNCHER_ENV =
LAUNCHER =
include $(top_srcdir)/make/starpu.mk

STARPU_MPI_NP ?= 4
Expand All @@ -26,14 +28,6 @@ else
STARPU_MPIEXEC = $(MPIEXEC) $(MPIEXEC_ARGS) -np $(STARPU_MPI_NP)
endif

if STARPU_USE_MPI
LAUNCHER = $(STARPU_MPIEXEC)
LAUNCHER_ENV = $(MPI_RUN_ENV)
else
LAUNCHER_ENV =
LAUNCHER =
endif

showcheckfailed:
@ for x in $(shell grep -l "^FAIL " $(TEST_LOGS) /dev/null 2>/dev/null) ; do cat $$x ; done
@RET=0 ; \
Expand Down
5 changes: 4 additions & 1 deletion mpi/examples/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# StarPU --- Runtime system for heterogeneous multicore architectures.
#
# Copyright (C) 2009-2024 Université de Bordeaux, CNRS (LaBRI UMR 5800), Inria
# Copyright (C) 2009-2023 Université de Bordeaux, CNRS (LaBRI UMR 5800), Inria
# Copyright (C) 2013 Thibaut Lambert
#
# StarPU is free software; you can redistribute it and/or modify
Expand All @@ -23,6 +23,9 @@ FCLD=$(MPIFORT)

include $(top_srcdir)/make/starpu-loader.mk

LAUNCHER = $(STARPU_MPIEXEC)
LAUNCHER_ENV = $(MPI_RUN_ENV)

if STARPU_SIMGRID
LOADER_BIN = $(LAUNCHER)
endif
Expand Down
3 changes: 3 additions & 0 deletions mpi/tests/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ CCLD=$(MPICC)

include $(top_srcdir)/make/starpu-loader.mk

LAUNCHER = $(STARPU_MPIEXEC)
LAUNCHER_ENV = $(MPI_RUN_ENV)

if STARPU_SIMGRID
LOADER_BIN = $(LAUNCHER)
endif
Expand Down

0 comments on commit 04524ce

Please sign in to comment.