Giter Club home page Giter Club logo

molecular-dynamics's Introduction

Molecular Dynamics

General

My final project from 15-418, Parallel Computer Architecture and Programming, at CMU.

For more, see http://www.alexcappiello.com/projects/15418/.

I can only guarantee it will compile and run on linux with an NVIDIA OpenCL device because that's all I've tried it on. Minor changes need to be made to use with a CPU implementation of OpenCL.

Dependencies

  • OpenCL
  • OpenGL (mesa), freeglut3, and glew

Compiling and Running

$ make
$ ./md -?
Usage: ./md [options]
Program Options:
  -w  --width <INT>         Window Width               default=800
  -h  --height <INT>        Window Height              default=800
  -n  --nparticles <INT>    Number of particles        default=1024
  -b  --bbox <FLOAT>        Size of bounding box (+-)  default=50.000000
  -g  --group-size <INT>    Size of the local group    default=32
  -t  --dt <FLOAT>          Time step                  default=1.000000e-15
  -k  --force-kernel <STR>  Force kernel to use        default=force_naive
  -?  --help                This message

Credits

The following was an extremely helpful starting point for this project: http://enja.org/2010/08/27/adventures-in-opencl-part-2-particles-with-opengl/.

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.