From: "Ludovic Courtès" <ludovic.courtes@inria.fr>
To: Romain GARBAGE <romain.garbage@inria.fr>
Cc: 72062@debbugs.gnu.org
Subject: [bug#72062] [PATCH 3/4] gnu: Add openmpi-5.
Date: Fri, 12 Jul 2024 10:40:53 +0200 [thread overview]
Message-ID: <87r0bzypd6.fsf@inria.fr> (raw)
In-Reply-To: <20240711143540.25601-3-romain.garbage@inria.fr> (Romain GARBAGE's message of "Thu, 11 Jul 2024 16:35:24 +0200")
Hello!
Romain GARBAGE <romain.garbage@inria.fr> skribis:
> * gnu/packages/mpi.scm (openmpi-5): New variable.
>
> Change-Id: I048692b2e928077c9cfa9fb8076ceb356251e1db
[...]
> +(define-public openmpi-5
> + (package/inherit openmpi
I think it’s a case where (package (inherit openmpi) …) is more
appropriate: ‘package/inherit’ would cause the ‘replacement’ of
‘openmpi’ to be inherited, which is probably not a good idea since it’s
a different version.
> + (substitute-keyword-arguments (package-arguments openmpi)
> + ((#:configure-flags flags)
> + #~(append (list "--enable-prte-prefix-by-default" ;replaces --enable-mpirun-prefix-by-default
> + ;; Enable support for the 'Process Management
> + ;; Interface for Exascale' (PMIx) used e.g. by
> + ;; Slurm for the management communication and
> + ;; coordination of MPI processes.
> + (string-append "--with-pmix=" #$(this-package-input "openpmix"))
> + (string-append "--with-prrte=" #$(this-package-input "prrte"))
> +
> + ;; Since 5.x, Infiniband support is provided by ucx.
> + (string-append "--with-ucx=" #$(this-package-input "ucx")))
> + (filter (lambda (e)
> + (and (not (string-contains e "pmi")) ;; Since 5.x, OpenMPI doesn't support PMI/PMI-2
> + ;; Deprecated since 5.x.
> + (not (string-contains e "enable-mpirun-prefix-by-default"))
> + ;; Infiniband support is deprecated and superseded by ucx
> + ;; See https://docs.open-mpi.org/en/main/release-notes/networks.html#miscellaneous-network-notes
> + (not (string-contains e "openib"))))
> + #$flags)))
How about listing all the configure flags explicitly rather than
relative to those of 4.x? I feel like this would be clearer and that
there’s little to be gained by factorizing anyway.
Thanks,
Ludo’.
next prev parent reply other threads:[~2024-07-12 8:42 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-11 14:25 [bug#72062] [PATCH 0/4] Add OpenMPI 5.x Romain GARBAGE
2024-07-11 14:35 ` [bug#72062] [PATCH 1/4] gnu: Add openpmix Romain GARBAGE
2024-07-11 14:35 ` [bug#72062] [PATCH 2/4] gnu: Add prrte Romain GARBAGE
2024-07-11 14:35 ` [bug#72062] [PATCH 3/4] gnu: Add openmpi-5 Romain GARBAGE
2024-07-12 8:40 ` Ludovic Courtès [this message]
2024-07-12 8:42 ` Ludovic Courtès
2024-07-11 14:35 ` [bug#72062] [PATCH 4/4] gnu: slurm: Add PMIx support Romain GARBAGE
2024-07-12 7:27 ` [bug#72062] [PATCH 0/4] Add OpenMPI 5.x Romain GARBAGE
2024-07-12 8:44 ` Ludovic Courtès
2024-07-12 11:47 ` [bug#72062] [PATCH v2 0/5] " Romain GARBAGE
2024-07-12 11:47 ` [bug#72062] [PATCH v2 1/5] gnu: Add openpmix Romain GARBAGE
2024-07-12 11:47 ` [bug#72062] [PATCH v2 2/5] gnu: Add prrte Romain GARBAGE
2024-07-12 11:47 ` [bug#72062] [PATCH v2 3/5] gnu: slurm: Add PMIx support Romain GARBAGE
2024-07-12 11:47 ` [bug#72062] [PATCH v2 4/5] gnu: Add openmpi-5 Romain GARBAGE
2024-07-12 11:47 ` [bug#72062] [PATCH v2 5/5] gnu: openmpi: Set default version to 4.x Romain GARBAGE
2024-07-12 12:00 ` [bug#72062] [PATCH v3 0/5] Add OpenMPI 5.x Romain GARBAGE
2024-07-12 12:00 ` [bug#72062] [PATCH v3 1/5] gnu: Add openpmix Romain GARBAGE
2024-07-12 12:00 ` [bug#72062] [PATCH v3 2/5] gnu: Add prrte Romain GARBAGE
2024-07-12 12:00 ` [bug#72062] [PATCH v3 3/5] gnu: slurm: Add PMIx support Romain GARBAGE
2024-07-12 12:00 ` [bug#72062] [PATCH v3 4/5] gnu: Add openmpi-5 Romain GARBAGE
2024-07-12 12:00 ` [bug#72062] [PATCH v3 5/5] gnu: openmpi: Set default version to 4.x Romain GARBAGE
2024-08-19 14:09 ` bug#72062: [PATCH v3 0/5] Add OpenMPI 5.x Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r0bzypd6.fsf@inria.fr \
--to=ludovic.courtes@inria.fr \
--cc=72062@debbugs.gnu.org \
--cc=romain.garbage@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.