Skip to content

Build dependencies are too specific to mpich and OpenMPI #14

@bjpop

Description

@bjpop

It was observed on a Reddit thread that haskell-mpi has become build dependent on mpich2 or OpenMPI:

http://www.reddit.com/r/haskell/comments/1amua2/using_haskellmpi_as_language_agnostic_ipc/

In the .cabal file we have:

if flag(mpich14)
extra-libraries: mpich, opa, mpl
else
extra-libraries: mpi, open-rte, open-pal

This causes trouble if you try to build with some other version of MPI.

It would be good to have a way to build the library with a minimal dependency on libmpi and mpi.h. Features which are specific to particular MPI implementations should be optional.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions