From nobody Mon Jan 17 22:41:26 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B4911196A41F; Mon, 17 Jan 2022 22:41:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jd6MV4cWPz4f4M; Mon, 17 Jan 2022 22:41:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642459286; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Vsni/oD2Vax0g9J7HIGDsc8fMdaAjftAYBPYqRhfVv8=; b=VrcTGc9DwnHp9NYNgzYIoUjoGPZ4NCqyPT0wAKowIGaV9te3mvWBaGMYLTenCaUzmoR4FX YHzrd8HmUrANQc5+oK3mSePsBdvUyTRXYxAZyse4RrCo+2TZhELSQaiLx9a3FCxbk/JykE J2b/VFNMLG+h1B9whI0pSUiDeLFWcaENlrSSxpWHpyLnQ46QdhBq/iz7wzPfHg0udaYtP7 RtVLPyM4hjsSXBKUOJgGteUGn6bVw/3749Kqd5bz+A/mIeEsaN/AXgXSaWDMoY3n51cwkQ RBYzv5DaeeZO3y6mKTNa6U/iB0+fjaVk4n8NREgG38UhFkNyTF6BMwX9MdeRSw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7E46D16356; Mon, 17 Jan 2022 22:41:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 20HMfQBx022994; Mon, 17 Jan 2022 22:41:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20HMfQnu022993; Mon, 17 Jan 2022 22:41:26 GMT (envelope-from git) Date: Mon, 17 Jan 2022 22:41:26 GMT Message-Id: <202201172241.20HMfQnu022993@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 3431a612cfd6 - main - net/mpifx: New port: Modern Fortran wrappers around MPI routines List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3431a612cfd66943494472c69ed1eb6d320c3ada Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642459286; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Vsni/oD2Vax0g9J7HIGDsc8fMdaAjftAYBPYqRhfVv8=; b=k6Z8ScxCmkzsth1sPig8NHt6DdlNf6x1y4sLVdWZp1+shgRFYITc4/fAi9KMSyHMeQj1p7 Fvktno+f0+HOMrWcsLa8ThGUnBN6vS653vOOYgR719ojJAVOt6jLsAMa4MOJQZejhBnq0L Z3gOMULTPsiMsF9aOspZ0zIM7c2CxfNQv0Dx1E5+/sasWh9dVeDA4br10da3fDl1/qakFp NMUIBup05lLhoRFiK9b4Z+ltUaeOQPMx5V2FKiFk3FKL9LOM/9ALuSwL1Q1Skc+HBhW9qU 7eNhHgRUkHMEPE/FTvuOcaFF9MPJsQBbg/0Ni8Hs6k9In2WFz4uJPe1LqwVXYg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642459286; a=rsa-sha256; cv=none; b=FeHP+DLpYc/bfCmKkJDcQ+hZYqHG2/lDwMJN39IZdlK6lgg8I2Bp0wwlSTbHX6RtZ/bisC j5jQSr78Zbqf9wm7zCxEq0Q46et3t6CvQc4NDfrEXsLyR0T9RUVeu2gC9EKf+0SpKYbBmq IXCdt4oDVCehzG33JvkI9KNMFhJCo2NTRN1XPfkTLh1B6iZmSOhK7K6+JOxMo8K0upZT+a B3Jq9BIQ52RQTxv4k9HVQMzaQbpAxkVuNt9gmZ4kx3sBKIKgqi5bStqgvV5TY5k5Z2E/dl pXWL/HSolDMc2ilHoYppfV8qB3808XOHeVosMQRGonOmUjdbeEWN07qPUqclgQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=3431a612cfd66943494472c69ed1eb6d320c3ada commit 3431a612cfd66943494472c69ed1eb6d320c3ada Author: Yuri Victorovich AuthorDate: 2022-01-17 21:14:12 +0000 Commit: Yuri Victorovich CommitDate: 2022-01-17 22:41:20 +0000 net/mpifx: New port: Modern Fortran wrappers around MPI routines --- net/Makefile | 1 + net/mpifx/Makefile | 33 +++++++++++++++++++++++++++++++++ net/mpifx/distinfo | 3 +++ net/mpifx/pkg-descr | 5 +++++ net/mpifx/pkg-plist | 27 +++++++++++++++++++++++++++ 5 files changed, 69 insertions(+) diff --git a/net/Makefile b/net/Makefile index a32e91c00b44..3e31076f3f2e 100644 --- a/net/Makefile +++ b/net/Makefile @@ -471,6 +471,7 @@ SUBDIR += mpd5 SUBDIR += mpich SUBDIR += mpich2 + SUBDIR += mpifx SUBDIR += mping SUBDIR += mptsd SUBDIR += mrouted diff --git a/net/mpifx/Makefile b/net/mpifx/Makefile new file mode 100644 index 000000000000..db7eb448aed5 --- /dev/null +++ b/net/mpifx/Makefile @@ -0,0 +1,33 @@ +PORTNAME= mpifx +DISTVERSION= 1.2 +CATEGORIES= net devel + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Modern Fortran wrappers around MPI routines + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= fypp:devel/py-fypp@${PY_FLAVOR} +LIB_DEPENDS= libmpi.so:net/mpich + +USES= cmake:testing fortran python:build + +USE_GITHUB= yes +GH_ACCOUNT= dftbplus + +CMAKE_ON= BUILD_SHARED_LIBS + +post-test: # run test programs # at least one test crashes, see https://github.com/dftbplus/mpifx/issues/35 +.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 + +.include + +.if ${GCC_DEFAULT} >= 10 +# workaround for Type mismatch in argument 'cc' at (1); passed COMPLEX(8) to REAL(8) +FFLAGS+= -fallow-argument-mismatch +.endif + +.include diff --git a/net/mpifx/distinfo b/net/mpifx/distinfo new file mode 100644 index 000000000000..19e5b73ec8f1 --- /dev/null +++ b/net/mpifx/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1642451768 +SHA256 (dftbplus-mpifx-1.2_GH0.tar.gz) = 1f02574856537ec58ebbf0312d951f24e41ea0ccf36b6ef9dccbb105fd04b50f +SIZE (dftbplus-mpifx-1.2_GH0.tar.gz) = 58278 diff --git a/net/mpifx/pkg-descr b/net/mpifx/pkg-descr new file mode 100644 index 000000000000..d076335605ce --- /dev/null +++ b/net/mpifx/pkg-descr @@ -0,0 +1,5 @@ +MpiFx provides modern Fortran (Fortran 2003) wrappers around routines +of the MPI library to make their use as simple as possible. Currently +several data distribution routines are covered. + +WWW: https://github.com/dftbplus/mpifx diff --git a/net/mpifx/pkg-plist b/net/mpifx/pkg-plist new file mode 100644 index 000000000000..a5b52b5c3830 --- /dev/null +++ b/net/mpifx/pkg-plist @@ -0,0 +1,27 @@ +include/mpifx/modfiles/libmpifx_module.mod +include/mpifx/modfiles/mpifx_abort_module.mod +include/mpifx/modfiles/mpifx_allgather_module.mod +include/mpifx/modfiles/mpifx_allgatherv_module.mod +include/mpifx/modfiles/mpifx_allreduce_module.mod +include/mpifx/modfiles/mpifx_barrier_module.mod +include/mpifx/modfiles/mpifx_bcast_module.mod +include/mpifx/modfiles/mpifx_comm_module.mod +include/mpifx/modfiles/mpifx_common_module.mod +include/mpifx/modfiles/mpifx_constants_module.mod +include/mpifx/modfiles/mpifx_finalize_module.mod +include/mpifx/modfiles/mpifx_gather_module.mod +include/mpifx/modfiles/mpifx_gatherv_module.mod +include/mpifx/modfiles/mpifx_get_processor_name_module.mod +include/mpifx/modfiles/mpifx_helper_module.mod +include/mpifx/modfiles/mpifx_init_module.mod +include/mpifx/modfiles/mpifx_recv_module.mod +include/mpifx/modfiles/mpifx_reduce_module.mod +include/mpifx/modfiles/mpifx_scatter_module.mod +include/mpifx/modfiles/mpifx_scatterv_module.mod +include/mpifx/modfiles/mpifx_send_module.mod +lib/cmake/mpifx/mpifx-config-version.cmake +lib/cmake/mpifx/mpifx-config.cmake +lib/cmake/mpifx/mpifx-targets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/mpifx/mpifx-targets.cmake +lib/libmpifx.so +libdata/pkgconfig/mpifx.pc