Giter Site home page Giter Site logo

jialiu11 / distributionsampling Goto Github PK

View Code? Open in Web Editor NEW

This project forked from madai/distributionsampling

0.0 1.0 0.0 5.73 MB

The MADAI Distribution Sampling library for model parameter estimation

License: Other

CMake 4.47% C++ 66.24% C 17.37% Shell 2.29% Perl 0.09% Python 5.32% HTML 4.17% Makefile 0.05%

distributionsampling's Introduction

Project: DistributionSampling
README.txt author: Cory Quammen <[email protected]>,
    Hal Canary <cs.unc.edu/~hal>
Last updated: 2013-06-26

*** BUILD INSTRUCTIONS FOR LINUX AND MAC ***

** PREREQUISITES **

-   A compiler.
    - "yum groupinstall "Development Tools" on Red Hat-based systems
    - "apt-get install build-essential" on Debian-based systems
    - XCode on MacOS 10.x systems.

-   CMake version 2.8 or greater
    (Available at http://www.cmake.org/cmake/resources/software.html)
    - "yum install cmake" on Red Hat-based systems
    - "apt-get install cmake" on Debian-based systems
    - "port install cmake" on Macintosh systems with macports installed

-   The Boost Library (http://www.boost.org/users/download/
    - "yum install boost-devel" on Red Hat-based systems
    - "apt-get install libboost-dev" on Debian-based systems
    - "port install boost" on Macintosh systems with macports installed

-   The Eigen3 Library (http://eigen.tuxfamily.org/)
    - "yum install eigen3-devel" on Red Hat-based systems
    - "apt-get install libeigen3-dev" on Debian-based systems
    - "port install eigen3" on Macports systems with macports installed

** CONFIGURING **

1). Create a build directory outside the git repository in which this
    file is located. For example, if the directory containing this
    README.txt file is located in

    $HOME/madai/stat/DistributionSampling

    A good build directory might be

    $HOME/madai/build/stat/DistributionSampling-build

2). Navigate to the build directory created in step 1.

3). In the instructions below, "$ " represents your shell prompt.

    Type

    $ cmake ".../stat/DistributionSampling" \
          -DBUILD_TESTING:BOOL="1" \
          -DCMAKE_BUILD_TYPE:STRING="Debug"

    where .../stat/DistributionSampling is an absolute or relative path
    to the DistributionSampling source directory.

    Using the example directories above, this command is

    $ cmake "$HOME/madai/stat/DistributionSampling" \
          -DBUILD_TESTING:BOOL="1" \
          -DCMAKE_BUILD_TYPE:STRING="Debug"

4). Type

    $ make

    The various source files will compile, producing two libraries
    libDistributionSampling.a and libmadaisys.a in a directory called
    "lib" in the root level of the build directory.

5.  (optional) Type

    $ ctest

    This runs the tests defined in the project.

6. (optional) Generate documentation by typing

    $ cmake "$HOME/madai/stat/DistributionSampling" \
          -DBUILD_DOCUMENTATION:BOOL="1"
    $ make Documentation

    This generates HTML documentation of the library with doxygen.

** CONFIGURATION OPTIONS **

ABORT_ON_COMPILER_WARNINGS (boolean)

    Tells the compiler to treat warnings as errors.

USE_OPENMP (boolean)

    Look for and use OpenMP if found. This parallelizes part of the
    sample generation code.

    WARNING: OpenMP on Mac OS X appears to be buggy.

USE_GPROF (boolean)

    Add compiler flags to support profiling the library code with gprof.

BUILD_DOCUMENTATION (boolean)

    Look for doxygen. If it is found, use it to generate HTML
    documentation of the library source code.

BUILD_TESTING (boolean)

    Build all the regression tests for the library. This is usually only needed
    if you are planning to modify the library and want to ensure that
    you do not introduce a regression in the code.

distributionsampling's People

Contributors

halcanary avatar sangaline avatar scottedwardpratt avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.