Created attachment 246668 [details] Upgrade to a recent commit in order to support MPICH-4.x mpifx does not build with MPICH-4.x: see <https://github.com/dftbplus/mpifx/issues/48>. A fix for this issue has been committed, but nothing has been released yet: meanwhile I propose the attached patch to a recent tag in order to fix the error. Remark: this fix requires mpi_f08.mod, to be installed by MPICH.
The build fails for me: > --- lib/CMakeFiles/mpifx.dir/mpifx_win.f90.o --- > /wrkdirs/usr/ports/net/mpifx/work/.build/lib/mpifx_win.f90:4:7: > > 4 | use mpi_f08 > | 1 > Fatal Error: Cannot open module file 'mpi_f08.mod' for reading at (1): No such file or directory > compilation terminated.
(In reply to Yuri Victorovich from comment #1) This file is installed by MPICH-4 (my latest patch in PR 275317), when it is built by 12.2.0-7 (i.e. after dd37ac872d51). When MPICH does not find ISO_Fortran_binding.h it does not build this module.
Created attachment 246812 [details] Upgrade to a recent commit in order to support MPICH-4.x (rev.2) I see. I've attached the equivalent patch that handles the GitHub revision as a sub-version. Please commit it when you are ready. Thanks, Yuri
Committed, thanks!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=73c6d8942b4be132644c669f5970a9b856dcee48 commit 73c6d8942b4be132644c669f5970a9b856dcee48 Author: Thierry Thomas <thierry@FreeBSD.org> AuthorDate: 2023-12-10 10:04:08 +0000 Commit: Thierry Thomas <thierry@FreeBSD.org> CommitDate: 2023-12-10 10:23:11 +0000 net/mpifx: upgrade to a recent commit in order to support MPICH-4.x mpifx does not build with MPICH-4.x: see <https://github.com/dftbplus/mpifx/issues/48>. A fix for this issue has been committed, but nothing has been released yet: meanwhile I propose the attached patch to a recent tag in order to fix the error. Remark: this fix requires mpi_f08.mod, to be installed by MPICH. PR: 275432 Approved by: yuri@ 'maintainer) net/mpifx/Makefile | 3 ++- net/mpifx/distinfo | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-)