all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Everything depends on openmpi
@ 2014-05-09  6:14 Andreas Enge
  2014-05-09  9:11 ` Ludovic Courtès
  2014-05-09 13:50 ` Ludovic Courtès
  0 siblings, 2 replies; 6+ messages in thread
From: Andreas Enge @ 2014-05-09  6:14 UTC (permalink / raw)
  To: guix-devel

Hello,

as openmpi currently does not build on hydra, a lengthy list of failed
dependent packages appears:
   http://hydra.gnu.org/eval/75135#tabs-now-fail
This contains packages such as a2ps, alsa-utils, automoc4, gnunet, imagemagick,
qt etc., which a priori have no relationship with mpi.

I did not follow all dependency chains, but one of the culprits is fftw, as a
dependency of pulseaudio.

Would it not make sense to create a separate package that has openmpi as an
additional input?

Then I think it would be good to analyse the complete dependency chains
starting with openmpi.

Andreas

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Everything depends on openmpi
  2014-05-09  6:14 Everything depends on openmpi Andreas Enge
@ 2014-05-09  9:11 ` Ludovic Courtès
       [not found]   ` <20140509141210.GA25366@debian>
  2014-05-09 13:50 ` Ludovic Courtès
  1 sibling, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2014-05-09  9:11 UTC (permalink / raw)
  To: Andreas Enge; +Cc: guix-devel

Andreas Enge <andreas@enge.fr> skribis:

> I did not follow all dependency chains, but one of the culprits is fftw, as a
> dependency of pulseaudio.
>
> Would it not make sense to create a separate package that has openmpi as an
> additional input?

Ah yes, we must definitely keep an MPI-less version of fftw.

Eric, could you do that?

TIA,
Ludo’.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Everything depends on openmpi
  2014-05-09  6:14 Everything depends on openmpi Andreas Enge
  2014-05-09  9:11 ` Ludovic Courtès
@ 2014-05-09 13:50 ` Ludovic Courtès
  2014-05-09 21:09   ` Ludovic Courtès
  1 sibling, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2014-05-09 13:50 UTC (permalink / raw)
  To: Andreas Enge; +Cc: guix-devel

Andreas Enge <andreas@enge.fr> skribis:

> as openmpi currently does not build on hydra, a lengthy list of failed
> dependent packages appears:
>    http://hydra.gnu.org/eval/75135#tabs-now-fail

Apparently the build failure has to do with the hwloc copy bundled in
the Open MPI tarball, which may be old.

I’ve added hwloc, so we can eventually use it instead.

Ludo’.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Everything depends on openmpi
       [not found]   ` <20140509141210.GA25366@debian>
@ 2014-05-09 14:20     ` Andreas Enge
  2014-05-09 20:19     ` Ludovic Courtès
  1 sibling, 0 replies; 6+ messages in thread
From: Andreas Enge @ 2014-05-09 14:20 UTC (permalink / raw)
  To: Ludovic Courtès, guix-devel

Now there is an old hydra problem popping up at
   http://hydra.gnu.org/build/55792/nixlog/1/tail-reload :

guix build: error: open-file: No such file or directory: "/gnu/store/q5l0ph9yr025qz97xni0fqwfc45x7lhg-fftwf-3.3.4.drv"

It was supposed to be fixed, but apparently is not.

Andreas

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Everything depends on openmpi
       [not found]   ` <20140509141210.GA25366@debian>
  2014-05-09 14:20     ` Andreas Enge
@ 2014-05-09 20:19     ` Ludovic Courtès
  1 sibling, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2014-05-09 20:19 UTC (permalink / raw)
  To: Andreas Enge; +Cc: guix-devel

Andreas Enge <andreas@enge.fr> skribis:

> Now there is an old hydra problem popping up at
>    http://hydra.gnu.org/build/55792/nixlog/1/tail-reload :
>
> guix build: error: open-file: No such file or directory: "/gnu/store/q5l0ph9yr025qz97xni0fqwfc45x7lhg-fftwf-3.3.4.drv"
>
> It was supposed to be fixed, but apparently is not.

Yes, I noticed.  :-/

I’ll see what I can do.

Ludo’.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Everything depends on openmpi
  2014-05-09 13:50 ` Ludovic Courtès
@ 2014-05-09 21:09   ` Ludovic Courtès
  0 siblings, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2014-05-09 21:09 UTC (permalink / raw)
  To: guix-devel

Thanks Eric for addressing the issue.

Commit e5c66f8 does:

+(define-public fftw-openmpi
+  (package (inherit fftw)
+    (name "fftw-openmpi")
+    (inputs
+     `(("openmpi" ,openmpi)
+       ,@(package-inputs fftw)))
+    (arguments
+     (substitute-keyword-arguments (package-arguments fftw)
+       ((#:configure-flags cf)
+        `(cons "--enable-mpi" ,cf))))
+    (description
+     (string-append (package-description fftw)
+                    "  With OpenMPI parallelism support."))))

I don’t think I’ve mentioned it before, but we should refrain from using
‘string-append’ in descriptions, because that prevents i18n (xgettext
won’t catch it.)

Instead, I’d suggest leaving ‘description’ unchanged, and writing
‘synposis’ in full, with “(with MPI support)” added at the end.
See ‘unionfs-fuse/static’ for an example.

Ludo’.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-05-09 21:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-09  6:14 Everything depends on openmpi Andreas Enge
2014-05-09  9:11 ` Ludovic Courtès
     [not found]   ` <20140509141210.GA25366@debian>
2014-05-09 14:20     ` Andreas Enge
2014-05-09 20:19     ` Ludovic Courtès
2014-05-09 13:50 ` Ludovic Courtès
2014-05-09 21:09   ` Ludovic Courtès

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.