OpenMM Nudged Elastic Band Plugin
-
Clone this project into the plugins directory,
<openmm_source_dir>/plugins/
. -
Add the following lines to the root
CMakeLists.txt
in<OpenMMSrc>/CMakeLists.txt
. This instructs the OpenMM CMake build system to build the NEB plugin.
# Nudged Elastic Band (NEB) Plugin
SET(OPENMM_BUILD_NEB_PLUGIN ON CACHE BOOL "Build NEB plugin")
SET(OPENMM_BUILD_NEB_PATH)
IF(OPENMM_BUILD_NEB_PLUGIN)
SET(OPENMM_BUILD_NEB_PATH ${CMAKE_CURRENT_SOURCE_DIR}/plugins/neb)
ADD_SUBDIRECTORY(plugins/neb)
ENDIF(OPENMM_BUILD_NEB_PLUGIN)
-
Copy over the wrappers directory from this git repository into
<openmm_source_dir>
, replacing the existing wrappers directory. This -
Run cmake, and then
make
andmake install
. -
If the python layer doesn't build automatically,
cd
into<open_build_directory>/python
and runpython setup.py install
. You will probably have to set theOPENMM_LIB_PATH
andOPENMM_INCLUDE_PATH
.