1 | # $Id: Portfile 57273 2009-09-08 15:00:42Z macsforever2000@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name mpich2 |
---|
5 | version 1.0.8 |
---|
6 | categories science parallel net |
---|
7 | platforms darwin |
---|
8 | maintainers nomaintainer |
---|
9 | description Message Passing Interface (MPI) Library |
---|
10 | long_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 | |
---|
17 | homepage http://www-unix.mcs.anl.gov/mpi/mpich2/ |
---|
18 | master_sites http://www.mcs.anl.gov/research/projects/mpich2/downloads/tarballs/${version}/ |
---|
19 | checksums md5 d9dfb6e38d7ca6f8ad92a191a413ee57 \ |
---|
20 | sha1 41d6f6ce1034ecec5c14fb03592730ae2dd071e5 \ |
---|
21 | rmd160 646cf50fbdc60a49809f4d0a6bcaf2835844db1f |
---|
22 | patchfiles patch-Makefile.in patch-src-util-createshlib.in |
---|
23 | |
---|
24 | depends_lib port:python25 |
---|
25 | |
---|
26 | # the default include-dir conflicts with openmpi! |
---|
27 | configure.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 | |
---|
37 | use_parallel_build no |
---|
38 | |
---|
39 | variant g95 description {Enable Fortran 77 and Fortran 90 bindings using g95} conflicts gfortran { |
---|
40 | depends_lib-append port:g95 |
---|
41 | configure.f77 "${prefix}/bin/g95" |
---|
42 | configure.fflags "-i4" |
---|
43 | configure.f90 "${prefix}/bin/g95" |
---|
44 | configure.f90flags "-i4" |
---|
45 | configure.args-append --enable-f77 --enable-f90 |
---|
46 | } |
---|
47 | |
---|
48 | variant gfortran description {Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc43} conflicts g95 { |
---|
49 | depends_lib-append port:gcc43 |
---|
50 | configure.f77 "${prefix}/bin/gfortran-mp-4.3" |
---|
51 | configure.f90 "${prefix}/bin/gfortran-mp-4.3" |
---|
52 | configure.args-append --enable-f77 --enable-f90 |
---|
53 | } |
---|
54 | |
---|
55 | variant gforker description {Use gforker process manager instead of the default mpd} { |
---|
56 | configure.args-append --with-pm=gforker |
---|
57 | } |
---|
58 | |
---|
59 | platform darwin { |
---|
60 | configure.args-append --enable-sharedlibs=osx-gcc |
---|
61 | } |
---|
62 | |
---|