From nobody Fri Aug 26 08:17:54 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 4MDXl63K0qz4ZZ57; Fri, 26 Aug 2022 08:17:54 +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 4MDXl62qcqz3kcg; Fri, 26 Aug 2022 08:17:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661501874; 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=06GwEkGuXlqOLMzeMCPoCdvIyCoJhj3VzbDURpVuFPc=; b=pzoVjcOaGs7eQvjEW2b4mJSB6vtK/fy4u+E90gkCgRk6lX8V2fNNom9+rEUKPM0QBqhGhn INA9PKPAhjKagLj7Dip5ASQFzRthGoRS7mndV2/Wo4amVYMm2/W9slbkDnaj5ep6iJPr/K 3L86mdRDJ9tf4miIIQVStKjyzQPtD62sbQYgWFg1z6BNiHd1vA07DIiSvBnnLPr3K+xE/y 34NA6tB1hQ0cwgQlal2YjUUGkhaerzXMTB4cy/ViXF5SvjxgOocIVjDb7x7sUPoQLZclPn qhyg2Td/pZJCkmkisJSWGJqmnlPoU04X2vvfaF4M8fpiHg5IgRcLOOuHHRyKWQ== 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 4MDXl61vgSzLJ6; Fri, 26 Aug 2022 08:17:54 +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 27Q8HslO087953; Fri, 26 Aug 2022 08:17:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27Q8HsU1087952; Fri, 26 Aug 2022 08:17:54 GMT (envelope-from git) Date: Fri, 26 Aug 2022 08:17:54 GMT Message-Id: <202208260817.27Q8HsU1087952@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: 9de810561899 - main - math/spla: New port: Specialized Parallel Linear Algebra 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: 9de810561899dde848ba00fc6527b35725e0474a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661501874; 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=06GwEkGuXlqOLMzeMCPoCdvIyCoJhj3VzbDURpVuFPc=; b=MVJ1Tfn2NS2shX0OTqwDuq1EGWGiaPFSdzQ4pg3D+YkY1w/uYsELxwKhVfsCOqWm9I8dfz +g7+6BVjGzt87uzNtpW6ruZDrEHDKsipSOEhcULmQ87GoW5XERz2zG6d+uHgY7n3EUKVsS Bm6+0wpFqtk+E6wSFqlPd3p3n5LW0us3pEhi2PyXqrZUXXPMwN7phphOhpIavtpiSeZykj 4ALxIpFhN+mp4s0prj6ZD4bm2xxDDLn/KLN7EMm9N5pqDpphdpXOEN7tnDc3lmfsSa5XQE M5DHBb1EKzcNB3oCTJEC5ahGPIk+Br0cfMSto6KNqUHfwGXez9hk3GDx5oOQJw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661501874; a=rsa-sha256; cv=none; b=HgM9bY/QVOw6/zdnUW/jQewKqgj7P8ME+B2R/0vxgGYsV8jqv9Iwx8HxqMN8s1cc2I2h9h aMhdsOLHz3PZStKw6k8sTJa+6wXHNW4jsvHAqn8dRE55x/PcQqiXtXILvbeAtYHTC6V1BU UTgx7pYDwWS4R/GMyJsPKRhk2WZ6Zm3pOmaRlifccC1Koewu0dgIgTVlDFfyahGOJ1QCJW 7Kuhwi005m/BzwrzNj01Z95v4D92dLBhLzboIGusL1aBvXkcvpJcE2cTXAeodtrudQdWtJ nM3SWOz8zkJwFWhRhP/KGIagrMZnINs5cjHuI1aTsmE4RJv35ykx0/Y6fttJaw== 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=9de810561899dde848ba00fc6527b35725e0474a commit 9de810561899dde848ba00fc6527b35725e0474a Author: Yuri Victorovich AuthorDate: 2022-08-26 08:17:29 +0000 Commit: Yuri Victorovich CommitDate: 2022-08-26 08:17:29 +0000 math/spla: New port: Specialized Parallel Linear Algebra --- math/Makefile | 1 + math/spla/Makefile | 39 +++++++++++++++++++++++++++++++++++++++ math/spla/distinfo | 3 +++ math/spla/pkg-descr | 10 ++++++++++ math/spla/pkg-plist | 40 ++++++++++++++++++++++++++++++++++++++++ 5 files changed, 93 insertions(+) diff --git a/math/Makefile b/math/Makefile index e60a503a6fd2..34f6640e4e5a 100644 --- a/math/Makefile +++ b/math/Makefile @@ -1063,6 +1063,7 @@ SUBDIR += spectra SUBDIR += speedcrunch SUBDIR += spfft + SUBDIR += spla SUBDIR += spooles SUBDIR += spooles-mpich SUBDIR += spot diff --git a/math/spla/Makefile b/math/spla/Makefile new file mode 100644 index 000000000000..e9dd6fd9ef1e --- /dev/null +++ b/math/spla/Makefile @@ -0,0 +1,39 @@ +PORTNAME= spla +DISTVERSIONPREFIX= v +DISTVERSION= 1.5.4 +CATEGORIES= math + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Specialized Parallel Linear Algebra + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libopenblas.so:math/openblas +TEST_DEPENDS= scalapack>0:math/scalapack + +USES= cmake:testing compiler:c++11-lang +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= eth-cscs + +CMAKE_TESTING_ON= SPLA_BUILD_TESTS # tests fail to link, see https://github.com/eth-cscs/spla/issues/24 +CMAKE_TESTING_TARGET= ${ALL_TARGET} + +OPTIONS_DEFINE= FORTRAN OPENMP +OPTIONS_SINGLE= MPI +OPTIONS_SINGLE_MPI= MPICH OPENMPI +OPTIONS_DEFAULT= FORTRAN MPICH OPENMP +OPTIONS_SUB= yes + +FORTRAN_USES= fortran +FORTRAN_CMAKE_BOOL= SPLA_FORTRAN + +MPICH_USES= mpi:mpich + +OPENMPI_USES= mpi:openmpi + +OPENMP_CMAKE_BOOL= SPLA_OMP + +.include diff --git a/math/spla/distinfo b/math/spla/distinfo new file mode 100644 index 000000000000..445c4defcd82 --- /dev/null +++ b/math/spla/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1661500900 +SHA256 (eth-cscs-spla-v1.5.4_GH0.tar.gz) = de30e427d24c741e2e4fcae3d7668162056ac2574afed6522c0bb49d6f1d0f79 +SIZE (eth-cscs-spla-v1.5.4_GH0.tar.gz) = 519572 diff --git a/math/spla/pkg-descr b/math/spla/pkg-descr new file mode 100644 index 000000000000..2460b639d631 --- /dev/null +++ b/math/spla/pkg-descr @@ -0,0 +1,10 @@ +SPLA provides specialized functions for linear algebra computations with a C++ +and C interface, which are inspired by requirements in computational material +science codes. + +Currently, SPLA provides functions for distributed matrix multiplications with +specific matrix distributions, which cannot be used directly with a ScaLAPACK +interface. All computations can optionally utilize GPUs through CUDA or ROCm, +where matrices can be located either in host or device memory. + +WWW: https://github.com/eth-cscs/spla diff --git a/math/spla/pkg-plist b/math/spla/pkg-plist new file mode 100644 index 000000000000..5ee6697bed35 --- /dev/null +++ b/math/spla/pkg-plist @@ -0,0 +1,40 @@ +include/spla/config.h +include/spla/context.h +include/spla/context.hpp +include/spla/errors.h +include/spla/exceptions.hpp +include/spla/gemm.h +include/spla/gemm.hpp +include/spla/matrix_distribution.h +include/spla/matrix_distribution.hpp +include/spla/pgemm_sbs.h +include/spla/pgemm_sbs.hpp +include/spla/pgemm_ssb.h +include/spla/pgemm_ssb.hpp +include/spla/pgemm_ssbtr.h +include/spla/pgemm_ssbtr.hpp +include/spla/spla.f90 +include/spla/spla.h +include/spla/spla.hpp +%%FORTRAN%%include/spla/spla.mod +include/spla/spla_export.h +include/spla/types.h +lib/cmake/SPLA/SPLAConfig.cmake +lib/cmake/SPLA/SPLAConfigVersion.cmake +lib/cmake/SPLA/SPLASharedConfig.cmake +lib/cmake/SPLA/SPLASharedConfigVersion.cmake +lib/cmake/SPLA/SPLASharedTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/SPLA/SPLASharedTargets.cmake +lib/cmake/SPLA/SPLATargets.cmake +lib/cmake/SPLA/modules/FindARMPL.cmake +lib/cmake/SPLA/modules/FindATLAS.cmake +lib/cmake/SPLA/modules/FindBLIS.cmake +lib/cmake/SPLA/modules/FindGenericBLAS.cmake +lib/cmake/SPLA/modules/FindMKL.cmake +lib/cmake/SPLA/modules/FindOPENBLAS.cmake +lib/cmake/SPLA/modules/FindSCALAPACK.cmake +lib/cmake/SPLA/modules/FindSCI.cmake +lib/libspla.so +lib/libspla.so.1 +lib/libspla.so.1.5.4 +libdata/pkgconfig/SPLA.pc