Giter Club home page Giter Club logo

mc_lj's Introduction


mc_LJ


C program for MC simulations applied to Lennard Jones clusters only.

Build Status

Coverity Scan Build Status

COMPILE & INSTALL


A C compiler compatible with the C99 standard or newer is required.

Be sure to have CMAKE installed (http://www.cmake.org/), available on most repositories.

Tested compilers: * gcc 4.6.3 and newer versions * clang 3.4 and newer versions * icc 15.0.1

Create a build directory and move to that directory:

  • mkdir build && cd build

For buildind a debug or release (default) version :

  • cmake -DCMAKE_BUILD_TYPE=Debug ..
  • cmake -DCMAKE_BUILD_TYPE=Release ..

Debug builds are slower but useful when debugging with gdb or valgrind.

Then, once cmake built a Makefile, just execute :

  • make

For a verbose make, use :

  • make VERBOSE=1

Please never edit this autogenerated Makefile, edit the CMakeLists.txt instead.

For specifying another compiler on linux (for example clang or Intel icc):

  • CC=clang cmake ..
  • CC=icc cmake ..

It is possible for the user to define custom energy functions using the Lua scripting language (http://www.lua.org/). See input_file.inp and the ./plugins directory for more details.

For enabling Lua plugins files use when compiling:

  • cmake -DUSE_LUA=1 ..

You will most probably have to edit the CMakeLists.txt file for adding paths to the Lua include and library directories. For best performances you can use the LuaJIT implementation : http://luajit.org/


DOCUMENTATION


Check the doc directory that contains programming documentation.

For updating the documentation, run doxygen in the current directory (http://www.doxygen.org)


LICENSING (all files excepted subdirectory dSFMT)


Copyright (c) 2011-2015, Florent Hedin, Markus Meuwly, and the University of Basel. All rights reserved.

The 3-clause BSD license is applied to this software.

See LICENSE.txt


NOTE CONCERNING dSFMT


This project uses as random numbers generator the dSFMT code : http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/SFMT/

All files in the subdirectory dSFMT are licensed with a 3-clause BSD license and copyrighted as following : Copyright (C) 2007,2008 Mutsuo Saito, Makoto Matsumoto and Hiroshima University. All rights reserved.

See dSFMT/LICENSE_dSFMT.txt

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.