Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Dec 2018 07:34:05 +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: r487559 - in head/math: . combblas combblas/files
Message-ID:  <201812160734.wBG7Y5rL089944@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sun Dec 16 07:34:05 2018
New Revision: 487559
URL: https://svnweb.freebsd.org/changeset/ports/487559

Log:
  New port: math/combblas: Combinatorial BLAS library: an extensible parallel graph library

Added:
  head/math/combblas/
  head/math/combblas/Makefile   (contents, props changed)
  head/math/combblas/distinfo   (contents, props changed)
  head/math/combblas/files/
  head/math/combblas/files/patch-include_CombBLAS_PBBS_utils.h   (contents, props changed)
  head/math/combblas/files/patch-include_CombBLAS_mmio.h   (contents, props changed)
  head/math/combblas/pkg-descr   (contents, props changed)
  head/math/combblas/pkg-plist   (contents, props changed)
Modified:
  head/math/Makefile

Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile	Sun Dec 16 06:27:36 2018	(r487558)
+++ head/math/Makefile	Sun Dec 16 07:34:05 2018	(r487559)
@@ -175,6 +175,7 @@
     SUBDIR += coin-or-data-stochastic
     SUBDIR += coinmp
     SUBDIR += coinutils
+    SUBDIR += combblas
     SUBDIR += concorde
     SUBDIR += convertall
     SUBDIR += coq

Added: head/math/combblas/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/combblas/Makefile	Sun Dec 16 07:34:05 2018	(r487559)
@@ -0,0 +1,33 @@
+# $FreeBSD$
+
+PORTNAME=	CombBLAS
+DISTVERSION=	1.6.2
+CATEGORIES=	math
+MASTER_SITES=	https://people.eecs.berkeley.edu/~aydin/${PORTNAME}_FILES/
+DISTNAME=	${PORTNAME}_beta_${DISTVERSION:S/.//:S/./_/}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Combinatorial BLAS library: an extensible parallel graph library
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	libmpi.so:net/mpich
+RUN_DEPENDS=	${LOCALBASE}/lib/gcc${GCC_DEFAULT}/libgcc_s.so.1:lang/gcc${GCC_DEFAULT} # because of the link flags induced by mpich
+
+USES=		cmake:outsource localbase:ldflags tar:tgz
+USE_LDCONFIG=	yes
+
+CMAKE_ON=	BUILD_SHARED_LIBS
+LDFLAGS+=	${LOCALBASE}/llvm${LLVM_DEFAULT}/lib/libomp.so
+
+# use clang from ports because cmake can't find OpenMP with base clang, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223678
+BUILD_DEPENDS+=	clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT}
+CPP=		clang-cpp${LLVM_DEFAULT}
+CC=		clang${LLVM_DEFAULT}
+CXX=		clang++${LLVM_DEFAULT}
+
+post-extract:
+	@cd ${WRKSRC}/include && ${RM} .DS_Store ._.DS_Store CombBLAS/._CombBLAS.h
+
+.include <bsd.port.mk>

Added: head/math/combblas/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/combblas/distinfo	Sun Dec 16 07:34:05 2018	(r487559)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1544940787
+SHA256 (CombBLAS_beta_16_2.tgz) = 2a35c725606f18d010c110c66814b6558dae26f6807ac01c843c788fdb5b3ca9
+SIZE (CombBLAS_beta_16_2.tgz) = 1555398

Added: head/math/combblas/files/patch-include_CombBLAS_PBBS_utils.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/combblas/files/patch-include_CombBLAS_PBBS_utils.h	Sun Dec 16 07:34:05 2018	(r487559)
@@ -0,0 +1,11 @@
+--- include/CombBLAS/PBBS/utils.h.orig	2018-12-16 06:18:22 UTC
++++ include/CombBLAS/PBBS/utils.h
+@@ -26,7 +26,7 @@
+ #include <algorithm>
+ #include <limits.h>
+ 
+-#if defined(__APPLE__)
++#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__)
+ #define PTCMPXCH "  cmpxchgl %2,%1\n"
+ #else
+ #define PTCMPXCH "  cmpxchgq %2,%1\n"

