2013-05-31 03:26:34 +08:00
|
|
|
This library is the portable "colvars" module, originally interfaced
|
|
|
|
with the NAMD MD code, to provide an extensible software framework,
|
|
|
|
that allows enhanced sampling in molecular dynamics simulations.
|
|
|
|
The module is written to maximize performance, portability,
|
|
|
|
flexibility of usage for the user, and extensibility for the developer.
|
2012-05-24 00:20:04 +08:00
|
|
|
|
2013-06-28 06:48:27 +08:00
|
|
|
The development of the colvars library is now hosted on github at:
|
|
|
|
http://colvars.github.io/
|
|
|
|
You can use this site to get access to the latest development sources
|
|
|
|
and the up-to-date documentation.
|
|
|
|
|
|
|
|
Copy of the specific documentation is also in
|
|
|
|
doc/PDF/colvars-refman-lammps.pdf
|
|
|
|
|
|
|
|
Please report bugs and request new features at:
|
|
|
|
https://github.com/colvars/colvars/issues
|
|
|
|
|
|
|
|
The following publications describe the principles of
|
2012-05-24 00:20:04 +08:00
|
|
|
the implementation of this library:
|
|
|
|
|
2013-06-28 06:48:27 +08:00
|
|
|
Using collective variables to drive molecular dynamics simulations,
|
|
|
|
Giacomo Fiorin , Michael L. Klein & Jérôme Hénin (2013):
|
|
|
|
Molecular Physics DOI:10.1080/00268976.2013.813594
|
|
|
|
|
2012-05-24 00:20:04 +08:00
|
|
|
Exploring Multidimensional Free Energy Landscapes Using
|
|
|
|
Time-Dependent Biases on Collective Variables,
|
|
|
|
J. Hénin, G. Fiorin, C. Chipot, and M. L. Klein,
|
|
|
|
J. Chem. Theory Comput., 6, 35-47 (2010).
|
|
|
|
|
2013-05-31 03:26:34 +08:00
|
|
|
-------------------------------------------------
|
|
|
|
|
|
|
|
This directory has source files to build a library that LAMMPS
|
|
|
|
links against when using the USER-COLVARS package.
|
2012-05-24 00:20:04 +08:00
|
|
|
|
|
|
|
This library must be built with a C++ compiler, before LAMMPS is
|
|
|
|
built, so LAMMPS can link against it.
|
|
|
|
|
2013-05-31 03:26:34 +08:00
|
|
|
Build the library using one of the provided Makefile.* files or create
|
|
|
|
your own, specific to your compiler and system. For example:
|
2012-05-24 00:20:04 +08:00
|
|
|
|
|
|
|
make -f Makefile.g++
|
|
|
|
|
2013-05-31 03:26:34 +08:00
|
|
|
When you are done building this library, two files should
|
|
|
|
exist in this directory:
|
|
|
|
|
|
|
|
libcolvars.a the library LAMMPS will link against
|
|
|
|
Makefile.lammps settings the LAMMPS Makefile will import
|
|
|
|
|
|
|
|
Makefile.lammps is created by the make command, by copying one of the
|
|
|
|
Makefile.lammps.* files. See the EXTRAMAKE setting at the top of the
|
|
|
|
Makefile.* files.
|
|
|
|
|
|
|
|
IMPORTANT: You must examine the final Makefile.lammps to insure it is
|
|
|
|
correct for your system, else the LAMMPS build will likely fail.
|
|
|
|
|
|
|
|
Makefile.lammps has settings for 3 variables:
|
|
|
|
|
|
|
|
user-colvars_SYSINC = leave blank for this package unless debugging
|
|
|
|
user-colvars_SYSLIB = leave blank for this package
|
|
|
|
user-colvars_SYSPATH = leave blank for this package
|
|
|
|
|
|
|
|
You have several choices for these settings:
|
|
|
|
|
|
|
|
Since they do not normally need to be set, the settings in
|
|
|
|
Makefile.lammps.empty should work.
|
2012-05-24 00:20:04 +08:00
|
|
|
|
2013-05-31 03:26:34 +08:00
|
|
|
If you want to set a debug flag recognized by the library, the
|
|
|
|
settings in Makefile.lammps.debug should work.
|