freebsd-ports/math/chaco/Makefile
Thierry Thomas 79effcf930 Before a calculation can be performed on a parallel computer, it must first be
decomposed into tasks which are assigned to different processors. Efficient use
of the machine requires that each processor have about the same amount of work
to do and that the quantity of interprocessor communication is kept small.
Finding an optimal decomposition is provably hard, but due to its practical
importance, a great deal of effort has been devoted to developing heuristics
for this problem.
The decomposition problem can be addressed in terms of graph partitioning. Rob
Leland and I have developed a variety of algorithms for graph partitioning and
implemented them into a package we call Chaco. The code is being used at most
of the major parallel computing centers around the world to simplify the
development of parallel applications, and to ensure that high performance is
obtained. Chaco has contributed to a wide variety of computational studies
including investigation of the molecular structure of liquid crystals,
evaluating the design of a chemical vapor deposition reactor and modeling
automobile collisions.

WWW:	 http://www.cs.sandia.gov/~bahendr/chaco.html

Note: this port includes a patch provided by Walter Landry for use within MBDyn

PR:		ports/96699
Submitted by:	Pedro Giffuni <giffunip (at) asme.org>
2006-05-03 21:10:26 +00:00

39 lines
1.0 KiB
Makefile

# New ports collection makefile for: Chaco
# Date created: 26 April 2006
# Whom: Pedro Giffuni <giffunip@asme.org>
#
# $FreeBSD$
#
PORTNAME= chaco
PORTVERSION= 2.2
CATEGORIES= math
MASTER_SITES= http://www.cs.sandia.gov/downloads/papers/bahendr/ \
http://bsd1.csme.ru/myports/ \
http://bsd2.csme.ru/myports/ \
http://bsd3.csme.ru/myports/
DISTNAME= Chaco-${PORTVERSION}
MAINTAINER= giffunip@asme.org
COMMENT= Software for Partitioning Graphs
WRKSRC= ${WRKDIR}/${DISTNAME}/code
ALL_TARGET=
do-configure:
@${REINPLACE_CMD} -e 's+@CFLAGS@+${CFLAGS}+g' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME}/exec/chaco ${PREFIX}/bin
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/exec/libchaco.a ${PREFIX}/lib
.ifndef NOPORTDOCS
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/*.ps ${DOCSDIR}
${GZIP_CMD} ${DOCSDIR}/*.ps
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/exec/*.graph ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/exec/*.coords ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>