# -*- 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 # $Id$ PortSystem 1.0 PortGroup python 1.0 PortGroup bitbucket 1.0 PortGroup mpi 1.0 bitbucket.setup mpi4py mpi4py 2.0.0 name py-mpi4py license BSD platforms darwin universal_variant no description MPI for Python - Python bindings for MPI long_description \ MPI for Python \(mpi4py\) provides bindings of the Message Passing \ Interface \(MPI\) standard for the Python programming language, allowing \ any Python program to exploit multiple processors. This package is \ constructed on top of the MPI-1/MPI-2 specification and provides an \ object oriented interface which closely follows MPI-2 C++ bindings. \ It supports point-to-point \(sends, receives\) and collective \ \(broadcasts, scatters, gathers\) communications of any picklable Python \ object as well as optimized communications of Python object exposing the \ single-segment buffer interface \(NumPy arrays, builtin \ bytes/string/array objects). maintainers sean openmaintainer checksums rmd160 1f345e24ffeb1c07e7260ecf291c28c1d1e936ba \ sha256 3b6c3f04e8e01086118b2442ff9148df27de93111c0a374317a6bb13ec409b1e mpi.setup require python.versions 27 34 35 if {${name} ne ${subport}} { depends_build-append \ port:py${python.version}-setuptools \ port:py${python.version}-cython pre-build { build.args-append "--mpicc=${mpi.cc}" } variant interpreter description {builds an mpi enabled python interpreter} { patchfiles-append patch-conf-mpidistutils.py.diff } livecheck.type none }