Skip to content

Commit

Permalink
[Debug] Try to resolve openmpi test duration
Browse files Browse the repository at this point in the history
Signed-off-by: Cristian Le <[email protected]>
  • Loading branch information
LecrisUT committed Jun 24, 2024
1 parent c9cc5aa commit 7a6e261
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/fedora/dbcsr.spec
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,7 @@ do
%{?with_opencl:-DUSE_ACCEL=opencl -DUSE_SMM=libxsmm} \
-DCMAKE_INSTALL_PREFIX:PATH=$MPI_HOME \
-DCMAKE_INSTALL_LIBDIR:PATH=$MPI_LIB \
-DUSE_MPI_F08=ON \
-DTEST_MPI_RANKS=2
-DUSE_MPI_F08=ON
%cmake_build
module purge
done
Expand All @@ -140,6 +139,8 @@ done


%check
# Backported from https://src.fedoraproject.org/rpms/openmpi/blob/rawhide/f/macros.openmpi
export PRTE_MCA_rmaps_default_mapping_policy=:oversubscribe
%ctest
for mpi in %{mpi_list}
do
Expand Down

0 comments on commit 7a6e261

Please sign in to comment.