GithubHelp home page GithubHelp logo

ctk3b / hoomd-blue Goto Github PK

View Code? Open in Web Editor NEW

This project forked from harperic/hoomd-blue

0.0 2.0 0.0 28.58 MB

github mirror of hoomd-blue

Home Page: https://codeblue.umich.edu/hoomd-blue/

License: Other

CMake 2.98% Python 13.34% Perl 0.11% MATLAB 0.03% M 0.01% Mathematica 1.08% JavaScript 0.03% C++ 66.37% Shell 0.03% C 0.48% Cuda 15.56%

hoomd-blue's Introduction

HOOMD-blue

HOOMD-blue is a general purpose particle simulation toolkit. It performs molecular dynamics simulations of particles with a variety of pair, bond, angle, and other potentials. HOOMD-blue runs fast on NVIDIA GPUs, and can scale across many nodes. For more information, see the HOOMD-blue website.

Prerequisites

  • Required:
    • Python >= 2.6
    • boost >= 1.39.0
    • CMake >= 2.6.2
    • C++ Compiler (tested with gcc, clang, intel)
  • Optional:
    • NVIDIA CUDA Toolkit >= 5.0
    • MPI (tested with OpenMPI, MVAPICH, impi)

Compiling HOOMD-blue

Use cmake to configure an out of source build and make to build hoomd.

mkdir build
cd build
cmake ../
make -j20

For more detailed instructions, see the documentationn.

Job scripts

HOOMD-blue job scripts are python scripts. You can control system initialization, run protocol, analyze simulation data, or develop complex workflows all with python code in your job.

Here is a simple example.

from hoomd_script import *
context.initialize()

# create 100 random particles of name A
init.create_random(N=100, phi_p=0.01, name='A')
# specify Lennard-Jones interactions between particle pairs
lj = pair.lj(r_cut=3.0)
lj.pair_coeff.set('A', 'A', epsilon=1.0, sigma=1.0)
# integrate at constant temperature
all = group.all();
integrate.mode_standard(dt=0.005)
integrate.nvt(group=all, T=1.2, tau=0.5)
# run 10,000 time steps
run(10e3)

Save this as lj.py and run with hoomd lj.py.

Documentation

Documentation for the current stable release is available online: http://codeblue.umich.edu/hoomd-blue/doc/

Change log

See ChangeLog.md.

hoomd-blue's People

Contributors

akohlmey avatar antonio-osorio avatar benjaminaschultz avatar csadorf avatar dnlebard avatar eirrgang avatar harperic avatar jamesaan avatar joaander avatar junghans avatar klarh avatar ksil avatar mphoward avatar ndtrung81 avatar newmanrs avatar nkahm avatar rjsm avatar srrisbud avatar trvsst avatar

Watchers

 avatar  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.