Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jul 2006 22:33:50 +0200 (CEST)
From:      Thierry Thomas <thierry@pompo.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Eoin Lawless <eoin@maths.tcd.ie>
Subject:   ports/100729: math/parmetis: change dependence to net/mpich2.
Message-ID:  <20060722203350.96A3B1145B@graf.pompo.net>
Resent-Message-ID: <200607222040.k6MKeFKX006918@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         100729
>Category:       ports
>Synopsis:       math/parmetis: change dependence to net/mpich2.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 22 20:40:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Thierry Thomas
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
Kabbale Eros
>Environment:
System: FreeBSD graf.pompo.net 6.1-STABLE FreeBSD 6.1-STABLE #0: Tue Jun 27 06:04:37 CEST 2006 thierry@graf.pompo.net:/usr/obj/usr/src/sys/GRAF060511 i386


	
>Description:
        I am changing the dependence of math/petsc-mpich from net/mpich
        to net/mpich2. In the same time, I'd like apply the same update
        to the other dependences (math/spooles-mpich, math/parmetis and
        math/blocksolve95).

        We could add a knob to let the user choose between MPICH-1 and
        MPICH-2, but since MPICH-2 is "the way to go", it seems unuseful.

>How-To-Repeat:
	N/A.

>Fix:
	Please apply the following patch:

--- parmetis.diff begins here ---
diff -urN math/parmetis.orig/Makefile math/parmetis/Makefile
--- math/parmetis.orig/Makefile	Wed Apr  5 13:48:11 2006
+++ math/parmetis/Makefile	Sat Jul 22 15:22:49 2006
@@ -7,15 +7,15 @@
 
 PORTNAME=	ParMetis
 PORTVERSION=	3.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	math parallel
 MASTER_SITES=	http://glaros.dtc.umn.edu/gkhome/fetch/sw/parmetis/
 
 MAINTAINER=	eoin@maths.tcd.ie
 COMMENT=	A package for parallel (mpi) unstructured graph partitioning
 
-RUN_DEPENDS=	$(PREFIX)/mpich/bin/mpirun:${PORTSDIR}/net/mpich
-BUILD_DEPENDS=	$(PREFIX)/mpich/bin/mpicc:${PORTSDIR}/net/mpich
+RUN_DEPENDS=	${LOCALBASE}/mpich2/bin/mpirun:${PORTSDIR}/net/mpich2
+BUILD_DEPENDS=	${LOCALBASE}/mpich2/bin/mpicc:${PORTSDIR}/net/mpich2
 
 ALL_TARGET=
 
diff -urN math/parmetis.orig/files/patch-ab math/parmetis/files/patch-ab
--- math/parmetis.orig/files/patch-ab	Sat Sep 21 08:41:01 2002
+++ math/parmetis/files/patch-ab	Sat Jul 22 15:24:48 2006
@@ -4,7 +4,7 @@
  
  # Which compiler to use
 -CC = mpicc
-+CC = ${PREFIX}/mpich/bin/mpicc
++CC = ${LOCALBASE}/mpich2/bin/mpicc
  
  
  # What optimization level to use
@@ -13,7 +13,7 @@
  
  # Which loader to use
 -LD = mpicc
-+LD = ${PREFIX}/mpich/bin/mpicc
++LD = ${LOCALBASE}/mpich2/bin/mpicc
  
  # In which directories to look for any additional libraries
  LIBDIR = 
--- parmetis.diff ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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