Coder Social home page Coder Social logo

md_gpu's Introduction

A video demonstrating GPU MD using this code can be found here: https://www.youtube.com/watch?v=IPQzY34eCt4

This is a GPU MD code made for a graduate course project. My ongoing and more awesome Monte Carlo/Molecular Dynamics code can be found here: https://github.com/khavernathy/mcmd Douglas Franz and Alfredo Peguero 2016.

To download, use:

git clone https://github.com/khavernathy/md_gpu

=========== CPU =======================

To compile (so far):

g++ FM3.1.cpp -lm -o t -I. -std=c++11

To run:

./t

========== GPU ========================

To compile (on a CUDA host):

module load apps/cuda/7.5 // or whatever CUDA module you have/need

deviceQuery (optional, to get device information)

Access v_final folder for the complete program.

nvcc md_gpu.cu -o executable // to recompile. An already compiled executable "go" is included.

To run:

./executable [filename] [N particles, int] [box x, double] [box y, double] [box z, double] [block size, int]

e.g.

./go water_500.dat 1527 30 30 30 256 // The box dimensions are irrelevant (for now). Will be used later for PBC.

md_gpu's People

Contributors

khavernathy avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

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