lammps/lib/meam
Axel Kohlmeyer 0ecdb99885 fix uninitialized data access as reported by @martok in #174 2017-06-08 13:50:17 -04:00
..
.depend git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14824 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2016-04-14 14:42:56 +00:00
.gitignore ignore *.mod generated by fortran compilers 2016-09-13 09:36:19 -04:00
Install.py new Section package and start doc pages and build scripts 2017-05-04 11:22:20 -06:00
Makefile.g95 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14928 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2016-05-03 16:11:34 +00:00
Makefile.gfortran git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14833 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2016-04-15 16:16:52 +00:00
Makefile.ifort git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14928 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2016-05-03 16:11:34 +00:00
Makefile.lammps.gfortran git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@6729 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2011-08-18 17:32:34 +00:00
Makefile.lammps.glory Added settings for glory Intel v.11 2011-11-30 15:36:15 +00:00
Makefile.lammps.ifort git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@6729 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2011-08-18 17:32:34 +00:00
Makefile.mingw32-cross git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14867 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2016-04-22 17:51:49 +00:00
Makefile.mingw32-cross-mpi adjust makefiles in lib tree, so they don't return an error exit code on "make clean" targets. 2016-09-06 21:28:55 -04:00
Makefile.mingw64-cross git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14867 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2016-04-22 17:51:49 +00:00
Makefile.mingw64-cross-mpi adjust makefiles in lib tree, so they don't return an error exit code on "make clean" targets. 2016-09-06 21:28:55 -04:00
Makefile.pgf90 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14928 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2016-05-03 16:11:34 +00:00
Makefile.tbird permission cleanup 2016-10-01 06:34:45 -04:00
README new Section package and start doc pages and build scripts 2017-05-04 11:22:20 -06:00
fm_exp.c git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14841 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2016-04-18 14:00:58 +00:00
meam_cleanup.F git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@421 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2007-03-22 15:21:09 +00:00
meam_data.F permission cleanup 2016-10-01 06:34:45 -04:00
meam_dens_final.F fix uninitialized data access as reported by @martok in #174 2017-06-08 13:50:17 -04:00
meam_dens_init.F permission cleanup 2016-10-01 06:34:45 -04:00
meam_force.F permission cleanup 2016-10-01 06:34:45 -04:00
meam_setup_done.F apply bugfix for MEAM provided by Wolfgang Verestek on lammps-users 2016-10-03 16:28:59 -04:00
meam_setup_global.F permission cleanup 2016-10-01 06:34:45 -04:00
meam_setup_param.F permission cleanup 2016-10-01 06:34:45 -04:00

README

MEAM (modified embedded atom method) library

Greg Wagner, Sandia National Labs
gjwagne at sandia.gov
Jan 2007

This library is in implementation of the MEAM potential, specifically
designed to work with LAMMPS.

-------------------------------------------------

This directory has source files to build a library that LAMMPS
links against when using the MEAM package.

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

You can type "make lib-meam" 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.gfortran

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

libmeam.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-meam_SYSINC = leave blank for this package
user-meam_SYSLIB = auxiliary F90 libs needed to link a F90 lib with
                  a C++ program (LAMMPS) via a C++ compiler
user-meam_SYSPATH = path(s) to where those libraries are

Because you have a F90 compiler on your system, you should have these
libraries.  But you will have to figure out which ones are needed and
where they are.  Examples of common configurations are in the
Makefile.lammps.* files.