Code Monkey home page Code Monkey logo

abin's Introduction

DOI CI codecov

What is ABIN?

ABIN is a program for performing ab initio molecular dynamics. It was designed specifically to deal with quantum nuclear effects. It can do path integral simulations and also utilizes quantum thermostat based on General Langevin equation. It can also simulate non-adiabatic events using Surface-hoping algorithm.

The basic philosophy of ABIN program is simple. While the program itself handles the propagation of the system according to the equations of motion, the forces and energies are taken from an external electronic structure program such as ORCA or TeraChem. The call to the chosen external program is handled via a simple shell script interface. Therefore, writing a new interface is rather straightforward and can be done without any changes to ABIN or the ab initio code.

The code is provided under the GNU General Public License. A full text of the license can be found in the file LICENCE.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

A full documentation can be found in the folder DOC.

Installation

To compile the code, you'll need a Fortran and C++ compiler. GNU compilers are tested the most, GFortran and g++ compiler versions >=7.0. Versions >=5.4 likely work as well, but always run the test suite to verify. Intel compiler (ifort) is supported since version >=2018, including the newly open-sourced versions (Intel OneAPI).

The compilation can be as easy as:

$ ./configure && make

Always test the installation by running the test suite:

$ make test

If you modify the source code and want to recompile, you should always clean up before the recompilation:

$ make clean && make

Running the code

After compilation, the executable binary should be available in bin/abin. To execute an MD simulation using an input file input.in and initial XYZ coordinates in file geom.xyz, run:

bin/abin -i input.in -x geom.xyz

Run bin/abin --help to see other options. Example input files for various types of simulations can be found in sample_inputs/.

Optional dependencies

Some functionality relies on external libraries. These are optional, and the code automatically recognizes which feature is supported for a given build. Run configure -h to see all the options and how to configure them.

To install the libraries, you can use the install scripts in dev_scripts/. We use these in our Continuous Integration testing suite on Github using the Ubuntu 18.04 image.

The optional libraries are:

  • MPICH: An MPI implementation used for Replica Exchange MD and MPI interface with TeraChem.
    • If you just need REMD you can also use other MPI libraries such as OpenMPI or IntelMPI.
  • FFTW: Fast Fourier Transform library used for normal mode transformation in Path Integral MD.
  • PLUMED: A collection of very useful tools for free energy calculations (MetaDynamics, Umbrella Sampling etc).
  • TCPB-CPP: [EXPERIMENTAL] TCPB interface to TeraChem

Structure of the repository

Path Description
src/ ABIN source code
sample_inputs Sample input files.
interfaces/ BASH interfaces to common ab initio codes.
utils/ Handy scripts that might be useful in conjuction with the MD code.
unit_tests/ Unit tests; run by make unittest (needs pFUnit library installed)
tests/ End-to-End tests; run by make e2etest
dev_scripts/ Setup for ABIN devs and install scripts for optional libraries.

abin's People

Contributors

danielhollas avatar janosjiri avatar juraskov avatar stepan-srsen avatar suchanj 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.