- clean the CONFLICTS line; - no more ports in the tree depend on MPICH 2: mark it deprecated, and advise to switch to MPICH 3.b7c0994f24
Port details
net/mpich 5.0.1
Portable implementation of MPI-1, MPI-2 and MPI-3
Port info
- Maintainer
- laurent@FreeBSD.org
- Packages
- latest: 5.0.1
- Upstream
- Higher version available: 5.0.2
- Last update
- to 5.0.1 · 63a7b4ce30
- Quarterly
- 2026Q4: 5.0.1
- Formerly
- net/mpich2 until 2022-05-31
- WWW
- https://www.mpich.org/
- Links
- cgit · VuXML
Install
- Package
# pkg install mpichinstalls 5.0.1 fromlatest; fromquarterly(2026Q4) 5.0.1- Port
# cd /usr/ports/net/mpich && make install clean# make -C /usr/ports/net/mpich config # change options first
- Size
- 7.6 MiB download · 44 MiB installed
- Depends on
- devel/hwloc2 2.12.1_1, devel/json-c 0.19_1, devel/libepoll-shim 0.0.20240608, lang/gcc14 14.2.0_7, lang/perl5.42 5.42.3, net/libfabric 1.15.1_4
- License
- MPICH
- Options
- 5 of 8 on in the package: DHYDRA DOCS FORTRAN GFORKER HYDRA
Show the 3 options that are off
DGFORKER L0 SLURM
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 5.0.1 | 5.0.1 | – |
| FreeBSD 15 | 5.0.1 | 5.0.1 | – |
| FreeBSD 14 | 5.0.1 | 5.0.1 | 5.0.1 |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 5.0.1 | 5.0.1 | – |
| FreeBSD 14 | 5.0.1 | 5.0.1 | 5.0.1 |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
Unaddressed and VuXML only (0)
No unaddressed CVE and nothing reported by
pkg audit for the packaged version 5.0.1.Fixed (0)
No VuXML entries for this package.
Problem reports (1) · open in Bugzilla, most recently changed first
| PR | Summary | Status | Changed |
|---|---|---|---|
| 298053 | maintainer-feedback+ net/mpich: Install under mpi/mpich to avoid MPI library namespace collisions | In Progress | 2026-08-30 |
Commits (239)
net/mpich2: Unbreak build with GCC 10 checking whether gfortran10 allows mismatched arguments... no configure: error: The Fortran compiler gfortran10 will not compile files that call the same routine with arguments of different types. http://package18.nyi.freebsd.org/data/121amd64-default-PR244494/2020-06-10_18h04m44s/logs/errors/mpich2-1.5_14,5.log PR: 24670009acace680
net/mpich: Unbreak build with GCC 10 checking whether gfortran10 allows mismatched arguments... no configure: error: The Fortran compiler gfortran10 will not compile files that call the same routine with arguments of different types. http://package18.nyi.freebsd.org/data/121amd64-default-PR244494/2020-06-10_18h04m44s/logs/errors/mpich-3.2.1_6.log PR: 246700ff622bd3f1
Remove the Python 2.7 modules, so that we can keep this port untill all consumers have switched to a newer MPI provider.bea9aca79f
Mpich installs some Perl scripts, e.g. parkill. If Perl is not found during the build, their shebang is: #!6eeffcc4a6
Clean up after java/openjdk6 and java/openjdk6-jre removal java/openjdk6 support was removed from Mk/bsd.java.mk (r512662) and java/openjdk6 and java/openjdk6-jre were removed from the ports tree (r512663). Now this patch completely removes remaining stuff from the ports tree. PR: 241953 (exp-run) Reviewed by: glewis Approved by: portmgr (antoine) Differential Revision: https://reviews.freebsd.org/D223425a52a08234
Add USES=xorg USES=gl, ports categories n Add USES=xorg and USES=gl to ports in categories starting with 'n'. While here, try to sprinkle other USES (mostly gnome and sdl) as needed.897ad0b36e
- Add compat for NOCCACHE -> NO_CCACHEbc8870a852
Convert to UCL & cleanup pkg-message (categories n) (and missed 3 missed files from previous categories.)2614c95748
Bump PORTREVISION for ports depending on the canonical version of GCC as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330ea8c8ec7da
Related to revision 499061 bump ports with USES=fortran to have them benefit from the improved situation where libgcc_s is only used when absolutely necessary. Suggested by: tijl879e75a659
Update MASTER_SITES and WWWd6751bb9b7
net/mpich: Remove the compiler version check It fails on science/meep for no obvious reason, and would otherwise prevent meep from being upgraded mpich2->mpich.7b25ef278f
Bump PORTREVISION for ports depending on the canonical version of GCC defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, as a double check, everything INDEX-11 showed depending on lang/gcc7. PR: 231590a9f015d155
Add USES=compiler:c11 to fix build on gcc-based archs. PR: 233307 Submitted by: Piotr Kubajaaee35a7b2
Bump PORTREVISION for ports depending on the canonical version of GCC in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which has now moved from GCC 6 to GCC 7 by default. This includes ports - featuring USE_GCC=yes or USE_GCC=any, - featuring USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and those - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x, c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib. PR: 22254209f9633cb6
net/mpich2: Unbreak build by setting BASH_SHELL environment variable Without it it was failing for me with wrong bash interpreter path in all executables (ex. mpicxx). Not sure why central builds weren't failing, but configrure expects BASH_SHELL to be set. Also order USExx section. Approved by: portmgr892d4a6b0e
Update to 3.2.1 and drop maintainership.e48705d66d
Fix an incorrect plist when the option X11 is deselected. PR: 228155 Submitted by: doralitze (at) chaotikum.orgf245e72b18
Bump PORTREVISIONs of all users of math/mpc that we just updated to version 1.1.0 (via revision 464079).c2a92a1aea
Remove a few text occurrences of NOPORTDOCS. Sponsored by: Absolightafb43abb77
- Those ports fail to build with python3 - Add some explicit FLAVOR to dependencies where neededa021c1b8c0
Cleanup after removal of libexecinfo from ports. PR: 220271 Submitted by: mat (review), Yasuhiro KIMURA (PR) Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D11488cb9a2b582c
Remove USES=execinfo. PR: 220271 Submitted by: mat (review), Yasuhiro KIMURA (PR) Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D114883fcd0e41de
Bump PORTREVISION for ports depending on the canonical version of GCC (via Mk/bsd.default-versions.mk and lang/gcc) which has moved from GCC 5.4 to GCC 6.4 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang, c++14-lang, c++0x, c11, or gcc-c++11-lib. PR: 219275e59c88cece
It is possible that r441426 will fix the build problem on armv6. Give it a try. Approved by: portmgr (tier-2 blanket)e1fcc1b597
Mark some ports failing on various tier-2 archs. In cases where the error message was a stub, provide a real one. While here, pet portlint. This is a catchup commit from various earlier commits. Approved by: portmgr (tier-2 blanket)a401704344
Bump PORTREVISIONs for ports depending on the canonical version of GCC and lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some circumstances such as versions of FreeBSD or platforms). This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using using Mk/bsd.octave.mk which in turn has USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang, c++11-lang, c++0x, c11, or gcc-c++11-lib. PR: 21670704d6f52202
Bump PORTREVISIONS for ports depending on the canonical version of GCC and lang/gcc which have moved from GCC 4.8.5 to GCC 4.9.4 (at least under some circumstances such as versions of FreeBSD or platforms), part II. The first part covered ports with USE_GCC=yes, USE_GCC=any, or one of gcc-c++11-lib, openmp, nestedfct, c++11-lib as well as c++14-lang, c++11-lang, c++0x, c11 requested via USES=compiler. This adds ports with USES=fortran and ports using Mk/bsd.octave.mk which in turn has USES=fortran. PR: 214965 Reported by: thierrye4b7b9118a
Add patch to apply alignment attribute to a struct instead of a typedef. This rounds the size of the struct to a multiple of the alignment such that malloc and friends allocate memory with the correct alignment. PR: 214784 MFH: 2016Q40ed1aea7c1
Bump PORTREVISIONS for ports depending on the canonical version of GCC and lang/gcc which have moved from GCC 4.8.5 to GCC 4.9.4 (at least under some circumstances such as versions of FreeBSD or platforms). In particular that is ports with USE_GCC=yes, USE_GCC=any, or one of gcc-c++11-lib, openmp, nestedfct, c++11-lib as well as c++14-lang, c++11-lang, c++0x, c11 requested via USES=compiler.89f8b05214
Convert to @sample2a91d61226
Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat: portmgr
Sponsored by: Absolight8d6597e0bbRemove MAKE_JOBS_UNSAFE: according to mpich2 wiki FAQ, this issue was fixed since v1.5a1. PR: ports/207691 Submitted by: jiashiun (at) gmail.comcb2a6bc62c
The configure variable MPICH_LDFLAGS is no longer supported. There is a separate variable for each compiler wrapper now. PR: 20665544332a3abb
USES=execinfo localbase switch. PR: ports/205388 Submitted by: pawel2833b42e4d
Update to MPICH 3.200433e8f6d
By default libtool replaces -export-symbols <file> with -retain-symbols-file <file> on ELF systems, but this doesn't really do what -export-symbols is meant to do. On GNU ELF systems it converts <file> to a simple version script first and then uses -version-script instead of -retain-symbols-file. Let USES=libtool patch libtool scripts to do this on all systems with GNU ld(1). Bump PORTREVISION on all ports where the build log contains -export-symbols. audio/calf: This port builds a module that now exports only one function, but it also builds a number of executables that link to this module and expect to see other functions. Because it's already a bit dodgy to link to a module (libtool warns about this) let the module continue to export only one function and instead build an ordinary library from the same source that the executables can link to. Fix a number of other issues in the same Makefile.am and clean up the port Makefile. japanese/scim-honoka: Tries to hide all symbols that start with an underscore, but because this library is written in C++ all symbols start with _Z so it ends up hiding everything. Just don't hide anything at all like the textproc/scim configure script does. multimedia/schroedinger: Apply an upstream patch. textproc/scim-input-pad: Same as japanese/scim-honoka. PR: 201922 Approved by: portmgr (antoine) Exp-run by: antoinea374acb969
- Enable FORTRAN and GFORKER options by default due to popular request - Add option group descriptionsa6c9f76b6d
net category: Remove $PTHREAD_LIBS openafs did not pass check-plist (pre-existing) so fixed and bumped. Also, pkg-plist was sorted. mediatomb and spread also fail plist-checks but they weren't fixed. approved by: PTHREAD blanketb90f611b9c
- Update to MPICH 3.1.4 - Pass *FLAGS variables to configure via MPICHLIB_*FLAGS because otherwise they are hardcoded into mpicc [1] PR: 197563 [1]fd4dc6bd44
Remove explicit dependency on javavmwrapper for ports that USE_JAVA4f4e8c52c6
Update to MPICH 3.1.3 From the announcement: This release adds several enhancements to Portals4 support, PAMI, RMA, and ROMIO. It also contains a large number of bug fixes.b1d4e52f9a
net/mpich2: Fix typo in MPI_CFLAGS (from previous commit)a70f4ebca7
net/mpich2: fix pkg-plist when JAVA option disabled, but while here...
When the default JAVA option is turned off, the check-plist fails due
to four files that don't get installed, so prefix them with %%JAVA%%
While here:
* Fixing stage-qa with INSTALL_TARGET=install-strip
* Manually strip JAVA option library libTraceInput.so as needed
* Remove obsolete @dirrm
* Add CFLAGS related to using ports execinfo to find the execinfo.h
(ports GCC seem to look in /usr/local/include by default, but DF's
base compiler does not, so explicitly specify this location)
All of these should be covered under the "Just Fix It" blanket629b964108Update the default version of GCC in the Ports Collection from GCC 4.7.4 to GCC 4.8.3. Part II, Bump PORTREVISIONs. PR: 192025 Tested by: antoine (-exp runs) Approved by: portmgr (implicit)15945f8122
- Upgrade to 1.5; - Bump PORTREVISION for consumers.78e2b56a8a
Upgrade to 1.4.1p1.ea5b6d0251
- Take maintainership back; - Stagify and modernize.201ca05132
Update to MPICH 3.1.2 From the announcement: This release contains significant enhancements to the BG/Q device, especially for RMA and shared memory functionality. It also contains enhancements to ROMIO and upgrades hwloc to 1.9. In addition, it updates its weak alias support to align with gcc-4.x, has a better implementation of MPI_Allreduce for intercommunicator, adds more F08 test cases and fixes several bugs present in 3.1.1.1e9581ff9a