From d759293d937988be9e2c06b9546d13e4682cb16c Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 12 Dec 2024 16:38:31 +0000 Subject: automatic import of heffte --- heffte.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/heffte.spec b/heffte.spec index 7227a9d..e47fe4b 100644 --- a/heffte.spec +++ b/heffte.spec @@ -92,7 +92,7 @@ This package contains documentation for %{name}. %build source /etc/profile.d/modules.sh -mkdir -p %{_target_platform}-${mpi} && cd %{_target_platform}-${mpi} +mkdir -p .obj-%{_target_platform} && cd .obj-%{_target_platform} export PRTE_MCA_rmaps_default_mapping_policy=:oversubscribe for mpi in mpich openmpi; do @@ -114,7 +114,7 @@ done %install for mpi in mpich openmpi; do test -n "${mpi}" && module load mpi/${mpi}-%{_arch} - %make_install -C %{_target_platform}-${mpi} + %make_install -C .obj-%{_target_platform} test -n "${mpi}" && module unload mpi/${mpi}-%{_arch} done @@ -128,7 +128,7 @@ export PRTE_MCA_rmaps_default_mapping_policy=:oversubscribe for mpi in mpich openmpi; do test -n "${mpi}" && module load mpi/${mpi}-%{_arch} - %ctest %{?testargs} -C %{_target_platform}-${mpi} + %ctest %{?testargs} -C .obj-%{_target_platform} test -n "${mpi}" && module unload mpi/${mpi}-%{_arch} done -- cgit v1.2.3