Bug 252496

Summary: net/openmpi: switch to hwloc2
Product: Ports & Packages Reporter: Thierry Thomas <thierry>
Component: Individual Port(s)Assignee: Danilo Egea Gondolfo <danilo>
Status: Closed FIXED    
Severity: Affects Some People CC: thierry
Priority: --- Flags: bugzilla: maintainer-feedback? (danilo)
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 252494    
Attachments:
Description Flags
net/openmpi: switch to hwloc2 none

Description Thierry Thomas freebsd_committer freebsd_triage 2021-01-07 18:02:09 UTC
Created attachment 221360 [details]
net/openmpi: switch to hwloc2

Many scientific ports depend on MPICH, and they are often installed on workstations where OpenMPI is also installed, e.g. because they depend on VTK (some math/vtk_).

Thus, if we upgrade net/mpich to 3.4, for which devel/hwloc2 is required (See PR 252494), it would be fine to make openmpi also depend on hwloc2 to avoid conflicts.
Comment 1 commit-hook freebsd_committer freebsd_triage 2021-01-08 09:23:41 UTC
A commit references this bug:

Author: danilo
Date: Fri Jan  8 09:23:21 UTC 2021
New revision: 560755
URL: https://svnweb.freebsd.org/changeset/ports/560755

Log:
  net/openmpi: Update to 4.1.0

  - Move from hwloc to hwloc2 [1]
  - Remove ${MPIDIR}/lib/openmpi from LDCONFIG

  PR:		252496
  Submitted by:	thierry [1]

Changes:
  head/net/openmpi/Makefile
  head/net/openmpi/distinfo
  head/net/openmpi/pkg-plist
Comment 2 Thierry Thomas freebsd_committer freebsd_triage 2021-01-08 09:32:01 UTC
Committed by danilo in r560755 (thanks!)
Comment 3 commit-hook freebsd_committer freebsd_triage 2021-01-09 14:17:38 UTC
A commit references this bug:

Author: danilo
Date: Sat Jan  9 14:16:52 UTC 2021
New revision: 560866
URL: https://svnweb.freebsd.org/changeset/ports/560866

Log:
  net/openmpi3: Use the embedded hwloc library to workaround a conflict between hwloc and hwloc2 due sysutils/slurm-wlm.

  OpenMPI3 is not compatible with hwloc2. Also, OpenMPI3 was deprecated by upstream and will be removed from the ports tree as soon as all the ports which depend on it are moved to net/openmpi.

  PR:		252496

Changes:
  head/net/openmpi3/Makefile