Commit Graph

47 Commits

Author SHA1 Message Date
Tobias Geerinckx-Rice b9b53fb4ff
gnu: hwloc: Update to 2.0.2.
* gnu/packages/mpi.scm (hwloc): Update to 2.0.2.
2018-10-04 21:28:24 +02:00
Eric Bavier bbe46a4af5
mpi: Factorize openmpi setup build phase.
* gnu/packages/mpi.scm (%openmpi-setup): New variable.
* gnu/packages/maths.scm (scalapack, slepc-openmpi, mumps-openmpi)
(superlu-dist, p4est, petsc-openmpi, hypre-openmpi, elemental)
(sundials-openmpi, arpack-ng-openmpi)[arguments]: Use it in #:phases.
2018-09-11 20:29:04 -05:00
Ludovic Courtès fbe1b85b63
gnu: openmpi: Add PSM2 (Intel OmniPath) support.
* gnu/packages/mpi.scm (openmpi)[inputs]: Add PSM2 on supported systems.
2018-05-25 13:43:03 +02:00
Ludovic Courtès a560641a60
gnu: openmpi: Reintroduce PSM (Intel TrueScale) support.
Fixes a regression introduced in
9129804230 whereby PSM would never be
added as an input.

* gnu/packages/mpi.scm (openmpi)[inputs]: Re-add PSM on supported
systems.
2018-05-25 13:43:03 +02:00
Ludovic Courtès 6df2a50ac4
gnu: openmpi: Update to 3.0.1.
* gnu/packages/mpi.scm (openmpi): Update to 3.0.1.
[arguments]: In 'remove-absolute' phase, adjust romio file name.
* gnu/packages/maths.scm (scalapack)[arguments]: Add
'set-test-environment' phase.
(slepc-openmpi)[arguments]: Likewise.
(mumps-openmpi)[arguments]: Likewise.
(superlu-dist)[arguments]: In 'check' phase, set
'OMPI_MCA_plm_rsh_agent'.
(scotch)[arguments]: In 'build-esmumps', likewise.
(p4est)[arguments]: Add 'set-test-environment' phase.
(hypre-openmpi)[arguments]: Likewise.
2018-05-25 13:43:03 +02:00
Ludovic Courtès 10de06bd07
gnu: hwloc: Skip 'linux-libnuma' test.
That test would fail on some machines, for instance build machines
behind berlin.guixsd.org.

* gnu/packages/mpi.scm (hwloc)[arguments]: Add 'skip-linux-libnuma-test'
phase.
(hwloc-2.0)[arguments]: Replace it.
2018-04-10 17:44:27 +02:00
Ludovic Courtès 323991339e
gnu: hwloc@1: Update to 1.11.10.
* gnu/packages/mpi.scm (hwloc): Update to 1.11.10.
2018-03-26 18:24:55 +02:00
Ludovic Courtès d2c036557a
gnu: hwloc@2: Update to 2.0.1.
* gnu/packages/mpi.scm (hwloc-2.0): Update to 2.0.1.
[source]: Remove 'patches'.
* gnu/packages/patches/hwloc-tests-without-sysfs.patch: Remove.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2018-03-26 18:24:55 +02:00
Ludovic Courtès ce5964074a
gnu: hwloc@1: Update to 1.11.9.
* gnu/packages/mpi.scm (hwloc): Update to 1.11.9.
2018-03-26 00:15:52 +02:00
Ludovic Courtès 71e789319c
gnu: hwloc: Add 2.0.0.
* gnu/packages/mpi.scm (hwloc-2.0): New variable.
* gnu/packages/patches/hwloc-tests-without-sysfs.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2018-02-06 17:34:34 +01:00
Efraim Flashner 9129804230
gnu: psm: Only use as an input on supported-systems.
Syntax help supplied by bavier@member.fsf.org

* gnu/packages/linux.scm (libfabric)[inputs]: Only use psm as an input
on systems where psm is supported.
* gnu/packages/mpi.scm (openmpi)[inputs]: Same.
2017-11-07 20:41:08 +02:00
Dave Love f4433d09a1
gnu: openmpi: Add dependency on PSM.
* gnu/packages/mpi.scm (openmpi)[inputs]: Add PSM.
2017-11-07 18:09:13 +01:00
Dave Love c971d9ef29
gnu: openmpi: Add "debug" output.
This is necessary for one mechanism for attaching parallel debuggers
and is also relevant for the runtime backtrace facility.

* gnu/packages/mpi.scm (openmpi)[outputs]: New field.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-10-03 17:11:19 +02:00
Dave Love b08952f1bb
gnu: openmpi: Configure without builtin atomics.
See https://www.mail-archive.com/users@lists.open-mpi.org//msg31400.html

* gnu/packages/mpi.scm (openmpi)[arguments]: Don't configure with
--enable-builtin-atomics.

Signed-off-by: Ludovic Courtès <ludovic.courtes@inria.fr>
2017-09-12 14:56:59 +02:00
Dave Love a247fe7b0d
gnu: openmpi: Remove Valgrind from closure.
* gnu/packages/mpi.scm (openmpi)[arguments]: Elide romio config info to
avoid reference to valgrind.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-09-12 08:58:27 +02:00
Ludovic Courtès 8bfa40eae5
gnu: hwloc: Update to 1.11.8.
* gnu/packages/mpi.scm (hwloc): Update to 1.11.8.
2017-09-08 12:48:08 +02:00
Dave Love 6c171ff47c
gnu: openmpi: Configure without vampirtrace.
VT is obsoleted by scorep (not currently packaged) and disabling it reduces
the closure considerably.

* mpi.scm (openmpi)[arguments]: Configure without vampirtrace.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-08-21 17:04:54 +02:00
Dave Love df981d8b36
gnu: openmpi: Modify configuration to reduce closure.
devel-headers are only for building MCA components, produce a large
closure and aren't normally packaged.  Only the affinity component of
mpi-ext is useful.

* gnu/packages/mpi.scm (openmpi)[arguments]: Don't configure
--with-devel-headers and --enable-mpi-ext=all.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-08-21 17:04:54 +02:00
Dave Love 0d97d3cbff
gnu: openmpi: Remove references to compiler pathnames in "_info" programs.
This reduces the closure greatly, but note that the Fortran .mod files are
gfortran version-specific, so there should probably be development packages
for each incompatible version.  (The runtime is supposed to be more-or-less
version-independent unless the libgfortran soname changes.)  There may still
be a case for a separate runtime output.

* gnu/packages/mpi.scm (openmpi)[arguments]: Add "remove-absolute" phase.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2017-08-21 17:04:54 +02:00
Dave Love 327404aeaa
gnu: openmpi: Remove "static" output.
--enable-static removes dynamically-loaded MCA components.

* gnu/packages/mpi.scm (openmpi)[outputs]: Remove field.
[arguments]: Don't configure with --enable-static; remove
'move-static-libraries' phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-08-21 17:04:54 +02:00
Dave Love 685bef2bd1
gnu: openmpi: Add separate variant with thread-multiple support.
* gnu/packages/mpi.scm (openmpi)[arguments]: Remove
"--enable-mpi-thread-multiple".
(openmpi-thread-multiple): New variable.

Signed-off-by: Ludovic Courtès <ludovic.courtes@inria.fr>
2017-08-21 17:04:54 +02:00
Dave Love a099570249
gnu: openmpi: Add RDMA and libfabric support.
* gnu/packages/mpi.scm (openmpi)[inputs]: Add rdma-core, libfabric.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-08-18 00:36:28 +02:00
Ludovic Courtès f1be6f5b5a
gnu: openmpi: Add "static" output.
* gnu/packages/mpi.scm (openmpi)[outputs]: New field.
[arguments]: Add 'move-static-libraries' phase.
2017-07-27 11:47:50 +02:00
Dave Love efcacc17c7
gnu: openmpi: Enable SGE support.
* gnu/packages/mpi.scm (openmpi)[arguments]: Pass "--with-sge" in
 #:configure-flags.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-07-26 23:13:52 +02:00
Dave Love bb0f6d7526
gnu: openmpi: Description mentions MPI 3.0.
* gnu/packages/mpi.scm (openmpi): It's MPI 3, not MPI 2.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-07-25 18:10:08 +02:00
Dave Love 1f9bff4152
gnu: openmpi: Update to 1.10.7.
* gnu/packages/mpi.scm (openmpi): Update to 1.10.7.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-07-25 18:09:27 +02:00
Ludovic Courtès 798b7678a0
gnu: hwloc: Add "lib" and "debug" outputs.
* gnu/packages/mpi.scm (hwloc)[outputs]: New field.
[arguments]: Add 'avoid-circular-references' phase.
(openmpi)[inputs]: Use the "lib" output of HWLOC.
* gnu/packages/parallel.scm (slurm)[inputs]: Likewise.
2017-06-30 18:44:41 +02:00
Ludovic Courtès 7eb9f31cd9
gnu: hwloc: Use /var as the localstatedir.
* gnu/packages/mpi.scm (hwloc)[arguments]: Add #:configure-flags.
2017-06-30 18:44:41 +02:00
Ludovic Courtès 77abe3f091
gnu: hwloc: Update to 1.11.7.
* gnu/packages/mpi.scm (hwloc): Update to 1.11.7.
2017-05-11 18:05:42 +02:00
Eric Bavier 9474a4b3ec
gnu: openmpi: Make binaries reproducible.
* gnu/packages/mpi.scm (openmpi)[arguments]: Remove timestamps from
source files.  Delete installed configure logs.
2016-07-20 21:16:24 -05:00
Eric Bavier 6876590fd4
gnu: openmpi: Update to 1.10.3.
* gnu/packages/mpi.scm (openmpi): Update to 1.10.3.
[source]: Use https.
2016-07-20 21:15:37 -05:00
Ludovic Courtès a2d0e2003f gnu: hwloc: Update to 1.11.2.
* gnu/packages/mpi.scm (hwloc): Update to 1.11.2.  Change URLs to https.
2016-04-14 10:20:14 +02:00
Andreas Enge 37d6b0978c gnu: hwloc: Build without numactl support on armhf.
* gnu/packages/mpi.scm (hwloc)[inputs]: Drop numactl on armhf, where the
  package is not available.
2016-02-03 21:05:51 +01:00
Eric Bavier ac356fd6ab gnu: openmpi: Update to 1.10.1.
* gnu/packages/mpi.scm (openmpi): Update to 1.10.1.
  [arguments]: Remove now-unsupported configure flags.  Add
  --enable-builtin-atomics.  Remove development-oriented
  --enable-debug.
2015-11-20 11:58:40 -06:00
Eric Bavier 2f5b6a1f18 gnu: hwloc: Update to 1.11.1.
* gnu/packages/mpi.scm (hwloc): Update to 1.11.1.
  [source]: Remove patch.
* gnu/packages/patches/hwloc-gather-topology-lstopo.patch: Delete it.
* gnu-system.am (dist_patch_DATA): Remove it.
2015-11-20 11:58:40 -06:00
Ludovic Courtès c6e59259fd gnu: hwloc: Propagate libpciaccess.
* gnu/packages/mpi.scm (hwloc)[inputs]: Move LIBPCIACCESS to...
  [propagated-inputs]: ... here.  New field.
2015-08-24 00:28:36 +02:00
Eric Bavier 38f0a2bade gnu: openmpi: Upgrade to 1.8.5.
* gnu/packages/mpi.scm (openmpi): Upgrade to 1.8.5.
  [native-inputs]: Add perl.
  [arguments]: Add configure flags for thread support.
2015-06-29 15:34:36 -05:00
Eric Bavier 579f5c8a58 gnu: hwloc: Move numactl to inputs.
* gnu/packages/mpi.scm (hwloc)[propagated-inputs]: Move numactl from here...
  [inputs]: ...to here.
  [arguments]: New 'refine-libnuma' phase.