Added: head/math/combblas/files/patch-include_CombBLAS_mmio.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/combblas/files/patch-include_CombBLAS_mmio.h	Sun Dec 16 07:34:05 2018	(r487559)
@@ -0,0 +1,11 @@
+--- include/CombBLAS/mmio.h.orig	2018-12-16 06:16:28 UTC
++++ include/CombBLAS/mmio.h
+@@ -13,6 +13,8 @@
+ #define MatrixMarketBanner "%%MatrixMarket"
+ #define MM_MAX_TOKEN_LENGTH 64
+ 
++#include <sys/types.h>
++
+ typedef char MM_typecode[4];
+ 
+ char *mm_typecode_to_str(MM_typecode matcode);

Added: head/math/combblas/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/combblas/pkg-descr	Sun Dec 16 07:34:05 2018	(r487559)
@@ -0,0 +1,12 @@
+The Combinatorial BLAS (CombBLAS) is an extensible distributed-memory parallel
+graph library offering a small but powerful set of linear algebra primitives
+specifically targeting graph analytics.
+
+* The Combinatorial BLAS development influences the Graph BLAS standardization
+  process.
+* CombBLAS achieves scalability via its two dimensional distribution and
+  coarse-grained parallelism.
+* CombBLAS powers HipMCL, a highly-scalable parallel implementation of the
+  Markov Cluster Algorithm (MCL).
+
+WWW: https://people.eecs.berkeley.edu/~aydin/CombBLAS/html/

