[99714] trunk/dports/science

eborisch at macports.org eborisch at macports.org
Wed Nov 14 12:54:56 PST 2012


Revision: 99714
          https://trac.macports.org/changeset/99714
Author:   eborisch at macports.org
Date:     2012-11-14 12:54:56 -0800 (Wed, 14 Nov 2012)
Log Message:
-----------
mpich3 (mpich 3.0): new port

Modified Paths:
--------------
    trunk/dports/science/mpich3/Portfile

Added Paths:
-----------
    trunk/dports/science/mpich3/

Modified: trunk/dports/science/mpich3/Portfile
===================================================================
--- trunk/dports/science/mpich2/Portfile	2012-11-13 14:12:38 UTC (rev 99656)
+++ trunk/dports/science/mpich3/Portfile	2012-11-14 20:54:56 UTC (rev 99714)
@@ -3,11 +3,10 @@
 
 PortSystem          1.0
 
-name                mpich2
-set pkgname         mpich2
-version             1.5
-revision            4
-epoch               20121008 
+name                mpich3
+set pkgname         mpich
+version             3.0rc1
+revision            0
 
 license             BSD
 categories          science parallel net
@@ -17,27 +16,40 @@
 
 description         Message Passing Interface (MPI) Library
 
-long_description    MPICH2 is an implementation of the Message-Passing \
-                    Interface (MPI). The goals of MPICH2 are to provide an \
-                    MPI implementation for important platforms, including \
-                    clusters, SMPs, and massively parallel processors. It \
-                    also provides a vehicle for MPI implementation research \
-                    and for developing new and better parallel programming \
-                    environments.
-
-homepage            http://www.mcs.anl.gov/research/projects/mpich2/
-master_sites        ${homepage}downloads/tarballs/${version}/
+long_description    MPICH is a high-performance and widely portable\
+                    implementation of the Message Passing Interface (MPI) \
+                    standard (MPI-1, MPI-2 and MPI-3). The goals of MPICH are:\
+                    (1) to provide an MPI implementation that efficiently\
+                    supports different computation and communication platforms\
+                    including commodity clusters (desktop systems,\
+                    shared-memory systems, multicore architectures), high-speed\
+                    networks (10 Gigabit Ethernet, InfiniBand, Myrinet,\
+                    Quadrics) and proprietary high-end computing systems (Blue\
+                    Gene, Cray) and (2) to enable cutting-edge research in MPI\
+                    through an easy-to-extend modular framework for other\
+                    derived implementations. \
+                    \n\n\
+                    The mpich3 port follows the mpich 3.x line, and is the\
+                    successor to the mpich2 package. Starting with the major\
+                    release in November 2012, the project is renamed back to\
+                    MPICH (from MPICH2) with a version number of 3.0. 
+homepage            http://www.mpich.org/
+master_sites        ${homepage}files/tarballs/${version}/
 distname            ${pkgname}-${version}
 
 checksums   \
-    rmd160  69572f5c435aec1ef37af197f7509cfc073ce53a \
-    sha256  7175926fc2e4230f00201e880318c08de4f949c0dbe167fe1b2e256ac79d5f66
+    rmd160  f351263b455db2503f675ba5a8c11560098eecd2 \
+    sha256  5ff2599c0132b6ce9246925a790fa00a0a648c3049d858ade102512be509fe5f
 
-subport mpich2-devel {
-# Currently mpich2-devel == mpich2 
-    conflicts           mpich2
+# Enable at some point in the future as needed
+subport mpich3-devel {
+# Currently mpich3-devel == mpich3
+    conflicts           mpich3
 }
 
+conflicts-append    mpich2 \
+                    mpich2-devel
+
 universal_variant   no
 
 depends_lib-append  port:libxml2
@@ -55,11 +67,10 @@
                     --enable-smpcoll \
                     --includedir=${prefix}/include/${pkgname} \
                     --with-device=ch3:nemesis \
-                    --with-mpe \
                     --with-pm=hydra \
                     --with-thread-package=posix \
                     "F90FLAGS='' F90=''" \
-                    MPICH2LIB_CPPFLAGS=-I${prefix}/include
+                    MPICHLIB_CPPFLAGS=-I${prefix}/include
 
 platform darwin {
     configure.args-append   --enable-timer-type=mach_absolute_time
@@ -73,19 +84,6 @@
 configure.fcflags-delete    -O2
 configure.cppflags-delete   -I${prefix}/include
 
-post-destroot {
-    # Move examples directories to preferred location
-    move ${destroot}${prefix}/share/examples \
-      ${destroot}${prefix}/share/doc/${pkgname}/examples
-
-    # Remove un-needed (in MacPorts) binaries
-    file delete ${destroot}${prefix}/sbin/mpeuninstall
-    file delete ${destroot}${prefix}/sbin/mpecheckinstall
-
-    # That's what man pages are for
-    delete ${destroot}${prefix}/share/doc/www4
-}
-
 # As MPICH creates compiler wrappers, there are lots of
 # variants for what compiler the user would like to wrap.
 
@@ -179,7 +177,7 @@
 variant tuned description {Build with more optimizations)} {
     configure.args-delete       --enable-fast=O2
     configure.args-append       --enable-fast=all \
-                                MPICH2LIB_CFLAGS='-fomit-frame-pointer -O2'
+                                MPICHLIB_CFLAGS='-fomit-frame-pointer -O2'
 }
 
 livecheck.type      regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121114/c3817121/attachment.html>


More information about the macports-changes mailing list