public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/intel-mpi-benchmarks] rawhide: Added a simple sanity test
@ 2026-11-03 10:37 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-11-03 10:37 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/intel-mpi-benchmarks
            Branch : rawhide
            Commit : d737da622d71db719180970b49c5b29b6f5400e6
            Author : Krzysztof Młynarczyk <kmlynarczyk@redhat.com>
            Date   : 2026-11-03T10:38:51+01:00
            Stats  : +16/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/intel-mpi-benchmarks/c/d737da622d71db719180970b49c5b29b6f5400e6?branch=rawhide

            Log:
            Added a simple sanity test

Assisted-by: Gemini

---
diff --git a/intel-mpi-benchmarks.spec b/intel-mpi-benchmarks.spec
index 3304c79..6b1ccf0 100644
--- a/intel-mpi-benchmarks.spec
+++ b/intel-mpi-benchmarks.spec
@@ -128,5 +128,21 @@ do_install
 %{_libdir}/mpich/bin/IMB-{MPI1,EXT,IO,NBC,RMA,MT,P2P}
 %endif
 
+%check
+# Smoke test with short messages <=16 bytes and only 10 iterations
+# Test Open MPI flavor
+%{_openmpi_load}
+export OMPI_ALLOW_RUN_AS_ROOT=1 OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
+mpirun --oversubscribe -n 2 \
+  --mca btl self,vader,tcp \
+  %{buildroot}%{_libdir}/openmpi/bin/IMB-MPI1 PingPong -msglog 0:4 -iter 10
+%{_openmpi_unload}
+
+# Test MPICH flavor
+%{_mpich_load}
+mpirun -n 2 \
+  %{buildroot}%{_libdir}/mpich/bin/IMB-MPI1 PingPong -msglog 0:4 -iter 10
+%{_mpich_unload}
+
 %changelog
 %autochangelog

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-03 10:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03 10:37 [rpms/intel-mpi-benchmarks] rawhide: Added a simple sanity test 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox