Commit graph

70 commits

Author SHA1 Message Date
Ludovic Courtès
b1077c2234
gnu: openmpi: Silence UCX warnings when running tests.
* gnu/packages/mpi.scm (%openmpi-setup): Set "UCX_LOG_LEVEL".
2019-11-16 17:43:49 +01:00
Ludovic Courtès
6f160c5c38
Revert "gnu: openmpi: Pass explicit "--with-*" configure flags."
This reverts commit eaa52b5baa,
which would lead to build failures on systems other than x86_64-linux.
2019-11-15 23:28:17 +01:00
Ludovic Courtès
96a469f1cd
gnu: openmpi: Fix typo.
* gnu/packages/mpi.scm (openmpi)[inputs]: For UCX, check the supported
systems of UCX, not PSM2.
2019-11-15 23:28:17 +01:00
Ludovic Courtès
faab7082ab
gnu: openmpi: Raise the priority of the PSM2 component.
This allows us to get better performance by default on machines with
OmniPath hardware.

* gnu/packages/patches/openmpi-psm2-priority.patch: New file.
* gnu/packages/mpi.scm (openmpi)[source]: Use it.
* gnu/local.mk (dist_patch_DATA): Add it.
2019-11-15 17:52:45 +01:00
Ludovic Courtès
58a536bb1b
gnu: openmpi, slurm: Switch to hwloc 2.x.
* gnu/packages/mpi.scm (openmpi)[inputs]: Switch to HWLOC-2.
* gnu/packages/parallel.scm (slurm)[inputs]: Likewise.
2019-11-15 17:52:45 +01:00
Ludovic Courtès
8c8e108978
gnu: hwloc: Update to 2.1.0.
* gnu/packages/mpi.scm (hwloc-2.0): Rename to...
(hwloc-2): ... this.  Update to 2.1.0
(hwloc-2.0): Define as deprecated.
* gnu/packages/opencl.scm (pocl)[inputs]: Adjust accordingly.
2019-11-15 17:52:45 +01:00
Ludovic Courtès
c1ea4c0793
gnu: Add Intel MPI Benchmarks.
* gnu/packages/mpi.scm (intel-mpi-benchmarks): New variable.
2019-11-15 17:52:44 +01:00
Ludovic Courtès
eaa52b5baa
gnu: openmpi: Pass explicit "--with-*" configure flags.
* gnu/packages/mpi.scm (openmpi)[arguments]: Pass "--with-ucx",
"--with-psm", and "--with-psm2".
2019-11-15 17:52:44 +01:00
Tobias Geerinckx-Rice
fe39020011
gnu: python-mpi4py: Update to 3.0.3.
* gnu/packages/mpi.scm (python-mpi4py): Update to 3.0.3.
2019-11-08 23:11:01 +01:00
Ludovic Courtès
8ba94edd8f
gnu: openmpi: Add dependency on UCX when supported.
* gnu/packages/mpi.scm (openmpi)[inputs]: Add UCX conditionally.
2019-10-15 13:58:45 +02:00
Ludovic Courtès
8f02e5ac81
gnu: openmpi: Update to 4.0.2.
* gnu/packages/mpi.scm (openmpi): Update to 4.0.2.
2019-10-10 17:23:52 +02:00
Marius Bakke
97149c5767
gnu: Adjust uses of C{,PLUS}_INCLUDE_PATH for GCC 7.
These variables are no longer set in the build environment by default.  GCC
still respects these search paths and treats them as "system headers" so we
can continue to use them, just not expect them to be available.

* gnu/packages/mpi.scm (openmpi)[arguments]: Do not attempt to read from
C_INCLUDE_PATH, nor CPLUS_INCLUDE_PATH.
* gnu/packages/games.scm (kiki)[arguments]: Likewise.
* gnu/packages/networking.scm (hcxtools)[arguments]: Likewise.
* gnu/packages/synergy.scm (synergy)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (gemma, sailfish)[arguments]: Likewise.
* gnu/packages/maths.scm (dune-alugrid)[arguments]: Likewise.
2019-07-14 18:13:34 +02:00
Paul Garlick
2c12be76cd
gnu: python-mpi4py: Update to 3.0.2.
* gnu/packages/mpi.scm (python-mpi4py): Update to 3.0.2.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2019-06-21 09:04:37 +02:00
Tobias Geerinckx-Rice
6e36c6ed8f
gnu: openmpi: Update to .
* gnu/packages/mpi.scm (openmpi): Update to .
mpi
openmpi
2019-04-16 00:05:04 +02:00
Ricardo Wurmus
fa5a253866
gnu: Add java-openmpi.
* gnu/packages/mpi.scm (java-openmpi): New variable.
2019-03-18 18:24:45 +01:00
Eric Bavier
5cfed7efc8
gnu: openmpi: Let configure enable PSM based on inputs.
This fixes OpenMPI builds on systems not supported by the PSM packages.

* gnu/packages/mpi.scm (openmpi)[arguments]: Remove '--enable-psm' and
'--enable-psm2' from #:configure-flags.
2019-02-20 22:18:45 -06:00
Paul Garlick
b49c8b9ef8
gnu: python-mpi4py: Update to 3.0.1.
* gnu/packages/mpi.scm (python-mpi4py): Update to 3.0.1.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2019-02-18 21:41:12 +01:00
Ricardo Wurmus
e9823f9ca3
gnu: openmpi: Add InfiniBand support.
* gnu/packages/mpi.scm (openmpi)[inputs]: Add opensm.
[arguments]: Add openib configure flags; add build phase
"find-opensm-headers".
2019-02-17 09:59:46 +01:00
Eric Bavier
41313acebf
gnu: openmpi: Upgrade to 4.0.0.
* gnu/packages/linux.scm (psm)[arguments]: Add 'patch-sysmacros phase to fix
"undefined reference to `minor'" errors while linking against
libinfinipath.so.
* gnu/packages/mpi.scm (openmpi): Upgrade to 4.0.0.
[inputs]: Add libevent.
[arguments]: Simplify configure-flags.  Use system libevent.  Adjust romio
version strings.
(%openmpi-setup): Use OMPI_MCA_rmaps_base_mapping_policy for oversubscription.
2019-02-09 00:50:16 -06:00
Ludovic Courtès
b07712bfb1
gnu: openmpi: Add dependency on SLURM.
This allows users to run Open MPI programs with 'srun'.

* gnu/packages/mpi.scm (openmpi)[inputs]: Add SLURM.
[arguments]: Add "--with-pmi" to #:configure-flags.
2019-02-07 15:46:45 +01:00
Marius Bakke
cb85742fa8
gnu: hwloc: Update to 2.0.3.
* gnu/packages/mpi.scm (hwloc-2.0): Update to 2.0.3.
2019-01-31 20:57:22 +01:00
Marius Bakke
9dd5084589
gnu: hwloc@1: Update to 1.11.12.
* gnu/packages/mpi.scm (hwloc): Update to 1.11.12.
2019-01-31 20:57:22 +01:00
Paul Garlick
54fcd547b3
gnu: Add python-mpi4py.
* gnu/packages/mpi.scm (python-mpi4py): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-11-14 21:34:08 +01:00
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