An open API service indexing awesome lists of open source software.

https://github.com/zonca/mbpol_openmm_plugin_old


https://github.com/zonca/mbpol_openmm_plugin_old

Last synced: over 1 year ago
JSON representation

Awesome Lists containing this project

README

          

MBPol plugin for OpenMM
=======================

`mbpol` is a plugin for the `OpenMM` toolkit for molecular simulations.

It implements the `MBPol` force field, available components are:

* `MBPolReferenceElectrostaticsForce`
* `MBPolReferenceOneBodyForce`
* `MBPolReferenceTwoBodyForce`
* `MBPolReferenceThreeBodyForce`
* `MBPolReferenceDispersionForce`

As of version `0.4.0`, only the `Reference` platform, i.e. single threaded C++ on CPU, is supported.

## Requirements

* `OpenMM` built from a July 2014 or later snapshot of the Github repository master branch

## How to install

* Clone the `mbpol` plugin source from Github:

* Create the `build_mbpol` folder outside of the source folder
* Configure the build by running `ccmake -i ../mbpol_openmm_plugin` inside the `build_mbpol` folder
* Make sure to set `OPENMM_BUILD_MBPOL_PLUGIN` to `ON` and `OPENMM_BUILD_MBPOL_CUDA_LIB` to `OFF` (not supported yet), `CMAKE_INSTALL_PREFIX` should contain the path to the installed `OpenMM`, by default `/usr/local/openmm`.
* Run `make` to compile the C++ library
* Run `sudo make install` to install the `mbpol` dynamic library to the
`openmm` folder
* Run `make PythonInstall` to install the Python wrapper, it requires
Python and `swig`, the best is to use Anaconda

## Example simulations

* C++:
, see the documentation in the `examples/` folder.
* IPython Notebook: