all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: "Maurice Brémond" <Maurice.Bremond@inria.fr>
Cc: "Ludovic Courtès" <ludo@gnu.org>, 39588@debbugs.gnu.org
Subject: [bug#39588] gnu: Add mpich, scalapack-mpich, mumps-mpich, pt-scotch-mpich, python-mpi4py-mpich
Date: Wed, 19 Feb 2020 13:11:34 +0100	[thread overview]
Message-ID: <CAJ3okZ3kwGssKHw-A3Gc1Lr+n4BpbWzxrTH0eoUFpQ3urrTnDA@mail.gmail.com> (raw)
In-Reply-To: <87eeuqby18.fsf@inria.fr>

Hi Maurice,

On Wed, 19 Feb 2020 at 12:46, Maurice Brémond <Maurice.Bremond@inria.fr> wrote:

> >If mumps depends explicitly on openmpi, then '--with-inputs' can
> >rewrite the direct dependencies, by providing say mpich instead of
> >openmpi.
> >If petsc* depends explicitly on openmpi and on mumps (which depends
> >explicitly on openmpi too), then '--with-inputs=openmpi=mpich'  will
> >*only* rewrite the dependency of petsc but not of mumps. So it ends
> >with petsc compiled with mpich and mumps with openmpi.
> >
> >Still considering this (fictive) example, where:
> > - petsc depends on openmpi(1) and mumps
> > - mumps depends on openmpi(2)
> >The openmpi(2) is an implicit dependency for petsc and '--with-inputs'
> >does not work.

Sorry for the confusion, because what I said is *wrong*.
It is not the definition of an implicit inputs. The definition is:

--8<---------------cut here---------------start------------->8---
In addition, this build system ensures that the “standard” environment
for GNU packages is available. This includes tools such as GCC, libc,
Coreutils, Bash, Make, Diffutils, grep, and sed (see the (guix
build-system gnu) module for a complete list). We call these the
implicit inputs of a package, because package definitions do not have to
mention them.
--8<---------------cut here---------------end--------------->8---


> Ok thank you for the clarification, I understand better now.
>
> I misunderstood the documentation:
>
> https://guix.gnu.org/manual/en/html_node/Package-Transformation-Options.html
>
>    --with-input=package=replacement
>    [...]
>    This is a recursive, deep replacement. [...]

Well, you understood correctly. It is me that mix and add confusion, sorry.


> In the scalapack input I can see:
>      `(("mpi" ,openmpi)
>        ("fortran" ,gfortran)
>        ("lapack" ,lapack)))             ;for testing only
>
> So my assumption is that the --with-input transformation should work
> here as neither gfortran or lapack depends on mpi and to just build
> scalapack with mpich I tried:
>
> guix time-machine --commit=c70261bfb993cebc23cd80042de3f52a8b7932a4 -- build scalapack --with-input=openmpi=mpich

Hum, my MUA trims the long message.


Well, my point was: maybe it does not work because of the implicit inputs.
Now, mpi has bitten me so I will try this afternoon. :-)

Cheers,
simon

  reply	other threads:[~2020-02-19 12:12 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-13 10:44 [bug#39588] gnu: Add mpich, scalapack-mpich, mumps-mpich, pt-scotch-mpich, python-mpi4py-mpich Maurice Brémond
2020-02-17 17:26 ` Ludovic Courtès
2020-02-17 18:20   ` zimoun
2020-02-20  9:08     ` Ludovic Courtès
2020-02-20 10:23       ` zimoun
2020-02-21  8:03         ` Ludovic Courtès
2020-02-21  8:40           ` zimoun
2020-02-25 16:41         ` zimoun
2020-10-15 19:50       ` zimoun
2020-10-16  9:32         ` Ludovic Courtès
2020-10-16 11:46           ` zimoun
2020-10-19 13:46             ` Maurice Brémond
2020-10-20 20:55               ` Ludovic Courtès
2020-10-23  9:33                 ` Maurice Brémond
2020-10-23 15:26                   ` Ludovic Courtès
2020-10-23 17:04                     ` Maurice Brémond
2020-11-02 14:02                       ` bug#39588: " Ludovic Courtès
2020-10-21 14:43               ` [bug#39588] (off-topic) double time-machine explanations zimoun
2020-10-23  8:41                 ` Maurice Brémond
2020-02-18 17:58   ` [bug#39588] gnu: Add mpich, scalapack-mpich, mumps-mpich, pt-scotch-mpich, python-mpi4py-mpich Maurice Brémond
2020-02-18 18:22     ` zimoun
2020-02-19 11:45       ` Maurice Brémond
2020-02-19 12:11         ` zimoun [this message]
2020-02-19 13:34     ` zimoun
2020-02-21  9:01       ` Maurice Brémond
2020-02-20  9:38     ` Ludovic Courtès
2020-02-21  8:46       ` Maurice Brémond
2020-02-21 11:32         ` 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=CAJ3okZ3kwGssKHw-A3Gc1Lr+n4BpbWzxrTH0eoUFpQ3urrTnDA@mail.gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=39588@debbugs.gnu.org \
    --cc=Maurice.Bremond@inria.fr \
    --cc=ludo@gnu.org \
    /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.