summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-06-09 01:47:33 +0000
committerSteve Price <steve@FreeBSD.org>1999-06-09 01:47:33 +0000
commitd6b3478d77cb9689f575215523c31cd670445d0f (patch)
tree412a63b0d90e90966dcedd072bdbe869696a5a3c /math
parentAdd the fcgi, squirm, and thttpd ports. (diff)
Initial import of ParMetis version 2.0.
A package for parallel (mpi) unstructured graph partitioning. PR: 11783 Submitted by: Eoin Lawless <eoin@maths.tcd.ie>
Notes
Notes: svn path=/head/; revision=19366
Diffstat (limited to 'math')
-rw-r--r--math/parmetis/Makefile31
-rw-r--r--math/parmetis/distinfo1
-rw-r--r--math/parmetis/files/patch-aa10
-rw-r--r--math/parmetis/files/patch-ab19
-rw-r--r--math/parmetis/pkg-comment1
-rw-r--r--math/parmetis/pkg-descr9
-rw-r--r--math/parmetis/pkg-plist6
7 files changed, 77 insertions, 0 deletions
diff --git a/math/parmetis/Makefile b/math/parmetis/Makefile
new file mode 100644
index 000000000000..2a509add61fc
--- /dev/null
+++ b/math/parmetis/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: ParMETIS
+# Version required: 2.0
+# Date created: 19 May 99
+# Whom: Eoin Lawless (eoin@maths.tcd.ie)
+#
+# $Id$
+#
+
+DISTNAME= ParMetis-2.0
+CATEGORIES= math
+MASTER_SITES= http://www-users.cs.umn.edu/~karypis/metis/parmetis/files/
+
+MAINTAINER= eoin@maths.tcd.ie
+
+RUN_DEPENDS= $(PREFIX)/mpich/bin/mpirun:${PORTSDIR}/net/mpich
+BUILD_DEPENDS= $(PREFIX)/mpich/bin/mpicc:${PORTSDIR}/net/mpich
+
+ALL_TARGET=
+
+do-install:
+ ${MKDIR} $(PREFIX)/lib/parmetis
+ $(INSTALL_DATA) $(WRKSRC)/libmetis.a $(PREFIX)/lib/parmetis
+ $(INSTALL_DATA) $(WRKSRC)/libparmetis.a $(PREFIX)/lib/parmetis
+ ${MKDIR} $(PREFIX)/include/parmetis
+ $(INSTALL_DATA) $(WRKSRC)/parmetis.h $(PREFIX)/include/parmetis
+.if !defined(NOPORTDOCS)
+ ${MKDIR} $(PREFIX)/share/doc/ParMETIS
+ $(INSTALL_DATA) ${WRKSRC}/Doc/manual.ps $(PREFIX)/share/doc/ParMETIS
+.endif
+
+.include <bsd.port.mk>
diff --git a/math/parmetis/distinfo b/math/parmetis/distinfo
new file mode 100644
index 000000000000..65d0ac8df9e8
--- /dev/null
+++ b/math/parmetis/distinfo
@@ -0,0 +1 @@
+MD5 (ParMetis-2.0.tar.gz) = 18bc0ce30a2157c3ac97fc3220fd9720
diff --git a/math/parmetis/files/patch-aa b/math/parmetis/files/patch-aa
new file mode 100644
index 000000000000..fd0d3e59f1ff
--- /dev/null
+++ b/math/parmetis/files/patch-aa
@@ -0,0 +1,10 @@
+--- ParMETISLib/parmetis.h.orig Wed May 19 17:32:56 1999
++++ ParMETISLib/parmetis.h Wed May 19 17:33:05 1999
+@@ -14,7 +14,6 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
+-#include <malloc.h>
+ #include <strings.h>
+ #include <string.h>
+ #include <ctype.h>
diff --git a/math/parmetis/files/patch-ab b/math/parmetis/files/patch-ab
new file mode 100644
index 000000000000..e5384562b847
--- /dev/null
+++ b/math/parmetis/files/patch-ab
@@ -0,0 +1,19 @@
+--- Makefile.in.orig Tue Jun 8 02:31:34 1999
++++ Makefile.in Tue Jun 8 02:32:10 1999
+@@ -1,6 +1,6 @@
+
+ # Which compiler to use
+-CC = mpicc
++CC = ${PREFIX}/mpich/bin/mpicc
+
+
+ # What optimization level to use
+@@ -13,7 +13,7 @@
+ COPTIONS =
+
+ # Which loader to use
+-LD = mpicc
++LD = ${PREFIX}/mpich/bin/mpicc
+
+ # In which directories to look for any additional libraries
+ LIBDIR =
diff --git a/math/parmetis/pkg-comment b/math/parmetis/pkg-comment
new file mode 100644
index 000000000000..2b75c0f1138d
--- /dev/null
+++ b/math/parmetis/pkg-comment
@@ -0,0 +1 @@
+A package for parallel (mpi) unstructured graph partitioning.
diff --git a/math/parmetis/pkg-descr b/math/parmetis/pkg-descr
new file mode 100644
index 000000000000..8c4ec46332f7
--- /dev/null
+++ b/math/parmetis/pkg-descr
@@ -0,0 +1,9 @@
+ParMETIS is an MPI-based parallel library that implements a variety
+of algorithms for partitioning unstructured graphs and for computing
+fill-reducing orderings of sparse matrices. ParMETIS extends the
+functionality provided by METIS and includes routines that are
+especially suited for parallel AMR computations and large scale
+numerical simulations. The algorithms implemented in ParMETIS are
+based on the parallel multilevel k-way graph-partitioning algorithms
+described in [KK95d], [KK96], [KK97], and the adaptive repartitioning
+algorithms described in [SKK97a], [SKK97b], [SK+98], and [SKK98].
diff --git a/math/parmetis/pkg-plist b/math/parmetis/pkg-plist
new file mode 100644
index 000000000000..36c44ae036d1
--- /dev/null
+++ b/math/parmetis/pkg-plist
@@ -0,0 +1,6 @@
+include/parmetis/parmetis.h
+lib/parmetis/libmetis.a
+lib/parmetis/libparmetis.a
+share/doc/ParMETIS/manual.ps
+@dirrm lib/parmetis
+@dirrm share/doc/ParMETIS