From nobody Fri Aug 26 18:06:40 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 4MDnpS571Hz4ZcSp; Fri, 26 Aug 2022 18:06:40 +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 4MDnpS4db3z3Zml; Fri, 26 Aug 2022 18:06:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661537200; 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=JXuDwABRZLoSg69Z0bwOOaY2wKBB6MPQsgF3+DVs7SY=; b=T738Vtw0DjWCQf6z0Z/3e/my35+VAZK9ySDOBtCGk2+cToBi6S7oi5hdQ/7wesBkIO98g1 vN8fqlaPdL0uq0YUGB143q+9k0RN4L3hOO2c0TIJqpOmcTB3vHZRt7LO4onK80mfixR8wJ U03kDX7cfYOKRFJumNNDLcaja2KNmdxino8ukSLx9j8uV0R4p9+jAp/GyglD72NfWhwSk+ aIHmGsdgqxYmX4qQARtvtaH1dXGC7/phaBQjOMVhDwIWu6ifqFe/uNXbiwLxxXCZ5bC5NM V+FEVOfOktPfJuPd4U5pR1Inf8Jqj5SPRnsgY/aEYZCnsJSuvrEp4SH7IHI/xA== 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 4MDnpS3hJ1zTPZ; Fri, 26 Aug 2022 18:06:40 +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 27QI6e2l019739; Fri, 26 Aug 2022 18:06:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27QI6ejr019738; Fri, 26 Aug 2022 18:06:40 GMT (envelope-from git) Date: Fri, 26 Aug 2022 18:06:40 GMT Message-Id: <202208261806.27QI6ejr019738@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: 0a2156ecebc0 - main - math/costa: New port: Distributed Communication-Optimal Shuffle and Transpose Algorithm 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: 0a2156ecebc082c4019d5b3a8b1d8b5c85b52d61 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661537200; 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=JXuDwABRZLoSg69Z0bwOOaY2wKBB6MPQsgF3+DVs7SY=; b=acCBJMqHBXIb6YjA//inaRXr300hz9ipdE8lshHuWUOXIOVxDkc9CtE6HYtmZQDEByyyx+ c/fkzStbw+4ysQeZ3RuCVLNJjeOsv43U7n8CaIYC6cb/hTYavm4WfbolscaaJdzBwmYEc3 nt7jmzkRMF3F6sTjnuyC1GEPsBPj5zfMgG/QdywAM/ro31nlRn6CU0989GTTRLCnl/oDD3 Ses9LC1t1n8TvecZNFuUYQphZzDqSOnCXvAjcu867lUsv3rIQURYvYotWTRmse/+ArZJei Bv9fo94jIARthtX4KQUKsXfCpwfYw+rpmcXEcl9AYtzXLXALseFvhF+VEwzz2A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661537200; a=rsa-sha256; cv=none; b=l81pm/4MNKrT0c9AyUigWPjm3I9tiC02m2vDCRXBsPlza8MRsFlC9OeI+lNXeBVh5CWHUr Ot1zz69pe5DwZScd0To/bs7QDlztdGA9t53S9sFoHhp0A8cMI7XigsW6S9w0C5WvgPKTdc /0RuZbQ/NuF3XM5L3TZWphGtyvHvXpOYjdIpfuS4Ow925hvYJhw8UExLrBYtZM49eYDFbK Zjmae0IfdMF5XLyNrSyQsJKHnvm1KnFjHhhQ7yVhTlLPqbTLrm/ds5zYjs421EzqqA9Dyb tjGW6+g27q0ji4qs1vvkCxW9h0BHnVHJmx3NY8XlxvKKpBDx7ZikYX5sKC5p2Q== 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=0a2156ecebc082c4019d5b3a8b1d8b5c85b52d61 commit 0a2156ecebc082c4019d5b3a8b1d8b5c85b52d61 Author: Yuri Victorovich AuthorDate: 2022-08-26 18:05:49 +0000 Commit: Yuri Victorovich CommitDate: 2022-08-26 18:06:38 +0000 math/costa: New port: Distributed Communication-Optimal Shuffle and Transpose Algorithm --- math/Makefile | 1 + math/costa/Makefile | 41 +++++++++++++++++++++++++++++++++++++++++ math/costa/distinfo | 3 +++ math/costa/pkg-descr | 5 +++++ math/costa/pkg-plist | 35 +++++++++++++++++++++++++++++++++++ 5 files changed, 85 insertions(+) diff --git a/math/Makefile b/math/Makefile index 9e44df632a50..008963df91fc 100644 --- a/math/Makefile +++ b/math/Makefile @@ -248,6 +248,7 @@ SUBDIR += convertall SUBDIR += coq SUBDIR += cosma + SUBDIR += costa SUBDIR += couenne SUBDIR += coxeter3 SUBDIR += cppad diff --git a/math/costa/Makefile b/math/costa/Makefile new file mode 100644 index 000000000000..bb2298b1b8ad --- /dev/null +++ b/math/costa/Makefile @@ -0,0 +1,41 @@ +PORTNAME= costa +DISTVERSIONPREFIX= v +DISTVERSION= 2.1 +CATEGORIES= math + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Distributed Communication-Optimal Shuffle and Transpose Algorithm + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libopenblas.so:math/openblas \ + libscalapack.so:math/scalapack + +USES= cmake:testing pkgconfig +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= eth-cscs +GH_PROJECT= COSTA + +CMAKE_ON= BUILD_SHARED_LIBS +CMAKE_ARGS= -DCOSTA_SCALAPACK=CUSTOM +CMAKE_OFF= COSTA_WITH_TESTS +CMAKE_TESTING_ON= COSTA_WITH_TESTS + +OPTIONS_SINGLE= MPI +OPTIONS_SINGLE_MPI= MPICH OPENMPI +OPTIONS_DEFAULT= MPICH + +MPICH_USES= mpi:mpich + +OPENMPI_USES= mpi:openmpi + +post-install: # workaround for https://github.com/eth-cscs/COSTA/issues/9 + @cd ${STAGEDIR}${PREFIX} && ${RMDIR} \ + include/costa/pxtran \ + include/costa/pxtranc \ + include/costa/pxtranu + +.include diff --git a/math/costa/distinfo b/math/costa/distinfo new file mode 100644 index 000000000000..1f6c58c82e01 --- /dev/null +++ b/math/costa/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1661524865 +SHA256 (eth-cscs-COSTA-v2.1_GH0.tar.gz) = c1e86452415083f7470b292d93ec60708b7c8dbafc2bac383636bb4b28135866 +SIZE (eth-cscs-COSTA-v2.1_GH0.tar.gz) = 804671 diff --git a/math/costa/pkg-descr b/math/costa/pkg-descr new file mode 100644 index 000000000000..7caa56d5abef --- /dev/null +++ b/math/costa/pkg-descr @@ -0,0 +1,5 @@ +COSTA is a communication-optimal, highly-optimised algorithm for data +redistribution accross multiple processors, using MPI and OpenMP and +offering the possibility to transpose and scale some or all data. + +WWW: https://github.com/eth-cscs/COSTA diff --git a/math/costa/pkg-plist b/math/costa/pkg-plist new file mode 100644 index 000000000000..04d919bd461b --- /dev/null +++ b/math/costa/pkg-plist @@ -0,0 +1,35 @@ +include/costa/blacs.hpp +include/costa/cinterface/transform.hpp +include/costa/grid2grid/block.hpp +include/costa/grid2grid/cantor_mapping.hpp +include/costa/grid2grid/comm_volume.hpp +include/costa/grid2grid/communication_data.hpp +include/costa/grid2grid/grid2D.hpp +include/costa/grid2grid/grid_cover.hpp +include/costa/grid2grid/grid_layout.hpp +include/costa/grid2grid/interval.hpp +include/costa/grid2grid/memory_utils.hpp +include/costa/grid2grid/mpi_type_wrapper.hpp +include/costa/grid2grid/profiler.hpp +include/costa/grid2grid/ranks_reordering.hpp +include/costa/grid2grid/scalapack_layout.hpp +include/costa/grid2grid/threads_workspace.hpp +include/costa/grid2grid/transform.hpp +include/costa/grid2grid/transformer.hpp +include/costa/grid2grid/utils.hpp +include/costa/layout.hpp +include/costa/pxgemr2d/costa_pxgemr2d.hpp +include/costa/pxgemr2d/pxgemr2d_params.hpp +include/costa/pxtran_op/costa_pxtran_op.hpp +include/costa/pxtran_op/pxtran_op_params.hpp +include/costa/random_generator.hpp +include/costa/scalapack.hpp +lib/cmake/costa/FindMKL.cmake +lib/cmake/costa/costaConfig.cmake +lib/cmake/costa/costaConfigVersion.cmake +lib/cmake/costa/costaTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/costa/costaTargets.cmake +lib/libcosta.so +lib/libcosta_prefixed_scalapack.so +lib/libcosta_scalapack.so +libdata/pkgconfig/costa.pc