mirror of
https://git.freebsd.org/ports.git
synced 2026-06-02 11:08:52 +00:00
net/mpifx: update 1.5 → 1.6
This commit is contained in:
+2
-5
@@ -1,6 +1,5 @@
|
||||
PORTNAME= mpifx
|
||||
DISTVERSION= 1.5
|
||||
PORTREVISION= 1
|
||||
DISTVERSION= 1.6
|
||||
CATEGORIES= net devel
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
@@ -22,7 +21,7 @@ CMAKE_ON= BUILD_SHARED_LIBS
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e '/include(CTest)/d' ${WRKSRC}/CMakeLists.txt
|
||||
|
||||
post-test: # run test programs # at least one test crashes, see https://github.com/dftbplus/mpifx/issues/35
|
||||
post-test: # run test programs without mpirun (CTest disabled, see https://github.com/dftbplus/mpifx/issues/49)
|
||||
.for f in test_allgather test_allgatherv test_allreduce test_bcast test_comm_split test_gather test_gatherv test_reduce test_scatter test_scatterv
|
||||
cd ${BUILD_WRKSRC}/test && ./${f}
|
||||
.endfor
|
||||
@@ -34,6 +33,4 @@ post-test: # run test programs # at least one test crashes, see https://github.c
|
||||
FFLAGS+= -fallow-argument-mismatch
|
||||
.endif
|
||||
|
||||
# tests fail to run: https://github.com/dftbplus/mpifx/issues/49
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
||||
+3
-3
@@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1710350639
|
||||
SHA256 (dftbplus-mpifx-1.5_GH0.tar.gz) = 3801cbd6134b30f403b59346b40ff5bfb47ebe125892cf483e78b477c20b1b02
|
||||
SIZE (dftbplus-mpifx-1.5_GH0.tar.gz) = 62405
|
||||
TIMESTAMP = 1778683451
|
||||
SHA256 (dftbplus-mpifx-1.6_GH0.tar.gz) = 5ec9bcb7b4d943109dddda2bec7ae29b82b9d5653566543ee451e75c76c8c3e1
|
||||
SIZE (dftbplus-mpifx-1.6_GH0.tar.gz) = 63414
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
-- Fix division by zero (SIGFPE) when running with a single MPI process.
|
||||
-- With size=1, groupsize = 1/2 = 0 causes an integer divide-by-zero in the
|
||||
-- next line. Use max(1, ...) to guard against that.
|
||||
-- https://github.com/dftbplus/mpifx/issues/35
|
||||
|
||||
--- test/test_comm_split.f90.orig 2026-05-13 15:13:45 UTC
|
||||
+++ test/test_comm_split.f90
|
||||
@@ -7,7 +7,7 @@ program test_comm_split
|
||||
|
||||
call mpifx_init()
|
||||
call allproc%init()
|
||||
- groupsize = allproc%size / 2
|
||||
+ groupsize = max(1, allproc%size / 2)
|
||||
mygroup = allproc%rank / groupsize
|
||||
call allproc%split(mygroup, allproc%rank, groupproc)
|
||||
write(*, "(3(A,1X,I0,1X))") "GLOBAL ID:", allproc%rank, "SUBGROUP", &
|
||||
Reference in New Issue
Block a user