1 | PortSystem 1.0 |
---|
2 | PortGroup python27 1.0 |
---|
3 | |
---|
4 | name py27-mpi4py |
---|
5 | version 1.2.2 |
---|
6 | categories python |
---|
7 | description MPI for Python - Python bindings for MPI |
---|
8 | long_description \ |
---|
9 | MPI for Python (mpi4py) provides bindings of the Message Passing Interface \ |
---|
10 | (MPI) standard for the Python programming language, allowing any Python \ |
---|
11 | program to exploit multiple processors. This package is constructed on top of \ |
---|
12 | the MPI-1/MPI-2 specification and provides an object oriented interface which \ |
---|
13 | closely follows MPI-2 C++ bindings. It supports point-to-point (sends, \ |
---|
14 | receives) and collective (broadcasts, scatters, gathers) communications of \ |
---|
15 | any picklable Python object as well as optimized communications of Python \ |
---|
16 | object exposing the single-segment buffer interface (NumPy arrays, builtin \ |
---|
17 | bytes/string/array objects). |
---|
18 | |
---|
19 | |
---|
20 | maintainers adfernandes openmaintainer |
---|
21 | |
---|
22 | homepage http://code.google.com/p/mpi4py/ |
---|
23 | master_sites googlecode:mpi4py |
---|
24 | distname mpi4py-${version} |
---|
25 | checksums md5 91c1b962529adfd90b9f9f98db5624b7 \ |
---|
26 | sha1 e08d09257794a85d010a22ad9bda9d1c89a6258f \ |
---|
27 | rmd160 434d411aa4e954706f2ca8bdde115dc654b58f21 |
---|
28 | platforms darwin |
---|
29 | |
---|
30 | if { ${os.major} < 9 } { |
---|
31 | default_variants +openmpi |
---|
32 | } |
---|
33 | |
---|
34 | if { ${os.major} < 9 && ![variant_isset openmpi] } { |
---|
35 | error "Mac OS 10.4 and earlier require the openmpi variant" |
---|
36 | } |
---|
37 | |
---|
38 | variant openmpi description {builds with the openmpi port} { |
---|
39 | depends_lib-append port:openmpi |
---|
40 | build.target build "--mpicc=${prefix}/bin/openmpicc" |
---|
41 | } |
---|
42 | |
---|
43 | variant interpreter description {builds an mpi enabled python interpreter} { |
---|
44 | patchfiles-append patch-conf-mpidistutils.py.diff |
---|
45 | } |
---|