From nobody Tue Jan 18 06:39:49 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 EA6BB1953DE1; Tue, 18 Jan 2022 06:39:49 +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 4JdJzT5ht2z4bl9; Tue, 18 Jan 2022 06:39:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642487989; 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=0xlTXFSJ7zxy10NbkNAV3V9MAEBqTvXUAvnUwnTIPb4=; b=R1ilkMAAPIVc/+89Hbos6KF7t/rf8uzOwsec4FenFCYIHUFoL5ud/wPWyGDsvpJMpVvOLD p5DX7zvH8EBsMMJM3d295pXanuIngCktTFaivm9b/tIAQRJkkkXSPQIBClrr1Bz6KhdIJU OF4/9RxUG1hBoyVyzAwcIWAW/M6CzH+T3IW63IYWk4p0sHos+z3e/JKP9NHBIfJNUuuOEp vIX1iqnV0fTwi38n+dWqQ4lS7KA0xMyNugLU9J61FFToMrxLJe0N262KPbMoidu7pn4l4v Utc1G1JIfqu3O61uafh/mh/jks7VNiZ7argzozlnc/2r3RofSFT/73crTJEYkg== 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 91F291C8B1; Tue, 18 Jan 2022 06:39:49 +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 20I6dn9o056265; Tue, 18 Jan 2022 06:39:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20I6dnPD056264; Tue, 18 Jan 2022 06:39:49 GMT (envelope-from git) Date: Tue, 18 Jan 2022 06:39:49 GMT Message-Id: <202201180639.20I6dnPD056264@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: d08b5879b85c - main - math/scalapackfx: New port: Modern Fortran wrappers around ScaLAPACK 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: d08b5879b85c4f906a26dd2494233ad263597e58 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642487989; 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=0xlTXFSJ7zxy10NbkNAV3V9MAEBqTvXUAvnUwnTIPb4=; b=bTsR8JYRmZ/ZuVGXQnJ3lZb4YzBtH04/ztUa+50RZjm3eyPRkvFTZ6XBlopZz8RlVbuSoZ IQaPaYMPzCy6vNPltD4tG9Dmv4OtbogcGFz6fJ1kRZOpHuZKpPmHXX8ROdieqe7h9zpVUC bOjr7nsUPx1vEeKxLqsHgH3u0EhlHin3ET7hJlkmrTBS3ey3LlUChsdXMjQGcAqUGhu8v4 KcdVWY0wrilwut9UTExzXZTYX9HGk8djgdTceP1H+cvfm1NJdN5+SG3VV5uVreWLUS+8b5 moJKQO9z/AQR8GxlwwpjmuMs4POcHh6W73fJzrclpa2WocGGWVY9ADG1BwMoHw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642487989; a=rsa-sha256; cv=none; b=o+q7daXRifv4NVq53vxYXeXIPpdpF8m2O0Z+HzXHTY/MQYi8j9iF0z1RbVdonW0tgplAkt LNwQR7RaYwT4nX24y5LGActJMhMVRD/a8CuIPE0ALy2CT5apZOCNFB2WQvTAAshQtmT9in tq/i4sm+CAV1SO2cDao/AQC829fv9v/ZfddU2qrVGUzxgHJScSeuwM/FuAlrCeF6T6398d GSIBup+cZKbjODGwhNnv6vuTdo3MH1/Hte/GER9ixii9hgYiK1hJp+kgt7cMZKkhcCNmK9 Liq2E1xElgYA9TFGNfY6FPvKZKu/teRqdpVtAjFMV6W2XB3QP++gny2K2EpQhw== 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=d08b5879b85c4f906a26dd2494233ad263597e58 commit d08b5879b85c4f906a26dd2494233ad263597e58 Author: Yuri Victorovich AuthorDate: 2022-01-18 06:32:38 +0000 Commit: Yuri Victorovich CommitDate: 2022-01-18 06:39:35 +0000 math/scalapackfx: New port: Modern Fortran wrappers around ScaLAPACK routines --- math/Makefile | 1 + math/scalapackfx/Makefile | 31 +++++++++++++++++++++++++++++++ math/scalapackfx/distinfo | 3 +++ math/scalapackfx/pkg-descr | 5 +++++ math/scalapackfx/pkg-plist | 20 ++++++++++++++++++++ 5 files changed, 60 insertions(+) diff --git a/math/Makefile b/math/Makefile index 9f829a8890ba..d41bbff7eb2f 100644 --- a/math/Makefile +++ b/math/Makefile @@ -993,6 +993,7 @@ SUBDIR += sc SUBDIR += sc-im SUBDIR += scalapack + SUBDIR += scalapackfx SUBDIR += scilab SUBDIR += scilab-toolbox-swt SUBDIR += scs diff --git a/math/scalapackfx/Makefile b/math/scalapackfx/Makefile new file mode 100644 index 000000000000..54a63a5c04d9 --- /dev/null +++ b/math/scalapackfx/Makefile @@ -0,0 +1,31 @@ +PORTNAME= scalapackfx +DISTVERSION= 1.0.2 +CATEGORIES= math + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Modern Fortran wrappers around ScaLAPACK routines + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= fypp:devel/py-fypp@${PY_FLAVOR} +LIB_DEPENDS= libmpi.so:net/mpich \ + libmpifort.so:net/mpich \ + libopenblas.so:math/openblas \ + libscalapack.so:math/scalapack + +USES= cmake fortran python:build +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= dftbplus + +CMAKE_ARGS= -DSCALAPACK_LIBRARY=${LOCALBASE} +LDFLAGS+= -lscalapack + +CMAKE_ON= BUILD_SHARED_LIBS + +do-test: + @cd ${WRKSRC}/test && mpirun -n 2 ${BUILD_WRKSRC}/test/test_det + +.include diff --git a/math/scalapackfx/distinfo b/math/scalapackfx/distinfo new file mode 100644 index 000000000000..01813edf75cf --- /dev/null +++ b/math/scalapackfx/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1642486855 +SHA256 (dftbplus-scalapackfx-1.0.2_GH0.tar.gz) = 842908c0ae46f1d669c5cb1a4123cfdf8749e29d7249aa589107c5163c29f0fc +SIZE (dftbplus-scalapackfx-1.0.2_GH0.tar.gz) = 79391 diff --git a/math/scalapackfx/pkg-descr b/math/scalapackfx/pkg-descr new file mode 100644 index 000000000000..c8256e135b03 --- /dev/null +++ b/math/scalapackfx/pkg-descr @@ -0,0 +1,5 @@ +ScalapackFx library provides convenient modern Fortran (Fortran 2003) +wrappers for the routines of the ScaLAPACK library. Currently mostly +the routines related to diagonalization are covered. + +WWW: https://github.com/dftbplus/scalapackfx diff --git a/math/scalapackfx/pkg-plist b/math/scalapackfx/pkg-plist new file mode 100644 index 000000000000..c3f3a5d7a879 --- /dev/null +++ b/math/scalapackfx/pkg-plist @@ -0,0 +1,20 @@ +include/scalapackfx/modfiles/blacs_module.mod +include/scalapackfx/modfiles/blacsfx_module.mod +include/scalapackfx/modfiles/blacsgrid_module.mod +include/scalapackfx/modfiles/libscalapackfx_module.mod +include/scalapackfx/modfiles/linecomm_module.mod +include/scalapackfx/modfiles/pblas_module.mod +include/scalapackfx/modfiles/pblasfx_module.mod +include/scalapackfx/modfiles/scalapack_module.mod +include/scalapackfx/modfiles/scalapackfx_common_module.mod +include/scalapackfx/modfiles/scalapackfx_module.mod +include/scalapackfx/modfiles/scalapackfx_tools_module.mod +lib/cmake/scalapackfx/Modules/CustomLibraryFinder.cmake +lib/cmake/scalapackfx/Modules/FindCustomLapack.cmake +lib/cmake/scalapackfx/Modules/FindCustomScalapack.cmake +lib/cmake/scalapackfx/scalapackfx-config-version.cmake +lib/cmake/scalapackfx/scalapackfx-config.cmake +lib/cmake/scalapackfx/scalapackfx-targets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/scalapackfx/scalapackfx-targets.cmake +lib/libscalapackfx.so +libdata/pkgconfig/scalapackfx.pc