Giter VIP home page Giter VIP logo

lemonade's Introduction

LeMonADE

The abbreviation LeMonADE stands for "Lattice-based extensible Monte-Carlo Algorithm and Development Environment".

The aim of the LeMonaDE-project is an open source implementation of the bond-fluctuation-model [1] BFM1 [2] BFM2 for simulating polymeric systems using generic template metaprogramming in C++.

Installation

  • Clone git clone https://github.com/LeMonADE-project/LeMonADE.git
  • Install cmake (minimum version 2.6.2)
  • Just do for standard compilation (library+examples):
    # generates the application in build-directory
    ./configure -DINSTALLDIR_LEMONADE=/path/to/install/LeMonADE/ -DBUILDDIR=/path/to/build/ 
    make
    make install #only if you want to install the software after build

or

    # generates the lib and examples
    mkdir build
    cd build
    cmake -DINSTALLDIR_LEMONADE=/path/to/install/LeMonADE/ ..
    make
    make install #only if you want to install the software after build
  • The options -DINSTALLDIR_LEMONADE and -DBUILDDIR for the configure script are optional. The build directory defaults to ./build, the install directory defaults to /usr/local/ . The same goes for the option -DINSTALLDIR_LEMONADE when invoking cmake (the second compilation and installation way).
  • When installing using 'make install', the library is installed to /given/installation/path/lib/LeMonADE/, or if no path was specified to /usr/local/lib/LeMonADE/. Similar for the header files, which go to /given/installation/path/include/LeMonADE/ or /usr/local/include/LeMonADE/.
  • For uninstalling simply remove the files created in the installation step.
  • If you do not specify the install directory, and the default /usr/local/ is used, you need root access when installing. In this case
    # installs the library and headers
    sudo make install #only if you want to install the software after build
  • If you also want to compile and run the tests, there is another option, which can be passed to either the configure script (first build method), or to cmake (second build method) This option is -DLEMONADE_TESTS=ON . You need internet access, because the process will download the googletest library
  • Another option that can be passed is -DCMAKE_BUILD_TYPE=Release/Debug. The default value is Release, which uses compiler flags for optimization. If the option "Debug" is chosen, no compiler optimizations are used, compiler warnings are enabled by -Wall, and debugging information is compiled into the binary with -g. Other flags then "Release", or "Debug" are not allowed and will lead to termination and an error message by cmake.

Getting Started

This can be found in the documentation.

Build the documentation

  • Install doxygen
  • Just do for documentation, only:
    # generates the documentation
    ./configure -DINSTALLDIR_LEMONADE=/path/to/install/LeMonADE/ -DBUILDDIR=/path/to/build/ 
    make docs
    # generates the docs
    mkdir build
    cd build
    cmake ..
    make docs

License

See the LICENSE in the root directory.

lemonade's People

Contributors

martinwenge avatar hrabbel avatar bondoki avatar vnznznz 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.