gnu: Add mpich-ofi.

* gnu/packages/mpi.scm (mpich-ofi): New variable.

Change-Id: I577fa8fc15ffe7df82d737721ca5a2e034c1e43a
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Romain GARBAGE 2024-08-12 16:43:01 +02:00 committed by Ludovic Courtès
parent 2a6ea3895b
commit 07adb7e26a
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -548,3 +548,28 @@ (define-public mpich
computing systems (Blue Gene, Cray). It enables research in MPI through a
modular framework for other derived implementations.")
(license license:bsd-2)))
(define-public mpich-ofi
(package/inherit mpich
(name "mpich-ofi")
(inputs (modify-inputs (package-inputs mpich)
(delete ucx)
(append libfabric)
(append rdma-core)
(append psm2)))
(arguments
(substitute-keyword-arguments (package-arguments mpich)
((#:configure-flags flags)
#~(list "--disable-silent-rules" ;let's see what's happening
"--enable-debuginfo"
"--with-device=ch4:ofi"
(string-append "--with-hwloc-prefix="
#$(this-package-input "hwloc"))
(string-append "--with-libfabric="
#$(this-package-input "libfabric"))))
((#:phases phases
'%standard-phases)
phases)))
(synopsis "Implementation of the Message Passing Interface (MPI) for OmniPath")))