From owner-svn-ports-all@freebsd.org Wed Oct 31 21:49:27 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D811610EA890; Wed, 31 Oct 2018 21:49:26 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 78B306D25D; Wed, 31 Oct 2018 21:49:26 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4DEAB123DD; Wed, 31 Oct 2018 21:49:26 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w9VLnQ6o067308; Wed, 31 Oct 2018 21:49:26 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9VLnPeF067303; Wed, 31 Oct 2018 21:49:25 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201810312149.w9VLnPeF067303@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Wed, 31 Oct 2018 21:49:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r483620 - in head/math: . dbcsr X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/math: . dbcsr X-SVN-Commit-Revision: 483620 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2018 21:49:27 -0000 Author: yuri Date: Wed Oct 31 21:49:24 2018 New Revision: 483620 URL: https://svnweb.freebsd.org/changeset/ports/483620 Log: New port: math/dbcsr: Distributed Block Compressed Sparse Row matrix library Added: head/math/dbcsr/ head/math/dbcsr/Makefile (contents, props changed) head/math/dbcsr/distinfo (contents, props changed) head/math/dbcsr/pkg-descr (contents, props changed) head/math/dbcsr/pkg-plist (contents, props changed) Modified: head/math/Makefile Modified: head/math/Makefile ============================================================================== --- head/math/Makefile Wed Oct 31 21:17:15 2018 (r483619) +++ head/math/Makefile Wed Oct 31 21:49:24 2018 (r483620) @@ -175,6 +175,7 @@ SUBDIR += cryptominisat SUBDIR += cvc3 SUBDIR += cvc4 + SUBDIR += dbcsr SUBDIR += deal.ii SUBDIR += diehard SUBDIR += dieharder Added: head/math/dbcsr/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/dbcsr/Makefile Wed Oct 31 21:49:24 2018 (r483620) @@ -0,0 +1,40 @@ +# $FreeBSD$ + +PORTNAME= dbcsr +DISTVERSIONPREFIX= v +DISTVERSION= 1.0.0-rc.0-40 +DISTVERSIONSUFFIX= -gd9c0dd54 +CATEGORIES= math + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Distributed Block Compressed Sparse Row matrix library + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= fypp:devel/py-fypp@${PY_FLAVOR} + +USES= blaslapack:openblas cmake:outsource,noninja fortran python:build +USE_GITHUB= yes +GH_ACCOUNT= cp2k +USE_LDCONFIG= yes + +CMAKE_ON= BUILD_SHARED_LIBS +CMAKE_ARGS= -DBLA_VENDOR:STRING="OpenBLAS" + +TEST_TARGET= test # tests hang: https://github.com/cp2k/dbcsr/issues/72 + +OPTIONS_DEFINE= MPI OPENMP C_API # libxsmm is supposed to be supported, but cmake build lacks the corresponding option: https://github.com/cp2k/dbcsr/issues/73 +OPTIONS_DEFAULT= MPI OPENMP C_API +OPTIONS_SUB= yes + +MPI_CMAKE_BOOL= USE_MPI +MPI_LIB_DEPENDS= libmpi.so:net/openmpi + +OPENMP_CMAKE_BOOL= USE_OPENMP +OPENMP_LIB_DEPENDS= libomp.so:devel/openmp + +C_API_DESC= Build the C API library +C_API_CMAKE_BOOL= WITH_C_API + +.include Added: head/math/dbcsr/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/dbcsr/distinfo Wed Oct 31 21:49:24 2018 (r483620) @@ -0,0 +1,3 @@ +TIMESTAMP = 1541005905 +SHA256 (cp2k-dbcsr-v1.0.0-rc.0-40-gd9c0dd54_GH0.tar.gz) = 31ce9b790f3339c82a49993e0a8f483ccb1fac473e01a2694a44c8f0aeadd3d0 +SIZE (cp2k-dbcsr-v1.0.0-rc.0-40-gd9c0dd54_GH0.tar.gz) = 764223 Added: head/math/dbcsr/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/dbcsr/pkg-descr Wed Oct 31 21:49:24 2018 (r483620) @@ -0,0 +1,13 @@ +libDBCSR (or DBCSR for short) is a sparse matrix library designed to efficiently +perform sparse matrix matrix multiplication, among other operations. It is MPI +and OpenMP parallel, and can exploit accelerators. It is developed as part of +CP2K , where it provides core functionality for linear scaling electronic +structure theory. A general overview of the library has been published. +A discussion of recent developments, in particular GPU work, has appeared as a +chapter in 'Electronic Structure Calculations on Graphics Processing Units', +John Wiley and Sons, ISBN 9781118661789, and is available as a preprint. The use +of one-sided MPI and a 2.5D algorithm to reduce communication is shown to be +effective for sparse matrix matrix multiplication in this manuscript. libDBCSR +is made available for integration in other projects, see the github webpage. + +WWW: https://www.cp2k.org/dbcsr Added: head/math/dbcsr/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/dbcsr/pkg-plist Wed Oct 31 21:49:24 2018 (r483620) @@ -0,0 +1,8 @@ +%%C_API%%include/dbcsr.h +include/dbcsr_api.mod +%%C_API%%lib/dbcsr/DBCSRCTargets-%%CMAKE_BUILD_TYPE%%.cmake +%%C_API%%lib/dbcsr/DBCSRCTargets.cmake +lib/dbcsr/DBCSRTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/dbcsr/DBCSRTargets.cmake +lib/libdbcsr.so +%%C_API%%lib/libdbcsr_c.so