FreeBSD Bugzilla – Attachment 72863 Details for
Bug 105795
[PATCH] math/petsc: update to 2.3.2.p6
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
petsc-2.3.2.p6,1.patch
petsc-2.3.2.p6,1.patch (text/plain), 3.39 KB, created by
trasz
on 2006-11-23 17:40:10 UTC
(
hide
)
Description:
petsc-2.3.2.p6,1.patch
Filename:
MIME Type:
Creator:
trasz
Created:
2006-11-23 17:40:10 UTC
Size:
3.39 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/math/petsc/Makefile /home/trasz/petsc/Makefile >--- /usr/ports/math/petsc/Makefile Sat Sep 2 23:59:18 2006 >+++ /home/trasz/petsc/Makefile Thu Nov 23 18:31:03 2006 >@@ -6,7 +6,7 @@ > # > > PORTNAME= petsc >-DISTVERSION= 2.3.2-p0 >+DISTVERSION= 2.3.2-p6 > PORTEPOCH= 1 > CATEGORIES= math parallel > MASTER_SITES= ftp://ftp.mcs.anl.gov/pub/petsc/release-snapshots/ >@@ -64,6 +64,11 @@ > > .include <bsd.port.pre.mk> > >+.if exists(${LOCALBASE}/mpi/openmpi/bin/mpirun) >+WITH_OPENMPI= yes >+MPIDIR= ${LOCALBASE}/mpi/openmpi >+.endif >+ > .if ${ARCH} == "amd64" > WITHOUT_SUPERLU= yes > .endif >@@ -79,12 +84,26 @@ > .endif > .if defined(WITH_MPI) > . if exists(${LOCALBASE}/include/mpi.h) >-BROKEN= Cannot build with mpich when lam-7 is installed - set WITHOUT_MPI or deinstall net/lam >+BROKEN= Cannot build with MPI when lam-7 is installed - set WITHOUT_MPI or deinstall net/lam > . endif >+.if defined(WITH_OPENMPI) >+MPIDIR= ${LOCALBASE}/mpi/openmpi >+BUILD_DEPENDS+= ${MPIDIR}/lib/libmpi.so:${PORTSDIR}/net/openmpi >+RUN_DEPENDS+= ${MPIDIR}/lib/libmpi.so:${PORTSDIR}/net/openmpi >+PKGNAMESUFFIX+= -openmpi >+MAKE_ENV+= PATH=${MPIDIR}/bin:${PATH} >+# math/blocksolve95 does not pass regression test when compiled with OpenMPI. >+WITHOUT_BS95= yes >+WITHOUT_SPOOLES= yes >+WITHOUT_PARMETIS= yes >+CONFIGURE_ARGS+= --with-cc=${MPIDIR}/bin/mpicc --with-fc=${MPIDIR}/bin/mpif77 >+.else >+BUILD_DEPENDS+= ${LOCALBASE}/mpich2/bin/mpicc:${PORTSDIR}/net/mpich2 >+RUN_DEPENDS+= ${LOCALBASE}/mpich2/bin/mpirun:${PORTSDIR}/net/mpich2 > PKGNAMESUFFIX+= -mpich >-BUILD_DEPENDS+= ${MPIDIR}/bin/mpicc:${PORTSDIR}/net/mpich2 >-RUN_DEPENDS+= ${MPIDIR}/bin/mpirun:${PORTSDIR}/net/mpich2 >-CONFIGURE_ARGS+= --with-mpi-dir=${LOCALBASE}/mpich2 >+.endif >+ >+CONFIGURE_ARGS+= --with-mpi-dir=${MPIDIR} > CONFLICTS= petsc-2* > PLIST_SUB+= MPIUNI="@comment " > .else >@@ -198,10 +217,10 @@ > pre-everything:: > @${ECHO_MSG} > .if !defined (WITH_MPI) >- @${ECHO_MSG} "Define WITH_MPI to use mpich." >+ @${ECHO_MSG} "Define WITH_MPI to use MPI." > @${ECHO_MSG} "Note: this is not compatible with Python bindings!" > .elif !defined (WITHOUT_MPI) >- @${ECHO_MSG} "Define WITHOUT_MPI to not use mpich." >+ @${ECHO_MSG} "Define WITHOUT_MPI to not use MPI." > .endif > .if !defined (WITH_SVN) > @${ECHO_MSG} "Define WITH_SVN to use subversion." >@@ -261,7 +280,7 @@ > > .if defined(MAINTAINER_MODE) > regression-test: >-. if defined (WITH_MPI) >+. if defined (WITH_MPI) && !defined(WITH_OPENMPI) > . if !exists(${HOME}/.mpd.conf) > @${ECHO_CMD} "MPD_SECRETWORD=change_on_install" > ${HOME}/.mpd.conf > ${CHMOD} go-r ${HOME}/.mpd.conf >@@ -271,7 +290,7 @@ > . endif > @(cd ${BUILD_WRKSRC}; \ > ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test) >-. if defined (WITH_MPI) >+. if defined (WITH_MPI) && !defined(WITH_OPENMPI) > ${LOCALBASE}/mpich2/bin/mpdallexit > . endif > .endif >diff -ruN --exclude=CVS /usr/ports/math/petsc/distinfo /home/trasz/petsc/distinfo >--- /usr/ports/math/petsc/distinfo Sat Sep 2 23:59:18 2006 >+++ /home/trasz/petsc/distinfo Thu Nov 23 18:31:04 2006 >@@ -1,3 +1,3 @@ >-MD5 (petsc-2.3.2-p0.tar.gz) = 3cec21fb34e17d22b5c887ddb9f80f33 >-SHA256 (petsc-2.3.2-p0.tar.gz) = 1b4e778a2a0fd681056fbf31efb8b74a07f141644dd9e87a2644539023f5fbcf >-SIZE (petsc-2.3.2-p0.tar.gz) = 10716948 >+MD5 (petsc-2.3.2-p6.tar.gz) = 708e45215501278a5c5ad1dd7711a16c >+SHA256 (petsc-2.3.2-p6.tar.gz) = 4c9aa232499efae58633d1f753c4f361726fe46c6eb1e3840d78b38ce8248563 >+SIZE (petsc-2.3.2-p6.tar.gz) = 10837543
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 105795
: 72863