Giter VIP home page Giter VIP logo

parallel-md-active's Introduction

parallel-md-active

Author: Parswa Nath [Dept. of Physics, IIT Hyderabad] License: GPL2

This is a massively parallel Molecular Dynamics (MD) Simulator for Active systems. I wrote this simulator while preparing my M.Sc. thesis with a hope that this might be used as a standard MD simulator for active systems

FEATURES

  • Models activity through a ABP model by Marchetti & Hagan (see http://arxiv.org/pdf/1207.1737.pdf).
  • Can be extened for other ABP models as well (Vischek model for instance).
  • Parallelization is achived by decomposing the domain (so called "cell list" technique) and is handled by MPI.
  • Scalable and massively parallel

TODO

  • Code cleanup
  • Add some shared memory parallelism using openMP.
  • Is it a really good idea to use the vector container from C++ STL for high performance codes?
  • Improvement of I/O patterns
  • Modification of existing data structure for particle to reduce disk usage.

COMPILING & BUILDING

  • You will need MPICH libraries to compile this. In ubuntu, get it with sudo apt-get install mpich2
  • mpic++ *.cpp -o md.x -std=c++11 -O3 -march=native

SAMPLE USAGE

  • mpirun -np 48 ./md.x < some_input.txt > some_output.txt

INPUT FORMAT


** parallel MD input **

n_blocks_x -> 4;

start_mode -> "load"; 
input_data_path -> "/media/theo_xubuntu/old_backup/128f_eq";

output_data_path -> "try_io"; 

nx -> 32;
ny -> 32;

rho -> 1.1;
sigma -> 1.0;
rc -> 1.122;
Pe -> 99.9994;

is_confined -> 0;

max_time_steps -> 10000;
dt -> 1e-5;
config_save_interval -> 20;
wait_for_equilibration -> 10;

debug_type -> "none";

parallel-md-active's People

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.