Page MenuHomeFreeBSD

Adding a MPI helper
ClosedPublic

Authored by thierry on Jan 17 2021, 3:50 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 11, 3:38 PM
Unknown Object (File)
Feb 10 2024, 2:31 AM
Unknown Object (File)
Feb 9 2024, 6:34 PM
Unknown Object (File)
Feb 9 2024, 10:44 AM
Unknown Object (File)
Dec 25 2023, 8:21 PM
Unknown Object (File)
Dec 2 2023, 4:11 AM
Unknown Object (File)
Nov 18 2023, 7:58 PM
Unknown Object (File)
Nov 18 2023, 2:03 PM
Subscribers

Details

Summary

This adds a file ports/Mk/Uses/mpi.mk.
Its aim is to simplify the use of MPI in the ports Makefile.
It makes it easier to provide an option for the user to choose between MPICH and OpenMPI when applicable.

Note: mpich2 and openmpi3 are not handled, because they will be deprecated.

Test Plan
  • Take some port using MPI (they are mostly in the category science)
  • Add USES+=mpi
  • Remove the MPI related dependency lines
  • Adapt CONFIGURE_ARGS / CMAKE_ARGS / whatever with the provided definitions
  • make configure if available and check carefully its result
  • make build.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable