source: trunk/dports/science/mpich2/Portfile @ 47155

Last change on this file since 47155 was 47155, checked in by blb@…, 12 years ago

science/mpich2 - version update to 1.0.8; switch to python 2.5 (and make
sure it sees the right python); add descriptions to variants; remove romio
variant since that's the default anyway; add gfortran variant to use gcc43
(ticket #14346)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 KB
Line 
1# $Id: Portfile 47155 2009-02-23 01:32:34Z blb@macports.org $
2
3PortSystem          1.0
4name                mpich2
5version             1.0.8
6categories          science parallel net
7platforms           darwin
8maintainers         nomaintainer
9description         Message Passing Interface (MPI) Library
10long_description \
11   MPICH2 is an implementation of the Message-Passing Interface (MPI). The \
12   goals of MPICH2 are to provide an MPI implementation for important \
13   platforms, including clusters, SMPs, and massively parallel processors. \
14   It also provides a vehicle for MPI implementation research and for \
15   developing new and better parallel programming environments.
16
17homepage            http://www-unix.mcs.anl.gov/mpi/mpich2/
18master_sites        http://www.mcs.anl.gov/research/projects/mpich2/downloads/tarballs/${version}/
19checksums           md5     d9dfb6e38d7ca6f8ad92a191a413ee57 \
20                    sha1    41d6f6ce1034ecec5c14fb03592730ae2dd071e5 \
21                    rmd160  646cf50fbdc60a49809f4d0a6bcaf2835844db1f
22patchfiles          patch-Makefile.in patch-src-util-createshlib.in
23
24depends_lib         port:python25
25
26# the default include-dir conflicts with openmpi!
27configure.args      --with-thread-package=posix \
28                    --enable-timer-type=gettimeofday \
29                    --enable-cxx \
30                    --mandir=${prefix}/share/man \
31                    --with-htmldir=${prefix}/share/doc/${name} \
32                    --includedir=${prefix}/include/${name} \
33                    --with-docdir=${prefix}/share/doc/${name} \
34                    --with-python=${prefix}/bin/python2.5 \
35                    --disable-f77 --disable-f90
36
37variant g95 description {Enable Fortran 77 and Fortran 90 bindings using g95} conflicts gfortran {
38   depends_lib-append      port:g95
39   configure.f77           "${prefix}/bin/g95"
40   configure.fflags        "-i4"
41   configure.f90           "${prefix}/bin/g95"
42   configure.f90flags      "-i4"
43   configure.args-append   --enable-f77 --enable-f90
44}
45
46variant gfortran description {Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc43} conflicts g95 {
47   depends_lib-append   port:gcc43
48   configure.f77        "${prefix}/bin/gfortran-mp-4.3"
49   configure.f90        "${prefix}/bin/gfortran-mp-4.3"
50   configure.args-append   --enable-f77 --enable-f90
51}
52
53variant gforker description {Use gforker process manager instead of the default mpd} {
54   configure.args-append   --with-pm=gforker
55}
56
57platform darwin {
58   configure.args-append   --enable-sharedlibs=osx-gcc
59}
60
Note: See TracBrowser for help on using the repository browser.