2011-06-14 06:22:33 +08:00
|
|
|
AWPMD (Antisymmetrized Wave Packet Molecular Dynamics) library
|
|
|
|
|
|
|
|
Ilya Valuev, Igor Morozov, JIHT RAS
|
|
|
|
valuev at physik.hu-berlin.de
|
|
|
|
June 2011
|
|
|
|
|
|
|
|
This is version 0.9 of the AWPMD library taken from JIHT GridMD project.
|
|
|
|
It contains interface to calculate electronic and electron-ion Hamiltonian,
|
|
|
|
norm matrix and forces for AWPMD method.
|
|
|
|
|
2013-05-31 01:54:44 +08:00
|
|
|
AWPMD is an open source program distributed under the terms
|
|
|
|
of wxWidgets Library License (see license directory for details).
|
|
|
|
|
|
|
|
-------------------------------------------------
|
|
|
|
|
|
|
|
This directory has source files to build a library that LAMMPS
|
|
|
|
links against when using the USER-AWPMD package.
|
2011-06-14 06:22:33 +08:00
|
|
|
|
|
|
|
This library must be built with a C++ compiler, before LAMMPS is
|
|
|
|
built, so LAMMPS can link against it.
|
|
|
|
|
2013-05-31 01:54:44 +08:00
|
|
|
Build the library using one of the provided Makefiles or create your
|
2011-06-14 06:22:33 +08:00
|
|
|
own, specific to your compiler and system. For example:
|
|
|
|
|
2013-05-31 01:54:44 +08:00
|
|
|
make -f Makefile.g++
|
2011-06-14 06:22:33 +08:00
|
|
|
|
2013-05-31 01:54:44 +08:00
|
|
|
When you are done building this library, two files should
|
|
|
|
exist in this directory:
|
2011-06-14 06:22:33 +08:00
|
|
|
|
2013-05-31 01:54:44 +08:00
|
|
|
libawpmd.a the library LAMMPS will link against
|
|
|
|
Makefile.lammps settings the LAMMPS Makefile will import
|
2011-06-14 06:22:33 +08:00
|
|
|
|
2013-05-31 01:54:44 +08:00
|
|
|
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.
|
|
|
|
|
|
|
|
It is IMPORTANT that you 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-awpmd_SYSINC = leave blank for this package
|
|
|
|
user-awpmd_SYSLIB = BLAS and LAPACK libraries needed by this package
|
|
|
|
user-awpmd_SYSPATH = path(s) to where those libraries are
|
|
|
|
|
|
|
|
You have several choices for these settings:
|
|
|
|
|
|
|
|
If the 2 libraries are already installed on your system, the settings
|
|
|
|
in Makefile.lammps.installed should work.
|
|
|
|
|
|
|
|
If they are not, you can install them yourself, and make
|
|
|
|
the appropriate settings.
|
2011-06-14 06:22:33 +08:00
|
|
|
|
2013-05-31 01:54:44 +08:00
|
|
|
If you want to use the version provided with LAMMPS in lib/linalg,
|
|
|
|
then the settings in Makefile.lammps.linalg should work. Note that in
|
|
|
|
this case you also need to build the linear-algebra in lib/linalg; see
|
|
|
|
the lib/linalg/README for more details.
|
2011-06-14 06:22:33 +08:00
|
|
|
|
2013-05-31 01:54:44 +08:00
|
|
|
You can leave these settings blank and specify them in your
|
|
|
|
src/MAKE/Makefile.machine file instead. In this case you should edit
|
|
|
|
the Makefile.* to use Makefile.lammps.empty when it creates
|
|
|
|
Makefile.lammps.
|