unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Maurice Brémond" <Maurice.Bremond@inria.fr>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 39588@debbugs.gnu.org, zimoun <zimon.toutoune@gmail.com>
Subject: [bug#39588] gnu: Add mpich, scalapack-mpich, mumps-mpich, pt-scotch-mpich, python-mpi4py-mpich
Date: Tue, 18 Feb 2020 18:58:11 +0100	[thread overview]
Message-ID: <87k14j6amk.fsf@inria.fr> (raw)
In-Reply-To: <87o8tx3z2q.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 17 Feb 2020 18:26:05 +0100")


Hi Ludovic & Simon!

I agree, the *-mpich packages are not necessary and this asks the
question of why those variants and why not others. Finally, I could keep
them on my own channel for convenience.

If I understand, in this case, the usage of --with-input is
possible because implicit packages are very likely to not use mpi ?

In guix packages, mpi input is usually declared as
(("openmpi" . ,openmpi))
or
(("mpi" . ,openmpi))

So two flags are necessary for the transformation.

Doing this, I ran into problems with your patch...

You can try with my original patch just a transformation of
mumps-openmpi into mumps-mpich:

guix time-machine --url=https://gitlab.inria.fr/bremond/guix.git \
  --branch=add-mpich -- \
  environment -K --pure --ad-hoc mumps-openmpi \
  --with-input=mpi=mpich --with-input=openmpi=mpich --

This works for me, I can use a similar command to compile and execute a
program which uses mumps and I can see with ldd that mpich is used.

Then with the current mpich patch on savannah master:

guix time-machine --commit=c70261bfb993cebc23cd80042de3f52a8b7932a4 -- \
  environment -K --pure --ad-hoc mumps-openmpi \
  --with-input=mpi=mpich --with-input=openmpi=mpich --

This fails on my machine for the pt-scotch check (there is the same
error with scalapack check)

Invalid error code (-2) (error ring index 127 invalid)
INTERNAL ERROR: invalid error code fffffffe (Ring Index out of range) in MPID_nem_tcp_init:373
Fatal error in PMPI_Init: Other MPI error, error stack:
MPIR_Init_thread(586)..............: 
MPID_Init(224).....................: channel initialization failed
MPIDI_CH3_Init(105)................: 
MPID_nem_init(324).................: 
MPID_nem_tcp_init(175).............: 
MPID_nem_tcp_get_business_card(401): 
MPID_nem_tcp_init(373).............: gethostbyname failed, localhost (errno 0)

If I go into the build directory and launch the check manually after
sourcing the environment-variables file, it works...

So it seems that this is related to guix and the guixbuild environment in
the definition of the package.

Maurice

  parent reply	other threads:[~2020-02-18 18:02 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   ` Maurice Brémond [this message]
2020-02-18 18:22     ` [bug#39588] gnu: Add mpich, scalapack-mpich, mumps-mpich, pt-scotch-mpich, python-mpi4py-mpich zimoun
2020-02-19 11:45       ` Maurice Brémond
2020-02-19 12:11         ` zimoun
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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k14j6amk.fsf@inria.fr \
    --to=maurice.bremond@inria.fr \
    --cc=39588@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    --cc=zimon.toutoune@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).