Dear all,
I want to recompile LAMMPS with pair_sw.cpp file modified by other researchers. I find there are two directories in LAMMPS: src/ and src/MANYBODY/. Do I need to overlay all these two pair_sw.cpp with the modified file and then recompile LAMMPS?
What is the function of pair_sw.cpp in the directory src/MANYBODY/ ?
Thanks for any help.
John.
Dear all,
I want to recompile LAMMPS with pair_sw.cpp file modified by other
researchers. I find there are two directories in LAMMPS: src/ and
src/MANYBODY/. Do I need to overlay all these two pair_sw.cpp with the
modified file and then recompile LAMMPS?
What is the function of pair_sw.cpp in the directory src/MANYBODY/ ?
LAMMPS will only compile files in src into the LAMMPS executable.
when installing (or uninstalling) packages, e.g. with "make
yes-manybody", files from the corresponding subdirectory are copied
into the src folder (or removed from src for make no-<package>).
for more details see also:
http://lammps.sandia.gov/doc/Section_start.html#start-3-2
axel.