# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup compilers 1.0 PortGroup R 1.0 # GitHub version lags behind. R.setup cran snoweye pbdMPI 0.5-1 revision 1 categories-append parallel maintainers {@barracuda156 gmail.com:vital.had} openmaintainer license MPL-2 description Interface to MPI long_description {*}${description} homepage https://github.com/snoweye/pbdMPI checksums rmd160 44c5b09242e6fa1ff0503827d69a7368de32fdfc \ sha256 64a31df236a72ba0772ed1b7f4115e488bf15743afe1f2b067ea0e6b54eef710 \ size 421847 if {[string match macports-clang-* ${configure.compiler}]} { set mpi_suffix mp set mpi_port mpich-default } elseif {[string match macports-gcc-* ${configure.compiler}]} { set gcc_v [ string range ${configure.compiler} [ string length macports-gcc- ] end ] set mpi_suffix gcc${gcc_v} set mpi_port mpich-${mpi_suffix} } depends_lib-append port:${mpi_port} \ port:R-float # At the moment there is no MPICH4 type. However, it does build against MPICH4. build.args-append --configure-args="--with-mpi=${prefix} \ --with-mpi-include=${prefix}/include/mpich-${mpi_suffix} \ --with-mpi-libpath=${prefix}/lib/mpich-${mpi_suffix} \ --with-mpi-type=MPICH3" test.run no