lammps/lib/awpmd
Axel Kohlmeyer 135b1650f1 revamp of library builds
- remove cross compiler stuff
- make use of Install.py consistent
- provide options for Makefile.serial and Makefile.mpi that match those in src
2017-08-07 17:13:01 -04:00
..
ivutils git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13904 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2015-08-19 14:56:21 +00:00
license git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@6378 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2011-06-13 22:22:33 +00:00
systems/interact/TCP Commented out line (temporarily) that causes a segmentation fault in the USER-AWPMD library 2015-08-20 15:55:19 +00:00
Install.py correct symbolic links to shared Install.py file 2017-07-27 12:48:32 -04:00
Makefile.lammps.empty git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9960 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2013-05-30 17:54:44 +00:00
Makefile.lammps.installed git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9960 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2013-05-30 17:54:44 +00:00
Makefile.lammps.linalg git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10165 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2013-06-28 19:30:58 +00:00
Makefile.mpi revamp of library builds 2017-08-07 17:13:01 -04:00
Makefile.mpicc revamp of library builds 2017-08-07 17:13:01 -04:00
Makefile.serial revamp of library builds 2017-08-07 17:13:01 -04:00
README new Section package and start doc pages and build scripts 2017-05-04 11:22:20 -06:00

README

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.

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.

This library must be built with a C++ compiler, before LAMMPS is
built, so LAMMPS can link against it.

You can type "make lib-awpmd" from the src directory to see help on
how to build this library via make commands, or you can do the same
thing by typing "python Install.py" from within this directory, or you
can do it manually by following the instructions below.

Build the library using one of the provided Makefile.* files or create
your own, specific to your compiler and system.  For example:

make -f Makefile.g++

Note that this library makes MPI calls, so you must build it with the
same MPI library that is used to build LAMMPS, i.e. as specified by
settings in the lammps/src/MAKE/Makefile.machine file you are using.

When you are done building this library, two files should
exist in this directory:

libawpmd.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-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 3 choices for these settings:

a) If the 2 libraries are already installed on your system, the
settings in Makefile.lammps.installed should work.

b) If they are not, you can install them yourself, and specify the
appropriate settings accordingly in a Makefile.lammps.* file
and set the EXTRAMAKE setting in Makefile.* to that file.

c) Use the minimalist version of these libraries provided with LAMMPS
in lib/linalg, by using Makefile.lammps.linalg.  In this case you also
need to build the library in lib/linalg; see the lib/linalg/README
file for more details.