1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id: $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python26 1.0 |
---|
6 | |
---|
7 | name py26-mpi4py |
---|
8 | version 1.2 |
---|
9 | categories python |
---|
10 | description MPI for Python - Python bindings for MPI |
---|
11 | long_description \ |
---|
12 | MPI for Python (mpi4py) provides bindings of the Message Passing Interface \ |
---|
13 | (MPI) standard for the Python programming language, allowing any Python \ |
---|
14 | program to exploit multiple processors. This package is constructed on top of \ |
---|
15 | the MPI-1/MPI-2 specification and provides an object oriented interface which \ |
---|
16 | closely follows MPI-2 C++ bindings. It supports point-to-point (sends, \ |
---|
17 | receives) and collective (broadcasts, scatters, gathers) communications of \ |
---|
18 | any picklable Python object as well as optimized communications of Python \ |
---|
19 | object exposing the single-segment buffer interface (NumPy arrays, builtin \ |
---|
20 | bytes/string/array objects). |
---|
21 | |
---|
22 | |
---|
23 | maintainers adfernandes openmaintainer |
---|
24 | |
---|
25 | homepage http://code.google.com/p/mpi4py/ |
---|
26 | master_sites googlecode:mpi4py |
---|
27 | distname mpi4py-${version} |
---|
28 | checksums sha1 6dcef2758abce46c8e0b55a531d7164b8fed8931 |
---|
29 | |
---|
30 | platforms darwin |
---|
31 | |
---|
32 | if { ${os.major} < 9 } { |
---|
33 | default_variants +openmpi |
---|
34 | } |
---|
35 | |
---|
36 | if { ${os.major} < 9 && ![variant_isset openmpi] } { |
---|
37 | error "Mac OS 10.4 and earlier require the openmpi variant" |
---|
38 | } |
---|
39 | |
---|
40 | variant openmpi description {builds with the openmpi port} { |
---|
41 | depends_lib-append port:openmpi |
---|
42 | build.target build "--mpicc=${prefix}/bin/openmpicc" |
---|
43 | } |
---|