2011-08-19 01:32:05 +08:00
|
|
|
This directory has source files to build a library that LAMMPS
|
|
|
|
links against when using the USER-ATC package.
|
|
|
|
|
|
|
|
When you are done building this library, two files should
|
|
|
|
exist in this directory:
|
|
|
|
|
|
|
|
libatc.a the library LAMMPS will link against
|
|
|
|
Makefile.lammps settings the LAMMPS Makefile will import
|
|
|
|
|
|
|
|
The latter file will have settings like this (can be omitted if blank):
|
|
|
|
|
|
|
|
user-atc_SYSINC =
|
|
|
|
user-atc_SYSLIB = -lblas -llapack
|
|
|
|
user-atc_SYSPATH =
|
|
|
|
|
|
|
|
SYSINC is for settings needed to compile LAMMPS source files
|
|
|
|
SYSLIB is for additional system libraries needed by this package
|
|
|
|
SYSPATH is the path(s) to where those libraries are
|
|
|
|
|
|
|
|
You must insure these settings are correct for your system, else
|
|
|
|
the LAMMPS build will likely fail.
|
|
|
|
|
|
|
|
-------------------------------------------------------------------------
|
|
|
|
|
2009-09-25 00:33:23 +08:00
|
|
|
ATC (Atom To Continuum methods)
|
|
|
|
|
2009-09-29 00:32:09 +08:00
|
|
|
Reese Jones, Jeremy Templeton, Jonathan Zimmerman (Sandia National Labs)
|
|
|
|
rjones, jatempl, jzimmer at sandia.gov
|
2009-09-25 00:33:23 +08:00
|
|
|
September 2009
|
|
|
|
|
|
|
|
--------------
|
|
|
|
|
|
|
|
This is version 1.0 of the ATC library, which provides continuum field
|
|
|
|
estimation and molecular dynamics-finite element coupling methods.
|
|
|
|
|
|
|
|
This library must be built with a C++ compiler, before LAMMPS is
|
2009-09-29 00:32:09 +08:00
|
|
|
built, so LAMMPS can link against it.
|
2009-09-25 00:33:23 +08:00
|
|
|
|
|
|
|
Build the library using one of the provided Makefiles or creating your
|
|
|
|
own, specific to your compiler and system. For example:
|
|
|
|
|
|
|
|
make -f Makefile.g++
|
|
|
|
|
2009-09-29 00:32:09 +08:00
|
|
|
Note that the ATC library makes MPI calls, so you must build it with
|
|
|
|
the same MPI library that is used to build LAMMPS, e.g. as specified
|
|
|
|
by settings in the lammps/src/MAKE/Makefile.foo file.
|
2009-09-25 00:33:23 +08:00
|
|
|
|
|
|
|
If the build is successful, you should end up with a libatc.a file.
|
2009-09-29 00:32:09 +08:00
|
|
|
|
|
|
|
When you build LAMMPS with this library, you must insure that the
|
|
|
|
settings in the lo-level Makefile (in lammps/src/MAKE) are correct for
|
|
|
|
user-atc-SYSLIB and user-atc_SYSLIBPATH, so the the appropriate BLAS
|
|
|
|
and LAPACK libraries on your system can be linked against.
|