Added: head/math/combblas/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/combblas/pkg-plist	Sun Dec 16 07:34:05 2018	(r487559)
@@ -0,0 +1,130 @@
+include/CombBLAS/BFSFriends.h
+include/CombBLAS/BitMap.h
+include/CombBLAS/BitMapCarousel.h
+include/CombBLAS/BitMapFringe.h
+include/CombBLAS/CombBLAS.h
+include/CombBLAS/CommGrid.h
+include/CombBLAS/Compare.h
+include/CombBLAS/Deleter.h
+include/CombBLAS/DenseParMat.cpp
+include/CombBLAS/DenseParMat.h
+include/CombBLAS/DistEdgeList.cpp
+include/CombBLAS/DistEdgeList.h
+include/CombBLAS/Exception.h
+include/CombBLAS/FileHeader.h
+include/CombBLAS/Friends.h
+include/CombBLAS/FullyDist.h
+include/CombBLAS/FullyDistSpVec.cpp
+include/CombBLAS/FullyDistSpVec.h
+include/CombBLAS/FullyDistVec.cpp
+include/CombBLAS/FullyDistVec.h
+include/CombBLAS/HeapEntry.h
+include/CombBLAS/Isect.h
+include/CombBLAS/LocArr.h
+include/CombBLAS/MMmul.h
+include/CombBLAS/MPIOp.h
+include/CombBLAS/MPIType.h
+include/CombBLAS/MemoryPool.h
+include/CombBLAS/MultiwayMerge.h
+include/CombBLAS/Operations.h
+include/CombBLAS/OptBuf.h
+include/CombBLAS/PBBS/radixSort.h
+include/CombBLAS/PBBS/utils.h
+include/CombBLAS/PBBS/utils.h.orig
+include/CombBLAS/ParFriends.h
+include/CombBLAS/ParFriendsExt.h
+include/CombBLAS/PreAllocatedSPA.h
+include/CombBLAS/RefGen21.h
+include/CombBLAS/SemanticGraph.h
+include/CombBLAS/Semirings.h
+include/CombBLAS/SequenceHeaps/heap-CLR.h
+include/CombBLAS/SequenceHeaps/heap2.h
+include/CombBLAS/SequenceHeaps/heap4.h
+include/CombBLAS/SequenceHeaps/hold.C
+include/CombBLAS/SequenceHeaps/knheap.C
+include/CombBLAS/SequenceHeaps/knheap.h
+include/CombBLAS/SequenceHeaps/knupdown3.C
+include/CombBLAS/SequenceHeaps/knwiggle.C
+include/CombBLAS/SequenceHeaps/multiMergeUnrolled.C
+include/CombBLAS/SequenceHeaps/util.h
+include/CombBLAS/SpCCols.cpp
+include/CombBLAS/SpCCols.h
+include/CombBLAS/SpDCCols.cpp
+include/CombBLAS/SpDCCols.h
+include/CombBLAS/SpDefs.h
+include/CombBLAS/SpHelper.h
+include/CombBLAS/SpImpl.cpp
+include/CombBLAS/SpImpl.h
+include/CombBLAS/SpMat.cpp
+include/CombBLAS/SpMat.h
+include/CombBLAS/SpParHelper.cpp
+include/CombBLAS/SpParHelper.h
+include/CombBLAS/SpParMat.cpp
+include/CombBLAS/SpParMat.h
+include/CombBLAS/SpTuples.cpp
+include/CombBLAS/SpTuples.h
+include/CombBLAS/StackEntry.h
+include/CombBLAS/ThreadedFriends.h
+include/CombBLAS/VecIterator.cpp
+include/CombBLAS/VecIterator.h
+include/CombBLAS/csc.cpp
+include/CombBLAS/csc.h
+include/CombBLAS/dcsc.cpp
+include/CombBLAS/dcsc.h
+include/CombBLAS/hash.hpp
+include/CombBLAS/mmio.h
+include/CombBLAS/mmio.h.orig
+include/CombBLAS/mtSpGEMM.h
+include/CombBLAS/myenableif.h
+include/CombBLAS/papi_combblas_globals.h
+include/CombBLAS/promote.h
+include/Tommy/tommychain.h
+include/Tommy/tommyhash.c
+include/Tommy/tommyhash.h
+include/Tommy/tommyhashdyn.c
+include/Tommy/tommyhashdyn.h
+include/Tommy/tommylist.c
+include/Tommy/tommylist.h
+include/Tommy/tommytypes.h
+include/graph500/generator/apply_permutation_mpi.h
+include/graph500/generator/btrd_binomial_distribution.h
+include/graph500/generator/graph_generator.h
+include/graph500/generator/make_graph.h
+include/graph500/generator/mod_arith.h
+include/graph500/generator/mod_arith_32bit.h
+include/graph500/generator/mod_arith_64bit.h
+include/graph500/generator/mod_arith_xmt.h
+include/graph500/generator/permutation_gen.h
+include/graph500/generator/scramble_edges.h
+include/graph500/generator/splittable_mrg.h
+include/graph500/generator/utils.h
+include/psort/MersenneTwister.h
+include/psort/funnel.h
+include/psort/funnel.timpl.h
+include/psort/psort.h
+include/psort/psort_alltoall.h
+include/psort/psort_merge.h
+include/psort/psort_samplesort.h
+include/psort/psort_seqsort.h
+include/psort/psort_splitters.h
+include/psort/psort_util.h
+include/psort/sort.h
+include/psort/sort.timpl.h
+include/usort/binUtils.h
+include/usort/dtypes.h
+include/usort/indexHolder.h
+include/usort/ompUtils.h
+include/usort/ompUtils.tcc
+include/usort/parUtils.h
+include/usort/parUtils.tcc
+include/usort/seqUtils.h
+include/usort/seqUtils.tcc
+include/usort/sort_profiler.h
+lib/cmake/CombBLAS/CombBLASConfig.cmake
+lib/cmake/CombBLAS/CombBLASConfigVersion.cmake
+lib/cmake/CombBLAS/CombBLASTargets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/CombBLAS/CombBLASTargets.cmake
+lib/libCombBLAS.so
+lib/libCombBLAS.so.1.16.0
+lib/libGraphGenlib.so
+lib/libUsortlib.so



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812160734.wBG7Y5rL089944>