Date: Wed, 31 Oct 2018 21:49:25 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r483620 - in head/math: . dbcsr Message-ID: <201810312149.w9VLnPeF067303@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810312149.w9VLnPeF067303>