Coder Social home page Coder Social logo

allisterb / onemd Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 0.0 221 KB

Data-parallel molecular dynamics simulator for Intel oneAPI.

License: GNU General Public License v3.0

CMake 1.59% C++ 93.42% Shell 0.22% Batchfile 0.09% Makefile 4.68%
molecular-dynamics simulation cpp cpp17 dpcpp intel devcloud

onemd's Introduction

oneMD

oneMD is a molecular dynamics simulator designed to take advantage of SIMD and GPU and FPGA hardware data parallelism and acceleration. Unlike other molecular dynamics simulators like NAMD or omegagene which rely on hardware acceleration via OpenMP or CUDA, oneMD is a new simulator written in DPC++ designed especially to utilize diverse kinds of hardware acceleration across multiple architectures .

The molecular data and trajectories are saved in standard PDB and .xtc formats that can be viewed in programs like VMD.

Requirements

oneMD is cross-platform and cross-arch can be built with any well-known C++ compiler including MSVC. If you are using it on your local machine you will need a oneAPI environment setup with the DPC++ compiler to build with GPU and FPGA acceleration. If you don't use a oneAPI environment then only OpenMP acceleration support will be built.

Installation

  • Clone the repo including all sub-modules:
git clone --recurse-submodules https://github.com/allisterb/oneMD.git
  • Run build.sh on DevCloud or Linux, or build on Windows. This will place a omd executable in the project folder. Run
omd --help

from the project folder and you should see the oneMD help screen.

./omd --help
                 __  __ ___
 ___  _ _   ___ |  \/  |   \
/ _ \| ' \ / -_)| |\/| | |) |
\___/|_||_|\___||_|  |_|___/


USAGE:

   ./omd  [-l <integer>] [--dt <double>] [--ts <integer>] [--np <integer>]
          [--nd <integer>] [--device <string>] [-1] [-0] [-d] [--]
          [--version] [-h] <string>


Where:

   -l <integer>,  --debug-level <integer>
     Debug logging level. Default is 1.

   --dt <double>
     Timestep delta in seconds for simulation. Default is 0.005.

   --ts <integer>
     Number of time steps for simulation. Default is 10000.

   --np <integer>
     Number of particles for simulation. Default is 100

   --nd <integer>
     Number of dimensions for simulation from 1-3. Default is 3.

   --device <string>
     Name of hardware device to run simulation on. Can be host_cpu, cpu,
     gpu, or fpga. Default is host_cpu. Alternatively use the bool flag
     selectors e.g. -0 or -1.

   -1,  --cpu
     Select the SYCL CPU device.

   -0,  --host-cpu
     Select the host CPU device.

   -d,  --debug
     Enable debug logging.                               

onemd's People

Contributors

allisterb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 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.