forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9961 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
d3ae4be6ef
commit
c18dd6bbc5
|
@ -2,4 +2,4 @@
|
|||
|
||||
user-atc_SYSINC =
|
||||
user-atc_SYSLIB = -llinalg
|
||||
user-atc_SYSPATH = -l../../lib/linalg
|
||||
user-atc_SYSPATH = -L../../lib/linalg
|
||||
|
|
|
@ -30,22 +30,33 @@ exist in this directory:
|
|||
libatc.a the library LAMMPS will link against
|
||||
Makefile.lammps settings the LAMMPS Makefile will import
|
||||
|
||||
Makefile.lammps is created by the make procedure, by making a copy of
|
||||
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 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-atc_SYSINC = leave blank for this package
|
||||
user-atc_SYSLIB = additional system libraries needed by this package
|
||||
user-atc_SYSLIB = BLAS and LAPACK libraries needed by this package
|
||||
user-atc_SYSPATH = path(s) to where those libraries are
|
||||
|
||||
SYSLIB must specify a BLAS library and a LAPACK library. If they are
|
||||
already installed on your system, the settings in
|
||||
Makefile.lammps.installed should suffice. 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.
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
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.
|
||||
|
|
Loading…
Reference in New Issue