Suggested by Maurice Brémond <Maurice.Bremond@inria.fr>.
Fixes bug when running test suites involving MPICH:
<https://issues.guix.gnu.org/39588#15>.
* gnu/packages/mpi.scm (mpich)[arguments]: Pass "--with-device=ch4:ucx".
`(#:configure-flags
(list "--disable-silent-rules" ;let's see what's happening
"--enable-debuginfo"
- ;; "--with-device=ch4:ucx" ; --with-device=ch4:ofi segfaults in tests
+
+ ;; Default to "ch4", as will be the case in 3.4. It also works
+ ;; around issues when running test suites of packages that use
+ ;; MPICH: <https://issues.guix.gnu.org/39588#15>.
+ "--with-device=ch4:ucx" ; --with-device=ch4:ofi segfaults in tests
+
(string-append "--with-hwloc-prefix="
(assoc-ref %build-inputs "hwloc"))