2015-06-29 15:34:36 -05:00
Eric Bavier ce7d9c989d gnu: hwloc: Upgrade to 1.10.1.
* gnu/packages/patches/hwloc-gather-topology-lstopo.patch: New patch.
* gnu/packages/mpi.scm (hwloc): Upgrade to 1.10.1.
  [source]: Use patch.
  [propagated-inputs]: Remove libpci.
  [inputs]: Add libpciaccess.
* gnu-system.am (dist_patch_DATA): Add patch.
2015-06-29 15:34:36 -05:00
Ricardo Wurmus 19afbea136 gnu: Replace versioned gfortran inputs with just "gfortran".
* gnu/packages/julia.scm (julia)[inputs]: Replace "gfortran-4.8" with
  "gfortran".
* gnu/packages/machine-learning.scm (randomjungle)[native-inputs]: Likewise.
* gnu/packages/maths.scm (arpack-ng, lapack, petsc, superlu)
   (superlu-dist, openblas, openspecfun, atlas)[inputs]: Likewise.
   (octave)[native-inputs]: Likewise.
   (gmsh)[propagated-inputs]: Likewise.
* gnu/packages/mpi.scm (openmpi)[inputs]: Likewise.
* gnu/packages/python.scm (python-numpy-bootstrap)[native-inputs]: Likewise.
* gnu/packages/python.scm (python-scipy)[native-inputs]: Likewise.
* gnu/packages/statistics.scm (r)[inputs]: Replace "gfortran-4.9" with
  "gfortran".
2015-06-25 18:28:54 +02:00
Ian Denhardt 29a7c98a42 gnu: Add 'version-prefix' and 'version-major+minor'; use them.
The procedure version-prefix truncates a version string to a certain
number of components. version-major+minor is a special case of this,
which extracts the "major.minor" part of the string. Previously this
was handled by an expression common to several packages.

* guix/utils.scm (version-prefix, version-major+minor): New procedures
* gnu/packages/backup.scm (duplicity): Use version-major+minor.
* gnu/packages/cmake.scm (cmake): Likewise.
* gnu/packages/gnome.scm (libbonobo, libbonoboui): Likewise.
* gnu/packages/gnutls.scm (gnutls): Likewise.
* gnu/packages/mail.scm (gmime): Likewise.
* gnu/packages/mpd.scm (mpd): Likewise.
* gnu/packages/mpi.scm (openmpi): Likewise.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-10-20 15:32:54 +02:00
Eric Bavier 1691b4cdc6 gnu: openmpi: Add memchecker support.
* gnu/packages/mpi.scm (openmpi) [inputs]: Add valgrind.  Unpropagate
  gfortran.  [arguments]: Add configure flags for memchecker.
2014-05-18 11:09:42 -05:00
Eric Bavier 5b527256ee gnu: openmpi: Use our hwloc.
* gnu/packages/mpi.scm (hwloc): Propagate numactl.
  (openmpi)[inputs]: Add hwloc.
  [native-inputs]: Add pkg-config.
  [argument]: Add hwloc configure flags.
2014-05-12 17:20:32 -05:00
Ludovic Courtès 2b0d560a3f gnu: Add hwloc.
* gnu/packages/mpi.scm (hwloc): New variable.
  (openmpi): Add TODO comment.
2014-05-09 15:49:08 +02:00
Eric Bavier 85a84cbd83 gnu: openmpi: Fix typo in download uri
* gnu/packages/mpi.scm (openmpi)[origin]: Fix typo.
2014-05-08 17:06:46 -05:00
Eric Bavier 8ede638c4b gnu: openmpi: Avoid "open source" verbiage
* gnu/packages/mpi.scm (openmpi)[synopsis,description]: Remove mention
  of "open source".
2014-05-08 14:48:59 -05:00
Eric Bavier fb0e370928 gnu: Add OpenMPI
* gnu/packages/mpi.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-05-08 12:42:17 -05:00