diff options
author | CoprDistGit <infra@openeuler.org> | 2024-12-12 16:38:31 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-12-12 16:38:31 +0000 |
commit | d759293d937988be9e2c06b9546d13e4682cb16c (patch) | |
tree | 2a7349641adc09e86d03b7aad6111cd373c753f8 | |
parent | 9b29f1a8f59f9f0a97c78109d82d6e3e554cc2ec (diff) |
automatic import of heffte
-rw-r--r-- | heffte.spec | 6 |
1 files 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 |