packages feed

LogicGrowsOnTrees-MPI-1.0.0: LogicGrowsOnTrees-MPI.cabal

Name:                LogicGrowsOnTrees-MPI
Version:             1.0.0
License:             BSD3
License-file:        LICENSE
Author:              Gregory Crosswhite
Maintainer:          Gregory Crosswhite <gcrosswhite@gmail.com>
Synopsis:            an adapter for LogicGrowsOnTrees that uses MPI
Cabal-version:       >=1.8
Build-type:          Simple
Category:            Control, Distributed Computing, Logic, Parallelism
Description:
    <http://gcross.github.io/LogicGrowsOnTrees-MPI IF YOU ARE READING THIS ON HACKAGE then click here to browse the package reference documentation.>
    (The package unfortunately cannot be built on the Hackage server because
    MPI is not installed on it.)
    .
    This package provides a adapter for the LogicGrowsOnTrees package that uses
    MPI for parallelism. See the module documentation for more details.
    .
    NOTE:  You need to have an MPI implementation installed to use the package;
           no thread support is required, and it only uses very simple
           functionality so MPI 1.0 or 1.1 should suffice. Also, @mpi.h@ needs
           to be in the include path and a library named @mpi@ (@libmpi@ in
           unix) in the library path; if these files are not in their respective
           paths, you can add their directories to their respective search paths
           for this package by using Cabal's respective
           @--extra-include-dirs=...@ and @--extra-lib-dirs=...@ options.

Extra-source-files:  c-sources/LogicGrowsOnTrees-MPI.c c-sources/LogicGrowsOnTrees-MPI.h

Bug-reports: https://github.com/gcross/LogicGrowsOnTrees-MPI/issues

Source-Repository head
    Type:     git
    Location: git://github.com/gcross/LogicGrowsOnTrees-MPI.git

Source-Repository this
    Type:     git
    Location: git://github.com/gcross/LogicGrowsOnTrees-MPI.git
    Tag:      1.0.0

Library
    Build-depends:
        base > 4 && < 5,
        bytestring >= 0.9 && < 0.11,
        cereal == 0.3.*,
        cmdtheline == 0.2.*,
        containers >= 0.4 && < 0.6,
        data-ivar >= 0.30 && < 1.0,
        derive >= 2.5.9 && < 2.6,
        hslogger == 1.2.*,
        hslogger-template == 2.0.*,
        MonadCatchIO-transformers == 0.3.*,
        stm == 2.4.*,
        transformers >= 0.2 && < 0.4,
        LogicGrowsOnTrees == 1.0.*
    Hs-source-dirs: sources
    Extra-libraries: mpi
    C-sources: c-sources/LogicGrowsOnTrees-MPI.c
    Exposed-modules:
        LogicGrowsOnTrees.Parallel.Adapter.MPI
    if flag(warnings)
        GHC-Options: -Wall -fno-warn-name-shadowing

Flag warnings
    Description: Enables most warnings.
    Default:     False

Flag tests
    Description: Enable building the n-queens executables.
    Default:     False

Executable test-trivial
    Main-is:    test-trivial.hs
    Hs-source-dirs: tests
    Build-depends:
        base > 4 && < 5,
        hslogger == 1.2.*,
        LogicGrowsOnTrees == 1.0.*,
        LogicGrowsOnTrees-MPI
    Extra-libraries: mpi
    C-sources: c-sources/LogicGrowsOnTrees-MPI.c
    if flag(tests)
        Buildable: True
    else
        Buildable: False
    if flag(warnings)
        GHC-Options: -Wall -fno-warn-name-shadowing

Executable test-nqueens
    Main-is:    test-nqueens.hs
    Hs-source-dirs: tests
    Build-depends:
        base > 4 && < 5,
        cereal == 0.3.*,
        cmdtheline == 0.2.*,
        hslogger == 1.2.*,
        LogicGrowsOnTrees == 1.0.*,
        LogicGrowsOnTrees-MPI
    Extra-libraries: mpi
    C-sources: c-sources/LogicGrowsOnTrees-MPI.c
    if flag(tests)
        Buildable: True
    else
        Buildable: False
    if flag(warnings)
        GHC-Options: -Wall -fno-warn-name-shadowing