diff --git a/doc/Manual.html b/doc/Manual.html index eaeb2bf1e..73ed0ae8d 100644 --- a/doc/Manual.html +++ b/doc/Manual.html @@ -1,190 +1,190 @@
LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

LAMMPS Documentation

-
(17 July 2006 version of LAMMPS) +
(1 Oct 2006 version of LAMMPS)

LAMMPS stands for Large-scale Atomic/Molecular Massively Parallel Simulator.

LAMMPS is a classical molecular dynamics simulation code designed to run efficiently on parallel computers. It was developed at Sandia National Laboratories, a US Department of Energy facility, with funding from the DOE. It is an open-source code, distributed freely under the terms of the GNU Public License (GPL).

The developers of LAMMPS are Steve Plimpton, Paul Crozier, and -Aidan Thompson who can be contacted at "sjplimp, pscrozi, athomps at +Aidan Thompson who can be contacted at sjplimp,pscrozi,athomps at sandia.gov. The LAMMPS WWW Site at http://lammps.sandia.gov has more information about the code and its uses.


The LAMMPS documentation is organized into the following sections. If you find errors or omissions in this manual or have suggestions for useful information to add, please send an email to the developers so we can improve the LAMMPS documentation.

PDF file of the entire manual, generated by htmldoc

  1. Introduction
  2. Getting started
  3. Commands
  4. How-to discussions
  5. Example problems
  6. Performance & scalability
  7. Additional tools
  8. Modifying & Extending LAMMPS
  9. Errors
  10. Future and history
diff --git a/doc/Manual.pdf b/doc/Manual.pdf index ee936e049..303a3ffbc 100644 Binary files a/doc/Manual.pdf and b/doc/Manual.pdf differ diff --git a/doc/Manual.txt b/doc/Manual.txt index 9800f0a71..ca6734691 100644 --- a/doc/Manual.txt +++ b/doc/Manual.txt @@ -1,119 +1,119 @@ "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c :link(lws,http://lammps.sandia.gov) :link(ld,Manual.html) :link(lc,Section_commands.html#comm) :line

LAMMPS Documentation :c,h3 -(17 July 2006 version of LAMMPS) :c +(1 Oct 2006 version of LAMMPS) :c LAMMPS stands for Large-scale Atomic/Molecular Massively Parallel Simulator. LAMMPS is a classical molecular dynamics simulation code designed to run efficiently on parallel computers. It was developed at Sandia National Laboratories, a US Department of Energy facility, with funding from the DOE. It is an open-source code, distributed freely under the terms of the GNU Public License (GPL). The developers of LAMMPS are "Steve Plimpton"_sjp, Paul Crozier, and -Aidan Thompson who can be contacted at "sjplimp, pscrozi, athomps at +Aidan Thompson who can be contacted at sjplimp,pscrozi,athomps at sandia.gov. The "LAMMPS WWW Site"_lws at http://lammps.sandia.gov has more information about the code and its uses. :link(sjp,http://www.cs.sandia.gov/~sjplimp) :line The LAMMPS documentation is organized into the following sections. If you find errors or omissions in this manual or have suggestions for useful information to add, please send an email to the developers so we can improve the LAMMPS documentation. "PDF file"_Manual.pdf of the entire manual, generated by "htmldoc"_http://www.easysw.com/htmldoc "Introduction"_Section_intro.html :olb,l 1.1 "What is LAMMPS"_1_1 :ulb,b 1.2 "LAMMPS features"_1_2 :b 1.3 "LAMMPS non-features"_1_3 :b 1.4 "Open source distribution"_1_4 :b 1.5 "Acknowledgments and citations"_1_5 :ule,b "Getting started"_Section_start.html :l 2.1 "What's in the LAMMPS distribution"_2_1 :ulb,b 2.2 "Making LAMMPS"_2_2 :b 2.3 "Running LAMMPS"_2_3 :b 2.4 "Command-line options"_2_4 :b 2.5 "Screen output"_2_5 :b 2.6 "Tips for users of previous versions"_2_6 :ule,b "Commands"_Section_commands.html :l 3.1 "LAMMPS input script"_3_1 :ulb,b 3.2 "Parsing rules"_3_2 :b 3.3 "Input script structure"_3_3 :b 3.4 "Commands listed by category"_3_4 :b 3.5 "Commands listed alphabetically"_3_5 :ule,b "How-to discussions"_Section_howto.html :l 4.1 "Restarting a simulation"_4_1 :ulb,b 4.2 "2d simulations"_4_2 :b 4.3 "CHARMM and AMBER force fields"_4_3 :b 4.4 "Running multiple simulations from one input script"_4_4 :b 4.5 "Parallel tempering"_4_5 :b 4.6 "Granular models"_4_6 :b 4.7 "TIP3P water model"_4_7 :b 4.8 "TIP4P water model"_4_8 :b 4.9 "SPC water model"_4_9 :b 4.9 "Coupling LAMMPS to other codes"_4_10 :ule,b "Example problems"_Section_example.html :l "Performance & scalability"_Section_perf.html :l "Additional tools"_Section_tools.html :l "Modifying & Extending LAMMPS"_Section_modify.html :l "Errors"_Section_errors.html :l 9.1 "Common problems"_9_1 :ulb,b 9.2 "Reporting bugs"_9_2 :b 9.3 "Error & warning messages"_9_3 :ule,b "Future and history"_Section_history.html :l 10.1 "Coming attractions"_10_1 :ulb,b 10.2 "Past versions"_10_2 :ule,b :ole :link(1_1,Section_intro.html#1_1) :link(1_2,Section_intro.html#1_2) :link(1_3,Section_intro.html#1_3) :link(1_4,Section_intro.html#1_4) :link(1_5,Section_intro.html#1_5) :link(2_1,Section_start.html#2_1) :link(2_2,Section_start.html#2_2) :link(2_3,Section_start.html#2_3) :link(2_4,Section_start.html#2_4) :link(2_5,Section_start.html#2_5) :link(2_6,Section_start.html#2_6) :link(3_1,Section_commands.html#3_1) :link(3_2,Section_commands.html#3_2) :link(3_3,Section_commands.html#3_3) :link(3_4,Section_commands.html#3_4) :link(3_5,Section_commands.html#3_5) :link(4_1,Section_howto.html#4_1) :link(4_2,Section_howto.html#4_2) :link(4_3,Section_howto.html#4_3) :link(4_4,Section_howto.html#4_4) :link(4_5,Section_howto.html#4_5) :link(4_6,Section_howto.html#4_6) :link(4_7,Section_howto.html#4_7) :link(4_8,Section_howto.html#4_8) :link(4_9,Section_howto.html#4_9) :link(4_10,Section_howto.html#4_10) :link(9_1,Section_errors.html#9_1) :link(9_2,Section_errors.html#9_2) :link(9_3,Section_errors.html#9_3) :link(10_1,Section_history.html#10_1) :link(10_2,Section_history.html#10_2) diff --git a/doc/Section_errors.html b/doc/Section_errors.html index 5d291ff64..61def8921 100644 --- a/doc/Section_errors.html +++ b/doc/Section_errors.html @@ -1,2658 +1,2774 @@
Previous Section - LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands - Next Section

9. Errors

This section describes the various kinds of errors you can encounter when using LAMMPS.

9.1 Common problems
9.2 Reporting bugs
9.3 Error & warning messages

9.1 Common problems

If two LAMMPS runs do not produce the same answer on different machines or different numbers of processors, this is typically not a bug. In theory you should get identical answers on any number of processors and on any machine. In practice, numerical round-off can cause slight differences and eventual divergence of molecular dynamics phase space trajectories within a few 100s or few 1000s of timesteps. However, the statistical properties of the two runs (e.g. average energy or temperature) should still be the same.

If the velocity command is used to set initial atom velocities, a particular atom can be assigned a different velocity when the problem on different machines. Obviously, this means the phase space trajectories of the two simulations will rapidly diverge. See the discussion of the loop option in the velocity command for details.

A LAMMPS simulation typically has two stages, setup and run. Most LAMMPS errors are detected at setup time; others like a bond stretching too far may not occur until the middle of a run.

LAMMPS tries to flag errors and print informative error messages so you can fix the problem. Of course LAMMPS cannot figure out your physics mistakes, like choosing too big a timestep, specifying invalid force field coefficients, or putting 2 atoms on top of each other! If you find errors that LAMMPS doesn't catch that you think it should flag, please send an email to the developers.

If you get an error message about an invalid command in your input script, you can determine what command is causing the problem by looking in the log.lammps file or using the echo command to see it on the screen. For a given command, LAMMPS expects certain arguments in a specified order. If you mess this up, LAMMPS will often flag the error, but it may read a bogus argument and assign a value that is valid, but not what you wanted. E.g. trying to read the string "abc" as an integer value and assigning the associated variable a value of 0.

Generally, LAMMPS will print a message to the screen and exit gracefully when it encounters a fatal error. Sometimes it will print a WARNING and continue on; you can decide if the WARNING is important or not. If LAMMPS crashes or hangs without spitting out an error message first then it could be a bug (see this section) or one of the following cases:

LAMMPS runs in the available memory a processor allows to be allocated. Most reasonable MD runs are compute limited, not memory limited, so this shouldn't be a bottleneck on most platforms. Almost all large memory allocations in the code are done via C-style malloc's which will generate an error message if you run out of memory. Smaller chunks of memory are allocated via C++ "new" statements. If you are unlucky you could run out of memory just when one of these small requests is made, in which case the code will crash or hang (in parallel), since LAMMPS doesn't trap on those errors.

Illegal arithmetic can cause LAMMPS to run slow or crash. This is typically due to invalid physics and numerics that your simulation is computing. If you see wild thermodynamic values or NaN values in your LAMMPS output, something is wrong with your simulation.

In parallel, one way LAMMPS can hang is due to how different MPI implementations handle buffering of messages. If the code hangs without an error message, it may be that you need to specify an MPI setting or two (usually via an environment variable) to enable buffering or boost the sizes of messages that can be buffered.


9.2 Reporting bugs

If you are confident that you have found a bug in LAMMPS, please send an email to the developers.

First, check the "New features and bug fixes" section of the LAMMPS WWW site to see if the bug has already been reported or fixed.

If not, the most useful thing you can do for us is to isolate the problem. Run it on the smallest number of atoms and fewest number of processors and with the simplest input script that reproduces the bug.

In your email, describe the problem and any ideas you have as to what is causing it or where in the code the problem might be. We'll request your input script and data files if necessary.


9.3 Error & warning Messages

These are two alphabetic lists of the ERROR and WARNING messages LAMMPS prints out and the reason why. If the explanation here is not sufficient, the documentation for the offending command may help. Grepping the source files for the text of the error message and staring at the source code and comments is also not a bad idea! Note that sometimes the same message can be printed from multiple places in the code.

Errors:

1-3 bond count is inconsistent
An inconsistency was detected when computing the number of 1-3 neighbors for each atom. This likely means something is wrong with the bond topologies you have defined.
1-4 bond count is inconsistent
An inconsistency was detected when computing the number of 1-4 neighbors for each atom. This likely means something is wrong with the bond topologies you have defined.
All angle coeffs are not set
All angle coefficients must be set in the data file or by the angle_coeff command before running a simulation.
All bond coeffs are not set
All bond coefficients must be set in the data file or by the bond_coeff command before running a simulation.
All EAM pair coeffs are not set
All EAM pair coefficients must be set in the data file or by the pair_coeff command before running a simulation.
All dihedral coeffs are not set
All dihedral coefficients must be set in the data file or by the dihedral_coeff command before running a simulation.
All dipole moments are not set
For atom styles that define dipole moments for each atom type, all moments must be set in the data file or by the dipole command before running a simulation.
All improper coeffs are not set
All improper coefficients must be set in the data file or by the improper_coeff command before running a simulation.
All masses are not set
For atom styles that define masses for each atom type, all masses must be set in the data file or by the mass command before running a simulation. They must also be set before using the velocity command.
All pair coeffs are not set
All pair coefficients must be set in the data file or by the pair_coeff command before running a simulation.
All universe variables must have same # of values
Self-explanatory.
All variables in next command must be same style
Self-explanatory.
Angle atoms %d %d %d missing on proc %d at step %d
One or more of 3 atoms needed to compute a particular angle are missing on this processor. Typically this is because the pairwise cutoff is set too short or the angle has blown apart and an atom is too far away.
Angle atom missing in delete_bonds
The delete_bonds command cannot find one or more atoms in a particular angle on a particular processor. The pairwise cutoff is too short or the atoms are too far apart to make a valid angle.
Angle atom missing in set command
The set command cannot find one or more atoms in a particular angle on a particular processor. The pairwise cutoff is too short or the atoms are too far apart to make a valid angle.
Angle coeffs are not set
No angle coefficients have been assigned in the data file or via the angle_coeff command.
Angle_coeff command before angle_style is defined
Coefficients cannot be set in the data file or via the angle_coeff command until an angle_style has been assigned.
Angle_coeff command before simulation box is defined
The angle_coeff command cannot be used before a read_data, read_restart, or create_box command.
Angle_coeff command when no angles allowed
The chosen atom style does not allow for angles to be defined.
Angle coeff for hybrid has invalid style
Angle style hybrid uses another angle style as one of its coefficients. The angle style used in the angle_coeff command or read from a restart file is not recognized.
Angles assigned incorrectly
Angles read in from the data file were not assigned correctly to atoms. This means there is something invalid about the topology definitions.
Angles defined but no angle types
The data file header lists angles but no angle types.
Angle style hybrid cannot have hybrid as an argument
Self-explanatory.
Angle style hybrid cannot use same angle style twice
Self-explanatory. +
Another input script is already being processed + +
Cannot attempt to open a 2nd input script, when the original file is +still being processed. +
Atom count is inconsistent, cannot write restart file
Sum of atoms across processors does not equal initial total count. This is probably because you have lost some atoms.
Atom IDs must be consecutive for dump dcd
Self-explanatory.
Atom IDs must be consecutive for dump xtc
Self-explanatory.
Atom IDs must be consecutive for dump xyz
Self-explanatory.
Atom in too many rigid bodies - boost MAXBODY
Fix poems has a parameter MAXBODY (in fix_poems.cpp) which determines the maximum number of rigid bodies a single atom can belong to (i.e. a multibody joint). The bodies you have defined exceed this limit.
Atom_modify command after simulation box is defined
The atom_modify command cannot be used after a read_data, read_restart, or create_box command.
Atom_modify command before atom_style command
The atom_modify command cannot be used before an atom style has been defined.
Atom style granular and dpd cannot be used together
Self-explanatory. -
Atom style granular must perform 3d simulations - -
Atom style granular cannot be used with 2d simulations, because -the pairwise potentials are inherently 3d. -
Atom style hybrid cannot have hybrid as an argument
Self-explanatory. Check the input script.
Atom_style command after simulation box is defined
The atom_style command cannot be used after a read_data, read_restart, or create_box command.
Attempting to rescale a 0.0 temperature
Cannot rescale a temperature that is already 0.0.
Bad FENE bond
Two atoms in a FENE bond have become so far apart that the bond cannot be computed.
Bad grid of processors
The 3d grid of processors defined by the processors command does not match the number of processors LAMMPS is being run on.
Bad principal moments
Fix rigid did not compute the principal moments of inertia of a rigid group of atoms correctly.
Bad slab parameter
Kspace_modify value for the slab/volume keyword must be >= 2.0.
Bitmapped lookup tables require int/float be same size
Cannot use pair tables on this machine, because of word sizes. Use the pair_modify command with table 0 instead.
Bitmapped table is incorrect length in table file
Number of table entries is not a correct power of 2.
Bitmapped table in file does not match requested table
Setting for bitmapped table in pair_coeff command must match table in file exactly.
Bond and angle potentials must be defined for TIP4P
Cannot use TIP4P pair potential unless bond and angle potentials are defined.
Bond atom missing in delete_bonds
The delete_bonds command cannot find one or more atoms in a particular bond on a particular processor. The pairwise cutoff is too short or the atoms are too far apart to make a valid bond.
Bond atom missing in set command
The set command cannot find one or more atoms in a particular bond on a particular processor. The pairwise cutoff is too short or the atoms are too far apart to make a valid bond.
Bond atoms %d %d missing on proc %d at step %d
One or more of 2 atoms needed to compute a particular bond are missing on this processor. Typically this is because the pairwise cutoff is set too short or the bond has blown apart and an atom is too far away.
Bond coeff for hybrid has invalid style
Bond style hybrid uses another bond style as one of its coefficients. The bond style used in the bond_coeff command or read from a restart file is not recognized.
Bond_coeff command before bond_style is defined
Coefficients cannot be set in the data file or via the bond_coeff command until an bond_style has been assigned.
Bond_coeff command before simulation box is defined
The bond_coeff command cannot be used before a read_data, read_restart, or create_box command.
Bond_coeff command when no bonds allowed
The chosen atom style does not allow for bonds to be defined.
Bond coeffs are not set
No bond coefficients have been assigned in the data file or via the bond_coeff command.
Bond potential must be defined for SHAKE
Cannot use fix shake unless bond potential is defined.
Bonds assigned incorrectly
Bonds read in from the data file were not assigned correctly to atoms. This means there is something invalid about the topology definitions.
Bonds defined but no bond types
The data file header lists bonds but no bond types.
Bond style hybrid cannot have hybrid as an argument
Self-explanatory. Check the input script.
Bond style hybrid cannot use same bond style twice
The sub-style arguments of bond_style hybrid cannot be duplicated. Check the input script.
Bond style quartic cannot be used with 3,4-body interactions
No angle, dihedral, or improper styles can be defined when using bond style quartic.
Both sides of boundary must be periodic
Cannot specify a boundary as periodic only on the lo or hi side. Must be periodic on both sides.
Boundary command after simulation box is defined
The boundary command cannot be used after a read_data, read_restart, or create_box command.
Box bounds are invalid
The box boundaries specified in the read_data file are invalid. The lo value must be less than the hi value for all 3 dimensions.
Can only wiggle zcylinder wall in z dim
The Self-explanatory.
Cannot change dump_modify every for dump dcd
The frequency of writing dump dcd snapshots cannot be changed.
Cannot compute PPPM G
LAMMPS failed to compute a valid approximation for the PPPM g_ewald factor that partitions the computation between real space and k-space.
Cannot compute PPPM X grid spacing
LAMMPS failed to compute a valid PPPM grid spacing in the x dimension.
Cannot compute PPPM Y grid spacing
LAMMPS failed to compute a valid PPPM grid spacing in the y dimension.
Cannot compute PPPM Z grid spacing
LAMMPS failed to compute a valid PPPM grid spacing in the z dimension.
Cannot create atoms with undefined lattice
Must use the lattice command before using the create_atoms command. +
Cannot create an atom map unless atoms have IDs + +
The simulation requires a mapping from global atom IDs to local atoms, +but the atoms that have been defined have no IDs. +
Cannot create_box after simulation box is defined
The create_box command cannot be used after a read_data, read_restart, or create_box command.
Cannot create_box until atom_style is defined
Self-explanatory. -
Cannot create vels with loop all for non-contiguous atom IDs - -
You cannot use the loop all option if you atom IDs do not span 1 to natoms -
Cannot evaluate variable equal command
Syntax or keyword names in mathematical expression are not recognized.
Cannot find delete_bonds group ID
Group ID used in the delete_bonds command does not exist.
Cannot find set command group ID
Group ID used in the set command does not exist.
Cannot fix nph on a non-periodic dimension
Pressure can only be controlled on a dimension that is periodic.
Cannot fix npt on a non-periodic dimension
Pressure can only be controlled on a dimension that is periodic.
Cannot fix volume/rescale on a non-periodic boundary
Volume can only be rescaled on a dimension that is periodic.
Cannot fix uniaxial on non-periodic system
Volume can only be rescaled uniaxially if system is periodic in all 3 dimensions. -
Cannot invoke single() with pairwise TIP4P potential +
Cannot have both pair_modify shift and tail set to yes -
Commands that invoke the single() function within pairwise potentials -cannot be used with a TIP4P potential, due to the way it computes -forces on other atoms besides the i,j pair. This includes the eng and -stress tensor components for the dump custom command. +
These 2 options are contradictory. + +
Cannot open dir to search for restart file + +
Using a "*" in the name of the restart file will open the current +directory to search for matching file names. + +
Cannot open dump file + +
The output file for the dump command cannot be opened. Check that the +path and name are correct.
Cannot open EAM potential file %s
The specified EAM potential file cannot be opened. Check that the path and name are correct.
Cannot open file %s
The specified file cannot be opened. Check that the path and name are correct.
Cannot open fix com file %s
The output file for the fix com command cannot be opened. Check that the path and name are correct.
Cannot open fix gran/diag file %s
The output file for the fix gran/diag command cannot be opened. Check that the path and name are correct. +
Cannot open fix gyration file %s + +
Self-explanatory. +
Cannot open fix msd file %s
The output file for the fix msd command cannot be opened. Check that the path and name are correct.
Cannot open fix poems file %s
The specified file cannot be opened. Check that the path and name are correct.
Cannot open fix rdf file %s
The output file for the fix rdf command cannot be opened. Check that the path and name are correct.
Cannot open fix tmd file %s
The output file for the fix tmd command cannot be opened. Check that the path and name are correct.
Cannot open gzipped file
LAMMPS is attempting to open a gzipped version of the specified file but was unsuccessful. Check that the path and name are correct. +
Cannot open input script %s + +
Self-explanatory. + +
Cannot open input script %s + +
Self-explanatory. + +
Cannot open logfile + +
The LAMMPS log file named in a command-line argument cannot be opened. +Check that the path and name are correct. + +
Cannot open logfile %s + +
The LAMMPS log file specified in the input script cannot be opened. +Check that the path and name are correct. + +
Cannot open log.lammps + +
The default LAMMPS log file cannot be opened. Check that the +directory you are running in allows for files to be created. +
Cannot open pair_write file
The specified output file for pair energies and forces cannot be opened. Check that the path and name are correct.
Cannot open restart file %s -
The output restart file cannot be opened. Check that the path and -name are correct and that disk space is available. +
Self-explanatory. + +
Cannot open screen file + +
The screen file specified as a command-line argument cannot be +opened. Check that the directory you are running in allows for files +to be created. + +
Cannot open universe log file + +
For a multi-partition run, the master log file cannot be opened. +Check that the directory you are running in allows for files to be +created. + +
Cannot open universe screen file + +
For a multi-partition run, the master screen file cannot be opened. +Check that the directory you are running in allows for files to be +created.
Cannot read_data after simulation box is defined
The read_data command cannot be used after a read_data, read_restart, or create_box command.
Cannot read_data until atom_style is defined
Self-explanatory.
Cannot read_restart after simulation box is defined
The read_restart command cannot be used after a read_data, read_restart, or create_box command.
Cannot redefine variable as a different style
The variable was already used as a different style variable.
Cannot replicate 2d simulation in z dimension
The replicate command cannot replicate a 2d simulation in the z dimension.
Cannot replicate with fixes that store atom quantities
Either fixes are defined that create and store atom-based vectors or a restart file was read which included atom-based vectors for fixes. The replicate command cannot duplicate that information for new atoms. You should use the replicate command before fixes are applied to the system.
Cannot run 2d simulation with nonperiodic Z dimension
Use the boundary command to make the z dimension periodic in order to run a 2d simulation.
Cannot set both respa pair and inner/middle/outer
In the rRESPA integrator, you must compute pairwise potentials either all together (pair), or in pieces (inner/middle/outer). You can't do both.
Cannot set dipole for this atom style
This atom style does not support dipole settings for each atom type.
Cannot set dump_modify flush for dump xtc
Self-explanatory.
Cannot set mass for this atom style
This atom style does not support mass settings for each atom type. Instead they are defined on a per-atom basis in the data file.
Cannot set respa middle without inner/outer
In the rRESPA integrator, you must define both a inner and outer setting in order to use a middle setting. -
Cannot set these values with this atom style +
Cannot set this attribute for this atom style -
Choice of set style does not match attribute of atom style. +
The attribute being set does not exist for the defined atom style.
Cannot use atom style granular with chosen thermo settings
Cannot output temperature or pressure with atom style granular. +
Cannot use delete_atoms unless atoms have IDs + +
Your atoms do not have IDs, so the delete_atoms command cannot be +used. +
Cannot use delete_bonds with non-molecular system
Your choice of atom style does not have bonds.
Cannot use dump bond with non-molecular system
Your choice of atom style does not have bonds.
Cannot use Ewald with 2d simulation
The kspace style ewald cannot be used in 2d simulations. You can use 2d Ewald in a 3d simulation; see the kspace_modify command.
Cannot use fix gravity vector with atom style granular
Self-explanatory. +
Cannot use fix nph with no per-type mass defined + +
The defined atom style uses per-atom mass, not per-type mass. + +
Cannot use fix npt with no per-type mass defined + +
The defined atom style uses per-atom mass, not per-type mass. + +
Cannot zero momentum of 0 atoms + +
The collection of atoms for which momentum is being computed has no +atoms. + +
Cannot use fix nvt with no per-type mass defined + +
The defined atom style uses per-atom mass, not per-type mass. +
Cannot use fix poems with atom style granular
This fix is not yet enabled for this atom style.
Cannot use fix rigid with atom style granular
This fix is not yet enabled for this atom style.
Cannot use fix shake with non-molecular system
Your choice of atom style does not have bonds. -
Cannot use multiple long-range potentials with pair hybrid - -
Only one sub-style potential with a long-range component can be -used with pair_style hybrid. -
Cannot use nonperiodic boundaries with Ewald
For kspace style ewald, all 3 dimensions must have periodic boundaries unless you use the kspace_modify command to define a 2d slab with a non-periodic z dimension.
Cannot use nonperiodic boundaries with PPPM
For kspace style pppm, All 3 dimensions must have periodic boundaries unless you use the kspace_modify command to define a 2d slab with a non-periodic z dimension. +
Cannot use pair tail corrections with 2d simulations + +
The correction factors are only currently defined for 3d systems. +
Cannot use PPPM with 2d simulation
The kspace style pppm cannot be used in 2d simulations. You can use 2d PPPM in a 3d simulation; see the kspace_modify command.
Cannot use region INF when box does not exist
Regions that extend to the box boundaries can only be used after the create_box command has been used. +
Cannot use rRESPA with full neighbor lists + +
Defined pair style uses full neighbor lists (as opposed to +half neighbor lists), which are incompatible with the current +implementation of rRESPA. +
Cannot use vectors in variables unless atom map exists
Vectors require an atom map to be able to lookup the vector index. Only atom styles with molecular information creat a global map. -
Cannot zero momentum for less than 2 atoms +
Cannot use velocity create loop all unless atoms have IDs + +
Atoms in the simulation to do not have IDs, so this style +of velocity creation cannot be performed. -
Velocity command is being used with momentum-zeroing options on a -group with 0 or 1 atoms. +
Cannot use velocity create loop all with non-contiguous atom IDs + +
Atoms in the simulation to do not have consecutive IDs, so this style +of velocity creation cannot be performed.
Command-line variable already exists
Cannot use the -var command-line option to define the same variable more than once.
Could not create 3d FFT plan
The FFT setup in pppm failed.
Could not create 3d remap plan
The FFT setup in pppm failed.
Could not find delete_atoms group ID
Group ID used in the delete_atoms command does not exist.
Could not find delete_atoms region ID
Region ID used in the delete_atoms command does not exist.
Could not find displace_atoms group ID
A group ID used in the displace_atoms command does not exist.
Cound not find dump_modify ID
A dump ID used in the dump_modify command does not exist.
Could not find dump group ID
A group ID used in the dump command does not exist.
Could not find fix group ID
A group ID used in the fix command does not exist. -
Could not find fix poems group ID - -
A group ID used in the fix poems command does not exist. - -
Could not find fix rigid group ID - -
A group ID used in the fix rigid command does not exist. -
Could not find fix_modify ID
A fix ID used in the fix_modify command does not exist.
Could not find fix_modify temperature ID
A temperature ID used in the fix_modify command does not exist. -
Could not find fix spring vector group ID +
Could not find fix poems group ID + +
A group ID used in the fix poems command does not exist. + +
Could not find fix recenter group ID + +
A group ID used in the fix recenter command does not exist. + +
Could not find fix rigid group ID + +
A group ID used in the fix rigid command does not exist. + +
Could not find fix spring couple group ID -
Group ID used with fix spring command does not exist. +
Self-explanatory.
Could not find temp_modify ID
A temperature ID used in the temp_modify command does not exist.
Could not find temperature group ID
A group ID used in the temperature command does not exist.
Could not find thermo temperature ID
A temperature ID used in the thermo custom style does not exist.
Could not find thermo_modify temperature ID
A temperature ID used in the thermo_modify command does not exist.
Could not find undump ID
A dump ID used in the undump command does not exist.
Could not find unfix ID
A fix ID used in the unfix command does not exist.
Could not find velocity group ID
A group ID used in the velocity command does not exist.
Could not find velocity temperature ID
A temperature ID used in the velocity command does not exist. -
Could not open dump file - -
The output file for the dump command cannot be opened. Check that the -path and name are correct. - -
Could not open input script - -
The input script file named in a command-line argument could not be -opened. - -
Could not open log.lammps - -
The default LAMMPS log file cannot be opened. Check that the -directory you are running in allows for files to be created. - -
Could not open logfile - -
The LAMMPS log file named in a command-line argument cannot be opened. -Check that the path and name are correct. - -
Could not open logfile %s - -
The LAMMPS log file specified in the input script cannot be opened. -Check that the path and name are correct. - -
Could not open new input file %s - -
The input script file named in an include or jump command could not be -opened. Check that the path and name are correct. - -
Could not open screen file - -
The screen file specified as a command-line argument cannot be -opened. Check that the directory you are running in allows for files -to be created. - -
Could not open universe log file - -
For a multi-partition run, the master log file cannot be opened. -Check that the directory you are running in allows for files to be -created. - -
Could not open universe screen file - -
For a multi-partition run, the master screen file cannot be opened. -Check that the directory you are running in allows for files to be -created. -
Create_atoms command before simulation box is defined
The create_atoms command cannot be used before a read_data, read_restart, or create_box command.
Create_atoms region ID does not exist
A region ID used in the create_atoms command does not exist.
Create_box region must be of type inside
The region used in the create_box command must not be an "outside" region. See the region command for details.
Create_box region ID does not exist
A region ID used in the create_box command does not exist.
Cyclic loop in joint connections
Fix poems cannot (yet) work with coupled bodies whose joints connect the bodies in a ring (or cycle).
Delete_atoms command before simulation box is defined
The delete_atoms command cannot be used before a read_data, read_restart, or create_box command.
Delete_atoms cutoff > neighbor cutoff
Cannot use a cutoff with delete_atoms overlap that is larger than the force cutoff + neighbor skin.
Delete_bonds command before simulation box is defined
The delete_bonds command cannot be used before a read_data, read_restart, or create_box command.
Delete_bonds command with no atoms existing
No atoms are yet defined so the delete_bonds command cannot be used.
Did not assign all atoms correctly
Atoms read in from a data file were not assigned correctly to processors. This is likely due to some atom coordinates being outside a non-periodic simulation box.
Did not find keyword in table file
Keyword used in pair_coeff command was not found in table file.
Did not find fix shake partner info
Could not find bond partners implied by fix shake command. This error can be triggered if the delete_bonds command was used before fix shake, and it removed bonds without resetting the 1-2, 1-3, 1-4 weighting list via the special keyword.
Dihedral atoms %d %d %d %d missing on proc %d at step %d
One or more of 4 atoms needed to compute a particular dihedral are missing on this processor. Typically this is because the pairwise cutoff is set too short or the dihedral has blown apart and an atom is too far away.
Dihedral atom missing in delete_bonds
The delete_bonds command cannot find one or more atoms in a particular dihedral on a particular processor. The pairwise cutoff is too short or the atoms are too far apart to make a valid dihedral.
Dihedral atom missing in set command
The set command cannot find one or more atoms in a particular dihedral on a particular processor. The pairwise cutoff is too short or the atoms are too far apart to make a valid dihedral.
Dihedral_coeff command before dihedral_style is defined
Coefficients cannot be set in the data file or via the dihedral_coeff command until an dihedral_style has been assigned.
Dihedral_coeff command before simulation box is defined
The dihedral_coeff command cannot be used before a read_data, read_restart, or create_box command.
Dihedral_coeff command when no dihedrals allowed
The chosen atom style does not allow for dihedrals to be defined.
Dihedral coeff for hybrid has invalid style
Dihedral style hybrid uses another dihedral style as one of its coefficients. The dihedral style used in the dihedral_coeff command or read from a restart file is not recognized.
Dihedral coeffs are not set
No dihedral coefficients have been assigned in the data file or via the dihedral_coeff command.
Dihedrals assigned incorrectly
Dihedrals read in from the data file were not assigned correctly to atoms. This means there is something invalid about the topology definitions.
Dihedrals defined but no dihedral types
The data file header lists dihedrals but no dihedral types.
Dihedral style hybrid cannot have hybrid as an argument
Self-explanatory.
Dihedral style hybrid cannot use same dihedral style twice
Self-explanatory.
Dimension command after simulation box is defined
The dimension command cannot be used after a read_data, read_restart, or create_box command.
Dipole command before simulation box is defined
The dipole command cannot be used before a read_data, read_restart, or create_box command.
Displace_atoms command before simulation box is defined
The displace_atoms command cannot be used before a read_data, read_restart, or create_box command.
Dump dcd must use group all
Self-explanatory.
Dump dcd of non-matching # of atoms
Every snapshot written by dump dcd must contain the same # of atoms.
Dump xtc must use group all
Self-explanatory.
Dump_modify region ID does not exist
Self-explanatory.
Dump xtc must use group all
Self-explanatory.
Failed to allocate %d bytes for array %s
Your LAMMPS simulation has run out of memory. You need to run a smaller simulation or on more processors.
Failed to reallocate %d bytes for array %s
Your LAMMPS simulation has run out of memory. You need to run a smaller simulation or on more processors.
Fix command before simulation box is defined
The fix command cannot be used before a read_data, read_restart, or create_box command.
Fix insert region ID does not exist
A region ID used in the fix insert command does not exist.
Fix langevin period must be > 0.0
The time window for temperature relaxation must be > 0
Fix langevin region ID does not exist
Self-explanatory. +
Fix msd group has no atoms + +
Cannot compute diffusion for no atoms. + +
Fix momentum group has no atoms + +
Self-explanatory. +
Fix nph periods must be > 0.0
The time window for pressure relaxation must be > 0
Fix npt periods must be > 0.0
The time window for temperature or pressure relaxation must be > 0
Fix nvt period must be > 0.0
The time window for temperature relaxation must be > 0
Fix orient/fcc file open failed
The fix orient/fcc command could not open a specified file.
Fix orient/fcc file read failed
The fix orient/fcc command could not read the needed parameters from a specified file.
Fix orient/fcc found self twice
The neighbor lists used by fix orient/fcc are messed up. If this error occurs, it is likely a bug, so send an email to the developers.
Fix rdf requires a pair style be defined
Cannot use the rdf fix unless a pair style with a cutoff has been defined. +
Fix recenter group has no atoms + +
Self-explanatory. +
Fix temp/rescale region ID does not exist
Self-explanatory.
Fix tmd must come after integration fixes
Any fix tmd command must appear in the input script after all time integration fixes (nve, nvt, npt). See the fix tmd documentation for details.
Fix wall/gran can only be used with granular pair style
Self-explanatory. +
Found no restart file matching pattern + +
When using a "*" in the restart file name, no matching file was found. +
Granular pair styles do not use pair_coeff settings
The pair_coeff command cannot be used with granular force fields. -
Gravity must point in -z to use with fix insert +
Gravity must point in -y to use with fix insert in 2d + +
Gravity must be pointing "down" in a 2d box. -
The fix insert command assumes the theta angle for gravity is 180.0. +
Gravity must point in -z to use with fix insert in 3d + +
Gravity must be pointing "down" in a 3d box, i.e. theta = 180.0.
Group command before simulation box is defined
The group command cannot be used before a read_data, read_restart, or create_box command.
Group ID does not exist
A group ID used in the group command does not exist.
Group region ID does not exist
A region ID used in the group command does not exist.
Illegal ... command
Self-explanatory. Check the input script syntax and compare to the -documentation for the command. +documentation for the command. You can use -echo screen as a +command-line option when running LAMMPS to see what is the offending +line.
Improper atoms %d %d %d %d missing on proc %d at step %d
One or more of 4 atoms needed to compute a particular improper are missing on this processor. Typically this is because the pairwise cutoff is set too short or the improper has blown apart and an atom is too far away.
Improper atom missing in delete_bonds
The delete_bonds command cannot find one or more atoms in a particular improper on a particular processor. The pairwise cutoff is too short or the atoms are too far apart to make a valid improper.
Improper atom missing in set command
The set command cannot find one or more atoms in a particular improper on a particular processor. The pairwise cutoff is too short or the atoms are too far apart to make a valid improper.
Improper_coeff command before improper_style is defined
Coefficients cannot be set in the data file or via the improper_coeff command until an improper_style has been assigned.
Improper_coeff command before simulation box is defined
The improper_coeff command cannot be used before a read_data, read_restart, or create_box command.
Improper_coeff command when no impropers allowed
The chosen atom style does not allow for impropers to be defined.
Improper coeff for hybrid has invalid style
Improper style hybrid uses another improper style as one of its coefficients. The improper style used in the improper_coeff command or read from a restart file is not recognized.
Improper coeffs are not set
No improper coefficients have been assigned in the data file or via the improper_coeff command.
Impropers assigned incorrectly
Impropers read in from the data file were not assigned correctly to atoms. This means there is something invalid about the topology definitions.
Impropers defined but no improper types
The data file header lists improper but no improper types.
Improper style hybrid cannot have hybrid as an argument
Self-explanatory.
Improper style hybrid cannot use same improper style twice
Self-explanatory.
Inconsistent dipole settings for some atoms
Dipole moment must be 0 for non-dipole type atoms. Dipole moment must be set for dipole type atoms.
Incorrect args for angle coefficients
Self-explanatory. Check the input script or data file.
Incorrect args for bond coefficients
Self-explanatory. Check the input script or data file.
Incorrect args for dihedral coefficients
Self-explanatory. Check the input script or data file.
Incorrect args for improper coefficients
Self-explanatory. Check the input script or data file.
Incorrect args for pair coefficients
Self-explanatory. Check the input script or data file.
Incorrect atom format in data file
Number of values per atom line in the data file is not consistent with the atom style.
Incorrect boundaries with slab Ewald
Must have periodic x,y dimensions and non-periodic z dimension to use 2d slab option with Ewald.
Incorrect boundaries with slab PPPM
Must have periodic x,y dimensions and non-periodic z dimension to use 2d slab option with PPPM.
Incorrect format in TMD target file
Format of file read by fix tmd command is incorrect.
Incorrect multiplicity arg for dihedral coefficients
Self-explanatory. Check the input script or data file.
Incorrect sign arg for dihedral coefficients
Self-explanatory. Check the input script or data file.
Incorrect weight arg for dihedral coefficients
Self-explanatory. Check the input script or data file.
Insertion region extends outside simulation box
Region specified with fix insert command extends outside the global simulation box.
Insufficient Jacobi rotations for POEMS body
Eigensolve for rigid body was not sufficiently accurate.
Insufficient Jacobi rotations for rigid body
Eigensolve for rigid body was not sufficiently accurate. -
Invalid $ variable - -
The character following a $ in the input script is not between "a" and -"z". -
Invalid angle style
The choice of angle style is unknown.
Invalid angle type in Angles section of data file
Angle type must be positive integer and within range of specified angle types.
Invalid angle type index for fix shake
Self-explanatory.
Invalid atom ID in Angles section of data file
Atom IDs must be positive integers and within range of defined atoms.
Invalid atom ID in Atoms section of data file
Atom IDs must be positive integers.
Invalid atom ID in Bonds section of data file
Atom IDs must be positive integers and within range of defined atoms.
Invalid atom ID in Dihedrals section of data file
Atom IDs must be positive integers and within range of defined atoms.
Invalid atom ID in Impropers section of data file
Atom IDs must be positive integers and within range of defined atoms.
Invalid atom ID in Velocities section of data file
Atom IDs must be positive integers and within range of defined atoms.
Invalid atom mass for fix shake
Mass specified in fix shake command must be > 0.0.
Invalid atom style
The choice of atom style is unknown.
Invalid atom type in Atoms section of data file
Atom types must range from 1 to specified # of types.
Invalid atom type in neighbor exclusion list
Atom types must range from 1 to Ntypes inclusive.
Invalid atom type index for fix shake
Atom types must range from 1 to Ntypes inclusive.
Invalid atom types in fix rdf command
Atom types must range from 1 to Ntypes inclusive.
Invalid atom types in pair_write command
Atom types must range from 1 to Ntypes inclusive.
Invalid bond style
The choice of bond style is unknown.
Invalid bond type in Bonds section of data file
Bond type must be positive integer and within range of specified bond types.
Invalid bond type index for fix shake
Self-explanatory. Check the fix shake command in the input script.
Invalid coeffs for this angle style
Cannot set class 2 coeffs in data file for this angle style.
Invalid coeffs for this dihedral style
Cannot set class 2 coeffs in data file for this dihedral style.
Invalid coeffs for this improper style
Cannot set class 2 coeffs in data file for this improper style.
Invalid command-line argument
One or more command-line arguments is invalid. Check the syntax of the command you are using to launch LAMMPS.
Invalid cutoffs in pair_write command
Inner cutoff must be larger than 0.0 and less than outer cutoff.
Invalid data file section: Angle Coeffs
Atom style does not allow angles.
Invalid data file section: AngleAngle Coeffs
Atom style does not allow impropers.
Invalid data file section: AngleAngleTorsion Coeffs
Atom style does not allow dihedrals.
Invalid data file section: AngleTorsion Coeffs
Atom style does not allow dihedrals.
Invalid data file section: Angles
Atom style does not allow angles.
Invalid data file section: Bond Coeffs
Atom style does not allow bonds.
Invalid data file section: BondAngle Coeffs
Atom style does not allow angles.
Invalid data file section: BondBond Coeffs
Atom style does not allow angles.
Invalid data file section: BondBond13 Coeffs
Atom style does not allow dihedrals.
Invalid data file section: Bonds
Atom style does not allow bonds.
Invalid data file section: Dihedral Coeffs
Atom style does not allow dihedrals.
Invalid data file section: Dihedrals
Atom style does not allow dihedrals.
Invalid data file section: EndBondTorsion Coeffs
Atom style does not allow dihedrals.
Invalid data file section: Improper Coeffs
Atom style does not allow impropers.
Invalid data file section: Impropers
Atom style does not allow impropers.
Invalid data file section: MiddleBondTorsion Coeffs
Atom style does not allow dihedrals.
Invalid dihedral style
The choice of dihedral style is unknown.
Invalid dihedral type in Dihedrals section of data file
Dihedral type must be positive integer and within range of specified dihedral types.
Invalid dump dcd filename
Filenames used with the dump dcd style cannot be binary or compressed or cause multiple files to be written.
Invalid dump frequency
Dumps frequency must be 1 or greater.
Invalid dump_modify threshhold operator
Operator keyword used for threshhold specification in not recognized.
Invalid dump style
The choice of dump style is unknown.
Invalid dump xtc filename
Filenames used with the dump xtc style cannot be binary or compressed or cause multiple files to be written.
Invalid dump xyz filename
Filenames used with the dump xyz style cannot be binary or cause files to be written by each processor.
Invalid group ID in neigh_modify command
A group ID used in the neigh_modify command does not exist.
Invalid fix style
The choice of fix style is unknown.
Invalid flag in header of restart file
Value read from beginning of restart file is not recognized.
Invalid improper style
The choice of improper style is unknown.
Invalid improper type in Impropers section of data file
Improper type must be positive integer and within range of specified improper types.
Invalid keyword in dump custom command
One or more attribute keywords are not recognized.
Invalid keyword in pair table parameters
Keyword used in list of table parameters is not recognized.
Invalid keyword in thermo_style command
One or more attribute keywords are not recognized.
Invalid keyword in variable equal command
One or more attribute keywords are not recognized.
Invalid kspace style
The choice of kspace style is unknown.
Invalid natoms for dump dcd
Natoms is initially 0 which is not valid for the dump dcd style. Natoms must be constant for the duration of the simulation.
Invalid natoms for dump xtc
Natoms is initially 0 which is not valid for the dump xtc style.
Invalid natoms for dump xyz
Natoms is initially 0 which is not valid for the dump xyz style.
Invalid order of forces within respa levels
For respa, ordering of force computations within respa levels must obey certain rules. E.g. bonds cannot be compute less frequently than angles, pairwise forces cannot be computed less frequently than kspace, etc.
Invalid pair style
The choice of pair style is unknown.
Invalid pair table cutoff
Cutoffs in pair_coeff command are not valid with read-in pair table.
Invalid pair table length
Length of read-in pair table is invalid
Invalid random number seed in set command
Random number seed must be > 0.
Invalid region style
The choice of region style is unknown.
Invalid style in pair_write command
Self-explanatory. Check the input script.
Invalid temperature style
The choice of temperature style is unknown.
Invalid type for dipole set
Dipole command must set a type from 1-N where N is the number of atom types.
Invalid type for mass set
Mass command must set a type from 1-N where N is the number of atom types.
Invalid type in set command
Type used in set command must be from 1-N where N is the number of atom types (bond types, angle types, etc). -
Invalid variable in command-line argument - -
Command-line arg -var must set a variable from "a" to "z". -
Invalid variable in next command
Next command in input script must set variables from "a" to "z". -
Invalid variable in variable command +
Invalid variable name -
Variable command in input script must set a variable from "a" to "z". +
Variable name used in an input script line is invalid.
Invalid variable style with next command
Variable styles equal and world cannot be used in a next command.
Invalid vector in variable equal command
One or more vector names are not recognized. +
Invoked pair single on pair style none + +
A command (e.g. a dump) attempted to invoke the single() function on a +pair style none, which is illegal. You are probably attempting to +compute per-atom quantities with an undefined pair style. +
KSpace style has not yet been set
Cannot use kspace_modify command until a kspace style is set.
KSpace style is incompatible with Pair style
Setting a kspace style requires that a pair style with a long-range Coulombic component be selected.
Label wasn't found in input script
Self-explanatory.
Lattice style incompatible with dimension
2d simulation can use sq, sq2, or hex lattice. 3d simulation can use sc, bcc, or fcc lattice.
Lost atoms via displacement: original %.15g current %.15g
Moving atoms via the displace_atoms command lost one or more atoms.
Lost atoms: original %.15g current %.15g
A thermodynamic computation has detected lost atoms.
Marsaglia RNG cannot use 0 seed
The random number generator use for the fix langevin command cannot use 0 as an initial seed.
Mass command before simulation box is defined
The mass command cannot be used before a read_data, read_restart, or create_box command.
Minimize command before simulation box is defined
The minimize command cannot be used before a read_data, read_restart, or create_box command.
Min_style command before simulation box is defined
The min_style command cannot be used before a read_data, read_restart, or create_box command.
More than one freeze fix
You can only define one freeze fix.
More than one shake fix
You can only define one SHAKE fix.
Must define angle_style before Angle Coeffs
Must use an angle_style command before reading a data file that defines Angle Coeffs.
Must define angle_style before BondAngle Coeffs
Must use an angle_style command before reading a data file that defines Angle Coeffs.
Must define angle_style before BondBond Coeffs
Must use an angle_style command before reading a data file that defines Angle Coeffs.
Must define bond_style before Bond Coeffs
Must use a bond_style command before reading a data file that defines Bond Coeffs.
Must define dihedral_style before AngleAngleTorsion Coeffs
Must use a dihedral_style command before reading a data file that defines AngleAngleTorsion Coeffs.
Must define dihedral_style before AngleTorsion Coeffs
Must use a dihedral_style command before reading a data file that defines AngleTorsion Coeffs.
Must define dihedral_style before BondBond13 Coeffs
Must use a dihedral_style command before reading a data file that defines BondBond13 Coeffs.
Must define dihedral_style before Dihedral Coeffs
Must use a dihedral_style command before reading a data file that defines Dihedral Coeffs.
Must define dihedral_style before EndBondTorsion Coeffs
Must use a dihedral_style command before reading a data file that defines EndBondTorsion Coeffs.
Must define dihedral_style before MiddleBondTorsion Coeffs
Must use a dihedral_style command before reading a data file that defines MiddleBondTorsion Coeffs.
Must define improper_style before AngleAngle Coeffs
Must use an improper_style command before reading a data file that defines AngleAngle Coeffs.
Must define improper_style before Improper Coeffs
Must use an improper_style command before reading a data file that defines Improper Coeffs.
Must define pair_style before Pair Coeffs
Must use a pair_style command before reading a data file that defines Pair Coeffs.
Must have more than one processor partition to temper
Cannot use the temper command with only one processor partition. Use the -partition command-line option.
Must read Atoms before Angles
The Atoms section of a data file must come before an Angles section.
Must read Atoms before Bonds
The Atoms section of a data file must come before a Bonds section.
Must read Atoms before Dihedrals
The Atoms section of a data file must come before a Dihedrals section.
Must read Atoms before Impropers
The Atoms section of a data file must come before an Impropers section.
Must read Atoms before Velocities
The Atoms section of a data file must come before a Velocities section.
Must set both respa inner and outer
Cannot use just the inner or outer option with repsa without using the other.
Must specify a region in fix insert
Self-explanatory. -
Must use -in switch with multiple partitions +
Must use a block or cylinder region with fix insert -
A multi-partition simulation cannot read the input script from stdin. -The -in command-line option must be used to specify a file. +
Self-explanatory. -
Must use a block or cylinder region with fix insert +
Must use a block region with fix insert for 2d simulations
Self-explanatory.
Must use a molecular atom style with fix poems molecule
Self-explanatory.
Must use a molecular atom style with fix rigid molecule
Self-explanatory. -
Must use molecular atom style with neigh_modify exclude molecule +
Must use atom style dipole with chosen thermo settings -
Self-explanatory. +
A thermo quantity being printed can only be computed if the atom +style includes dipole quantities.
Must use a z-axis cylinder with fix insert
The axis of the cylinder region used with the fix insert command must be oriented along the z dimension.
Must use atom style dpd with pair style dpd
Self-explanatory. -
Must use atom style granular with lj units - -
Self-explanatory. -
Must use atom style granular with pair style granular
Self-explanatory.
Must use atom style granular with chosen thermo settings
If granular thermo info is to be output, must use atom style granular.
Must use atom style granular with granular thermo output
If atom style is granular, must use thermo style granular or custom.
Must use charged atom style with fix efield
The atom style being used does not allow atoms to have assigned charges. Hence it will not work with this fix which generates a force due to an E-field acting on charge.
Must use charged atom style with this pair style
The atom style being used does not allow atoms to have assigned charges. Hence it will not work with this choice of pair style.
Must use fix freeze with atom style granular
Self-explanatory.
Must use fix gran/diag with atom style granular
Self-explanatory.
Must use fix gran/diag with granular pair style
Self-explanatory.
Must use fix gravity chute with atom style granular
Self-explanatory.
Must use fix gravity spherical with atom style granular
Self-explanatory.
Must use fix gravity gradient with atom style granular
Self-explanatory.
Must use fix gravity with fix insert
Insertion of granular particles must be done under the influence of gravity.
Must use fix insert with atom style granular
Self-explanatory.
Must use fix nve/gran with atom style granular
Self-explanatory.
Must use fix wall/gran with atom style granular
Self-explanatory. -
Must use newton pairwise on with TIP4P potential +
Must use -in switch with multiple partitions -
Use of a TIP4P pair potential requires the newton command setting for -pairwise interactions be "on", because of the way forces are computed -on other atoms due to TIP4P interactions. +
A multi-partition simulation cannot read the input script from stdin. +The -in command-line option must be used to specify a file. + +
Must use lj units with atom style granular + +
Self-explanatory. + +
Must use molecular atom style with neigh_modify exclude molecule + +
Self-explanatory.
Must use region with side = in with fix insert
Self-explanatory.
Must use special bonds = 1,1,1 with bond style quartic
The settings for the special_bonds command must be set as indicated when using bond style quartic.
Needed topology not in data file
The header of the data file indicated that bonds or angles or dihedrals or impropers would be included, but they were not present.
Neighbor delay must be 0 or multiple of every setting
The delay and every parameters set via the neigh_modify command are inconsistent. If the delay setting is non-zero, then it must be a multiple of the every setting.
Neighbor list overflow, boost neigh_modify one or page
There are too many neighbors of a single atom. Use the neigh_modify command to increase the neighbor page size and the max number of neighbors allowed for one atom.
Newton bond change after simulation box is defined
The newton command cannot be used to change the newton bond value after a read_data, read_restart, or create_box command.
No angles allowed with this atom style
Self-explanatory. Check data file.
No atoms in data file
The header of the data file indicated that atoms would be included, but they were not present. -
No atoms to compute diffusion for - -
The fix msd command has no atoms to compute on. -
No bonds allowed with this atom style
Self-explanatory. Check data file.
No dihedrals allowed with this atom style
Self-explanatory. Check data file.
No dump custom arguments specified
The dump custom command requires that atom quantities be specified to output to dump file.
No impropers allowed with this atom style
Self-explanatory. Check data file.
No rigid bodies defined by fix rigid
Self-explanatory.
Non integer # of swaps in temper command
Swap frequency in temper command must evenly divide the total # of timesteps.
Non-orthogonal lattice vectors
Self-explanatory.
One or zero atoms in rigid body
Any rigid body defined by the fix rigid command must contain 2 or more atoms.
One or more atoms belong to multiple rigid bodies
Two or more rigid bodies defined by the fix rigid command cannot contain the same atom.
Orientation vectors are not right-handed
The 3 vectors defined by the orient command must form a right-handed coordinate system.
Out of range atoms - cannot compute PPPM
One or more atoms are attempting to map their charge to a PPPM grid point that is not owned by a processor. This is usually because an atom has moved to far in a single timestep.
Pair distance < table inner cutoff
Two atoms are closer together than the pairwise table allows.
Pair distance > table outer cutoff
Two atoms are further apart than the pairwise table allows. -
Pair style must be defined to use bond style quartic - -
Bond style quartic requires a pair style be defined. -
Pair table parameters did not set N
List of pair table parameters must include N setting.
PPPM grid is too large
The global PPPM grid is larger than OFFSET in one or more dimensions. OFFSET is currently set to 4096. You likely need to decrease the requested precision.
PPPM order cannot be greater than %d
Self-explanatory.
PPPM stencil extends too far, reduce PPPM order
The grid points that atom charge are mapped to cannot extend further than one neighbor processor away. Reducing the PPPM order via the kspace_modify command will reduce the stencil distance.
Pair coeff for hybrid has invalid style
Style in pair coeff must have been listed in pair_style command.
Pair cutoff < Respa interior cutoff
One or more pairwise cutoffs are too short to use with the specified rRESPA cutoffs. -
Pair style hybrid cannot have hybrid as an argument - -
Self-explanatory. Check the input script. - -
Pair style hybrid cannot use same pair style twice - -
The sub-style arguments of pair_style hybrid cannot be duplicated. -Check the input script. -
Pair inner cutoff < Respa interior cutoff
One or more pairwise cutoffs are too short to use with the specified rRESPA cutoffs.
Pair inner cutoff >= Pair outer cutoff
The specified cutoffs for the pair style are inconsistent. +
Pair style does not support bond_style quartic + +
The pair style does not have a single() function, so it can +not be invoked by bond_style quartic. + +
Pair style does not support dumping per-atom energy + +
The pair style does not have a single() function, so it can not be +invoked by the dump command. + +
Pair style does not support dumping per-atom stress + +
The pair style does not have a single() function, so it can not be +invoked by the dump command. + +
Pair style does not support pair_write + +
The pair style does not have a single() function, so it can +not be invoked by the pair_write command. + +
Pair style does not support rRESPA inner/middle/outer + +
You are attempting to use rRESPA options with a pair style that +does not support them. + +
Pair style granular with history requires atoms have IDs + +
Atoms in the simulation do not have IDs, so history effects +cannot be tracked by the granular pair potential. + +
Pair style hybrid cannot have hybrid as an argument + +
Self-explanatory. Check the input script. + +
Pair style hybrid cannot use same pair style twice + +
The sub-style arguments of pair_style hybrid cannot be duplicated. +Check the input script. +
Pair style is incompatible with DihedralCharmm
When using a dihedral style charmm, a pair style with a CHARMM component must also be selected, so that 1-4 pairwise coefficients are specified.
Pair style is incompatible with KSpace style
If a pair style with a long-range Coulombic component is selected, then a kspace style must also be used. +
Pair style lj/cut/coul/long/tip4p requires atom IDs + +
There are no atom IDs defined in the system and the TIP4P potential +requires them to find O,H atoms with a water molecule. + +
Pair style lj/cut/coul/long/tip4p requires newton pair on + +
This is because the computation of constraint forces within a water +molecule adds forces to atoms owned by other processors. +
Pair table cutoffs must all be equal to use with KSpace
When using pair style table with a long-range KSpace solver, the cutoffs for all atom type pairs must all be the same, since the long-range solver starts at that cutoff.
Pair_coeff command before pair_style is defined
Self-explanatory.
Pair_coeff command before simulation box is defined
The pair_coeff command cannot be used before a read_data, read_restart, or create_box command.
Pair_modify command before pair_style is defined
Self-explanatory. +
Pair_style granular command before simulation box is defined + +
This pair style cannot be used before a simulation box is defined. +
Pair_write command before pair_style is defined
Self-explanatory.
POEMS fix must come before NPT/NPH fix
NPT/NPH fix must be defined in input script after all poems fixes, else the fix contribution to the pressure virial is incorrect.
Potential with shear history requires newton pair off
Granular potentials that include shear history effects can only be run with a newton setting where pairwise newton is "off".
Proc grid in z != 1 for 2d simulation
There cannot be more than 1 processor in the z dimension of a 2d simulation.
Processor partitions are inconsistent
The total number of processors in all partitions must match the number of processors LAMMPS is running on.
Processors command after simulation box is defined
The processors command cannot be used after a read_data, read_restart, or create_box command.
Quaternion creation numeric error
A numeric error occurred in the creation of a rigid body by the fix rigid command.
Quotes in a single arg
A single word should not be quoted in the input script; only a set of words with intervening spaces should be quoted.
R0 < 0 for fix spring command
Equilibrium spring length is invalid.
Region union region ID does not exist
One or more of the region IDs specified by the region union command does not exist.
Replacing a fix, but new style != old style
A fix ID can be used a 2nd time, but only if the style matches the previous fix. In this case it is assumed you with to reset a fix's parameters. This error may mean you are mistakenly re-using a fix ID when you do not intend to.
Replicate command before simulation box is defined
The replicate command cannot be used before a read_data, read_restart, or create_box command.
Replicate did not assign all atoms correctly
Atoms replicated by the replicate command were not assigned correctly to processors. This is likely due to some atom coordinates being outside a non-periodic simulation box.
Requested atom types in EAM setfl file do not exist
Atom type specified in pair_style eam command does not match number of types in setfl potential file.
Respa inner cutoffs are invalid
The first cutoff must be <= the second cutoff. -
Respa inner/middle/outer used with invalid pair style - -
Only a few pair potentials support the use of respa inner, middle, -outer options. -
Respa levels must be >= 1
Self-explanatory.
Respa middle cutoffs are invalid
The first cutoff must be <= the second cutoff.
Respa not allowed with atom style granular
Respa cannot be used with the granular atom style.
Reuse of dump ID
A dump ID cannot be used twice.
Reuse of region ID
A region ID cannot be used twice.
Reuse of temperature ID
A temperature ID cannot be used twice.
Rigid body has degenerate moment of inertia
Fix poems will only work with bodies (collections of atoms) that have non-zero principal moments of inertia. This means they must be 3 or more non-colinear atoms, even with joint atoms removed.
Rigid fix must come before NPT/NPH fix
NPT/NPH fix must be defined in input script after all rigid fixes, else the rigid fix contribution to the pressure virial is incorrect.
Run command before simulation box is defined
The run command cannot be used before a read_data, read_restart, or create_box command. +
Run command upto value is before current timestep + +
Self-explanatory. + +
Run command start value is after start of run + +
Self-explanatory. + +
Run command stop value is before end of run + +
Self-explanatory. +
Run_style command before simulation box is defined
The run_style command cannot be used before a read_data, read_restart, or create_box command.
Set command before simulation box is defined
The set command cannot be used before a read_data, read_restart, or create_box command.
Set command with no atoms existing
No atoms are yet defined so the set command cannot be used.
Shake angles have different bond types
All 3-atom angle-constrained SHAKE clusters specified by the fix shake command that are the same angle type, must also have the same bond types for the 2 bonds in the angle.
Shake atoms %d %d %d %d missing on proc %d at step %d
The 4 atoms in a single shake cluster specified by the fix shake command are not all accessible to a processor. This probably means an atom has moved too far.
Shake atoms %d %d %d missing on proc %d at step %d
The 3 atoms in a single shake cluster specified by the fix shake command are not all accessible to a processor. This probably means an atom has moved too far.
Shake atoms %d %d missing on proc %d at step %d
The 2 atoms in a single shake cluster specified by the fix shake command are not all accessible to a processor. This probably means an atom has moved too far.
Shake cluster of more than 4 atoms
A single cluster specified by the fix shake command can have no more than 4 atoms.
Shake clusters are connected
A single cluster specified by the fix shake command must have a single central atom with up to 3 other atoms bonded to it.
Shake determinant = 0.0
The determinant of the matrix being solved for a single cluster specified by the fix shake command is numerically invalid.
Shake fix must come before NPT/NPH fix
NPT fix must be defined in input script after SHAKE fix, else the SHAKE fix contribution to the pressure virial is incorrect.
Substitution for undefined variable
The variable specified with a $ symbol in an input script command has not been previously defined with a variable command. +
Target T for fix nvt cannot be 0.0 + +
Self-explanatory. + +
Target T for fix npt cannot be 0.0 + +
Self-explanatory. +
Temperature region ID does not exist
The region ID specified in the temperature command does not exist.
Temper command before simulation box is defined
The temper command cannot be used before a read_data, read_restart, or create_box command.
Tempering fix ID is not defined
The fix ID specified by the temper command does not exist.
Tempering fix is not valid
The fix specified by the temper command is not one that controls temperature (nvt or langevin).
Thermodynamics not computed on tempering swap steps
The thermo command must insure that thermodynamics (including energy) is computed on the timesteps that tempering swaps are attempted.
Thermodynamics must compute PE for temper
The thermo style must insure that thermodynamics computations include potential energy when tempering is performed.
Thermo_style command before simulation box is defined
The thermo_style command cannot be used before a read_data, read_restart, or create_box command.
Timestep must be >= 0
Specified timestep size is invalid.
TIP4P hydrogen has incorrect atom type
The TIP4P pairwise computation found an H atom whose type does not agree with the specified H type.
TIP4P hydrogen is missing
The TIP4P pairwise computation failed to find the correct H atom within a water molecule.
TMD target file did not list all group atoms
The target file for the fix tmd command did not list all atoms in the fix group. -
Too big a problem to run with a molecular atom style +
Too big a problem to replicate with molecular atom style -
Cannot run a problem with > 2^31 atoms with molecular attributes. +
Molecular problems cannot become bigger than 2^31 atoms (or bonds, +etc) when replicated, else the atom IDs and other quantities cannot be +stored in 32 bit quantities.
Too few bits for lookup table
Table size specified via pair_modify command does not work with your machine's floating point representation.
Too large an atom type in create_atoms command
The atoms to be created by the create_atoms command must have a valid type. -
Too many atoms in data file - -
A data file cannot contain more than 2^31 atoms. - -
Too many atoms to use delete atoms command - -
Cannot use delete_atoms command if number of atoms is greater than -2^31. - -
Too many atoms to use velocity create with loop all - -
Cannot use velocity create command with loop all setting if number of -atoms is greater than 2^31. Switch to local or geom setting. -
Too many exponent bits for lookup table
Table size specified via pair_modify command does not work with your machine's floating point representation.
Too many mantissa bits for lookup table
Table size specified via pair_modify command does not work with your machine's floating point representation.
Too many groups
The maximum number of atom groups (including the "all" group) is given by MAX_GROUP in group.cpp and is 32.
Too many masses for fix shake
The fix shake command cannot list more masses than there are atom types.
Too many total bits for bitmapped lookup table
Table size specified via pair_modify command is too large. Note that a value of N generates a 2^N size table.
Too many touching neighbors - boost MAXTOUCH
A granular simulation has too many neighbors touching one atom. The MAXTOUCH parameter in fix_shear_history.cpp must be set larger and LAMMPS must be re-built.
Tree structure in joint connections
Fix poems cannot (yet) work with coupled bodies whose joints connect the bodies in a tree structure.
Unbalanced quotes in input line
No matching end double quote was found following a leading double quote.
Unexpected end of data file
LAMMPS hit the end of the data file while attempting to read a section. Something is wrong with the format of the data file.
Units command after simulation box is defined
The units command cannot be used after a read_data, read_restart, or create_box command.
Unknown atom style in restart file
The atom style stored in the restart file is not recognized by LAMMPS.
Unknown command: %s
The command is not known to LAMMPS. Check the input script.
Unknown identifier in data file: %s
A section of the data file cannot be read by LAMMPS.
Unknown section in data file: %s
The keyword for a section of the data file is not recognized by LAMMPS.
Unknown table style in pair_style command
Style of table is invalid for use with pair_style table command.
Universe variable count < # of partitions
A world-style variable must specify a number of values >= to the number of processor partitions.
Use of displace_atoms with undefined lattice
Must use lattice command with displace_atoms command if units option is set to lattice.
Use of fix indent with undefined lattice
The lattice command must be used to define a lattice before using the fix indent command.
Use of region with undefined lattice
If scale = lattice (the default) for the region command, then a lattice must first be defined via the lattice command.
Use of temperature ramp with undefined lattice
If scale = lattice (the default) for the temperature ramp command, then a lattice must first be defined via the lattice command.
Use of velocity with undefined lattice
If scale = lattice (the default) for the velocity set or velocity ramp command, then a lattice must first be defined via the lattice command.
Using variable equal keyword before simulation box is defined
Cannot use simulation domain keywords in a equal style variable definition until the simulation box has been defined.
Using variable equal keyword before initial run
Cannot use thermodynamic keywords in a equal style variable definition until a simulation run has been performed. +
Variable equal group ID does not exist + +
Self-explanatory. +
Velocity command before simulation box is defined
The velocity command cannot be used before a read_data, read_restart, or create_box command.
Velocity command with no atoms existing
A velocity command has been used, but no atoms yet exist.
Velocity ramp in z for a 2d problem
Self-explanatory.
World variable count doesn't match # of partitions
A world-style variable must specify a number of values equal to the number of processor partitions.
Write_restart command before simulation box is defined
The write_restart command cannot be used before a read_data, read_restart, or create_box command.

Warnings:

FENE bond too long: %d %g
A FENE bond has stretched dangerously far. It's interaction strength will be truncated to attempt to prevent the bond from blowing up.
FENE bond too long: %d %d %d %g
A FENE bond has stretched dangerously far. It's interaction strength will be truncated to attempt to prevent the bond from blowing up. +
Fix recenter should come after all other integration fixes + +
Other fixes may change the position of the center-of-mass, so +fix recenter should come last. +
Group for fix_modify temp != fix group
The fix_modify command is specifying a temperature computation that computes a temperature on a different group of atoms than the fix itself operates on. This is probably not what you want to do.
Less insertions than requested
Less atom insertions occurred on this timestep due to the fix insert command than were scheduled. This is probably because there were too many overlaps detected.
Lost atoms: original %.15g current %.15g
A thermodynamic computation has detected lost atoms.
Mismatch between velocity and temperature groups
The temperature computation used by the velocity command will not be on the same group of atoms that velocities are being set for. This is probably not what you want.
More than one dump custom with a centro attribute
Each dump custom command that uses a per-atom centro attribute will cause a full neighbor list to be built and looped over. Thus it may be inefficient to use this attribute in multiple dump custom commands.
More than one dump custom with a stress attribute
Each dump custom command that uses a per-atom stress tensor attribute will cause the neighbor list to be looped over and inter-processor communication to be performed. Thus it may be inefficient to use these attributes in multiple dump custom commands.
More than one dump custom with an energy attribute
Each dump custom command that uses a per-atom energy attribute will cause the neighbor list to be looped over and inter-processor communication to be performed. Thus it may be inefficient to use this attribute in multiple dump custom commands.
More than one msd fix
This will be computationally inefficient.
More than one poems fix
This will be computationally inefficient and compute the fix's contribution to the virial (pressure) incorrectly.
More than one rigid fix
This will be computationally inefficient and compute the fix's contribution to the virial (pressure) incorrectly.
No fixes defined, atoms won't move
If you are not using a fix like nve, nvt, npt then atom velocities and coordinates will not be updated during timestepping.
No joints between rigid bodies, use fix rigid instead
The bodies defined by fix poems are not connected by joints. POEMS will integrate the body motion, but it would be more efficient to use fix rigid.
One or more respa levels compute no forces
This is computationally inefficient.
Replacing a fix, but new group != old group
The ID and style of a fix match for a fix you are changing with a fix command, but the new group you are specifying does not match the old group.
Replicating in a non-periodic dimension
The parameters for a replicate command will cause a non-periodic dimension to be replicated; this may cause unwanted behavior.
Resetting angle_style to restart file value
The angle style defined in the LAMMPS input script does not match that of the restart file.
Resetting bond_style to restart file value
The bond style defined in the LAMMPS input script does not match that of the restart file.
Resetting boundary settings to restart file values
The boundary settings defined in the LAMMPS input script do not match that of the restart file.
Resetting dihedral_style to restart file value
The dihedral style defined in the LAMMPS input script does not match that of the restart file.
Resetting dimension to restart file value
The dimension value defined in the LAMMPS input script does not match that of the restart file.
Resetting improper_style to restart file value
The improper style defined in the LAMMPS input script does not match that of the restart file.
Resetting newton bond to restart file value
The value of the newton setting for bonds defined in the LAMMPS input script does not match that of the restart file.
Resetting pair_style to restart file value
The pair style defined in the LAMMPS input script does not match that of the restart file.
Resetting reneighboring criteria during minimization
Minimization requires that neigh_modify settings be delay = 0, every = 1, check = yes. Since these settings were not in place, LAMMPS changed them and will restore them to their original values after the minimization.
Resetting unit_style to restart file value
The unit style defined in the LAMMPS input script does not match that of the restart file.
Restart file used different # of processors
The restart file was written out by a LAMMPS simulation running on a different number of processors. Due to round-off, the trajectories of your restarted simulation may diverge a little more quickly than if you ran on the same # of processors.
Restart file used different 3d processor grid
The restart file was written out by a LAMMPS simulation running on a different 3d grid of processors. Due to round-off, the trajectories of your restarted simulation may diverge a little more quickly than if you ran on the same # of processors.
Restart file used different newton pair setting
The restart file was written out by a LAMMPS simulation running with a different value of the newton pair setting. The new simulation will use the value from the input script.
Restart file version does not match LAMMPS version
The version of LAMMPS that wrote the restart file does not match the version of LAMMPS that is reading the restart file. Generally this shouldn't be a problem, since restart file formats won't change very often if at all. But if they do, the code will probably crash trying to read the file. Versions of LAMMPS are specified by a date.
Shake determinant < 0.0
The determinant of the quadratic equation being solved for a single cluster specified by the fix shake command is numerically suspect. LAMMPS will set it to 0.0 and continue.
System is not charge neutral, net charge = %g
The total charge on all atoms on the system is not 0.0, which is not valid for Ewald or PPPM.
Table inner cutoff >= outer cutoff
You specified an inner cutoff for a Coulombic table that is longer than the global cutoff. Probably not what you wanted.
Temperature for NPH is not for group all
User-assigned temperature to NPH fix does not compute temperature for all atoms. Since NPH computes a global pressure, the kinetic energy contribution from the temperature is assumed to also be for all atoms. Thus the pressure used by NPH could be inaccurate.
Temperature for NPH is style region
User-assigned temperature to NPH fix has style region. Since NPT computes a global pressure, the kinetic energy contribution from the temperature is assumed to also be for all atoms. Thus the pressure used by NPT could be inaccurate.
Temperature for NPT is not for group all
User-assigned temperature to NPT fix does not compute temperature for all atoms. Since NPT computes a global pressure, the kinetic energy contribution from the temperature is assumed to also be for all atoms. Thus the pressure used by NPT could be inaccurate.
Temperature for NPT is style region
User-assigned temperature to NPT fix has style region. Since NPT computes a global pressure, the kinetic energy contribution from the temperature is assumed to also be for all atoms. Thus the pressure used by NPT could be inaccurate.
Temperature for NVT is style region
User-assigned temperature to NVT fix has style region. Since NVT is a Nose/Hoover formulation that tracks average properties of a collection of atoms over time, it may be inaccurate to do this if the atoms in the region change.
Temperature for temp/rescale is style region
User-assigned temperature to temp/rescale fix has style region, but the temp/rescale fix did not specify a region. This means the temperature may be computed on a different set of atoms than are rescaled.
Temperature for thermo pressure is not for group all
User-assigned temperature to thermo via the thermo_modify command does not compute temperature for all atoms. Since thermo computes a global pressure, the kinetic energy contribution from the temperature is assumed to also be for all atoms. Thus the pressure printed by thermo could be inaccurate.
Temperature for thermo pressure is style region
User-assigned temperature to thermo via the thermo_modify command has style region. Since thermo computes a global pressure, the kinetic energy contribution from the temperature is assumed to also be for all atoms. Thus the pressure printed by thermo could be inaccurate. +
Using pair tail corrections with nonperiodic system + +
This is probably a bogus thing to do, since tail corrections are +computed by integrating the density of a periodic system out to +infinity. +
Using variable equal keyword with non-current thermo
The variable expression is being evaluated with a thermodynamic quantity on a timestep when thermodynamic information may not be current.
diff --git a/doc/Section_errors.txt b/doc/Section_errors.txt index 1e0115309..448987d39 100644 --- a/doc/Section_errors.txt +++ b/doc/Section_errors.txt @@ -1,2653 +1,2769 @@ "Previous Section"_Section_modify.html - "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc - "Next Section"_Section_history.html :c :link(lws,http://lammps.sandia.gov) :link(ld,Manual.html) :link(lc,Section_commands.html#comm) :line 9. Errors :h3 This section describes the various kinds of errors you can encounter when using LAMMPS. 9.1 "Common problems"_#9_1 9.2 "Reporting bugs"_#9_2 9.3 "Error & warning messages"_#9_3 :all(b) :line 9.1 Common problems :link(9_1),h4 If two LAMMPS runs do not produce the same answer on different machines or different numbers of processors, this is typically not a bug. In theory you should get identical answers on any number of processors and on any machine. In practice, numerical round-off can cause slight differences and eventual divergence of molecular dynamics phase space trajectories within a few 100s or few 1000s of timesteps. However, the statistical properties of the two runs (e.g. average energy or temperature) should still be the same. If the "velocity"_velocity.html command is used to set initial atom velocities, a particular atom can be assigned a different velocity when the problem on different machines. Obviously, this means the phase space trajectories of the two simulations will rapidly diverge. See the discussion of the {loop} option in the "velocity"_velocity.html command for details. A LAMMPS simulation typically has two stages, setup and run. Most LAMMPS errors are detected at setup time; others like a bond stretching too far may not occur until the middle of a run. LAMMPS tries to flag errors and print informative error messages so you can fix the problem. Of course LAMMPS cannot figure out your physics mistakes, like choosing too big a timestep, specifying invalid force field coefficients, or putting 2 atoms on top of each other! If you find errors that LAMMPS doesn't catch that you think it should flag, please send an email to the "developers"_http://lammps.sandia.gov/authors.html. If you get an error message about an invalid command in your input script, you can determine what command is causing the problem by looking in the log.lammps file or using the "echo command"_echo.html to see it on the screen. For a given command, LAMMPS expects certain arguments in a specified order. If you mess this up, LAMMPS will often flag the error, but it may read a bogus argument and assign a value that is valid, but not what you wanted. E.g. trying to read the string "abc" as an integer value and assigning the associated variable a value of 0. Generally, LAMMPS will print a message to the screen and exit gracefully when it encounters a fatal error. Sometimes it will print a WARNING and continue on; you can decide if the WARNING is important or not. If LAMMPS crashes or hangs without spitting out an error message first then it could be a bug (see "this section"_#9_2) or one of the following cases: LAMMPS runs in the available memory a processor allows to be allocated. Most reasonable MD runs are compute limited, not memory limited, so this shouldn't be a bottleneck on most platforms. Almost all large memory allocations in the code are done via C-style malloc's which will generate an error message if you run out of memory. Smaller chunks of memory are allocated via C++ "new" statements. If you are unlucky you could run out of memory just when one of these small requests is made, in which case the code will crash or hang (in parallel), since LAMMPS doesn't trap on those errors. Illegal arithmetic can cause LAMMPS to run slow or crash. This is typically due to invalid physics and numerics that your simulation is computing. If you see wild thermodynamic values or NaN values in your LAMMPS output, something is wrong with your simulation. In parallel, one way LAMMPS can hang is due to how different MPI implementations handle buffering of messages. If the code hangs without an error message, it may be that you need to specify an MPI setting or two (usually via an environment variable) to enable buffering or boost the sizes of messages that can be buffered. :line 9.2 Reporting bugs :link(9_2),h4 If you are confident that you have found a bug in LAMMPS, please send an email to the "developers"_http://lammps.sandia.gov/authors.html. First, check the "New features and bug fixes" section of the "LAMMPS WWW site"_lws to see if the bug has already been reported or fixed. If not, the most useful thing you can do for us is to isolate the problem. Run it on the smallest number of atoms and fewest number of processors and with the simplest input script that reproduces the bug. In your email, describe the problem and any ideas you have as to what is causing it or where in the code the problem might be. We'll request your input script and data files if necessary. :line 9.3 Error & warning Messages :h4,link(9_3) These are two alphabetic lists of the "ERROR"_#error and "WARNING"_#warn messages LAMMPS prints out and the reason why. If the explanation here is not sufficient, the documentation for the offending command may help. Grepping the source files for the text of the error message and staring at the source code and comments is also not a bad idea! Note that sometimes the same message can be printed from multiple places in the code. Errors: :h4,link(error) :dlb {1-3 bond count is inconsistent} :dt An inconsistency was detected when computing the number of 1-3 neighbors for each atom. This likely means something is wrong with the bond topologies you have defined. :dd {1-4 bond count is inconsistent} :dt An inconsistency was detected when computing the number of 1-4 neighbors for each atom. This likely means something is wrong with the bond topologies you have defined. :dd {All angle coeffs are not set} :dt All angle coefficients must be set in the data file or by the angle_coeff command before running a simulation. :dd {All bond coeffs are not set} :dt All bond coefficients must be set in the data file or by the bond_coeff command before running a simulation. :dd {All EAM pair coeffs are not set} :dt All EAM pair coefficients must be set in the data file or by the pair_coeff command before running a simulation. :dd {All dihedral coeffs are not set} :dt All dihedral coefficients must be set in the data file or by the dihedral_coeff command before running a simulation. :dd {All dipole moments are not set} :dt For atom styles that define dipole moments for each atom type, all moments must be set in the data file or by the dipole command before running a simulation. :dd {All improper coeffs are not set} :dt All improper coefficients must be set in the data file or by the improper_coeff command before running a simulation. :dd {All masses are not set} :dt For atom styles that define masses for each atom type, all masses must be set in the data file or by the mass command before running a simulation. They must also be set before using the velocity command. :dd {All pair coeffs are not set} :dt All pair coefficients must be set in the data file or by the pair_coeff command before running a simulation. :dd {All universe variables must have same # of values} :dt Self-explanatory. :dd {All variables in next command must be same style} :dt Self-explanatory. :dd {Angle atoms %d %d %d missing on proc %d at step %d} :dt One or more of 3 atoms needed to compute a particular angle are missing on this processor. Typically this is because the pairwise cutoff is set too short or the angle has blown apart and an atom is too far away. :dd {Angle atom missing in delete_bonds} :dt The delete_bonds command cannot find one or more atoms in a particular angle on a particular processor. The pairwise cutoff is too short or the atoms are too far apart to make a valid angle. :dd {Angle atom missing in set command} :dt The set command cannot find one or more atoms in a particular angle on a particular processor. The pairwise cutoff is too short or the atoms are too far apart to make a valid angle. :dd {Angle coeffs are not set} :dt No angle coefficients have been assigned in the data file or via the angle_coeff command. :dd {Angle_coeff command before angle_style is defined} :dt Coefficients cannot be set in the data file or via the angle_coeff command until an angle_style has been assigned. :dd {Angle_coeff command before simulation box is defined} :dt The angle_coeff command cannot be used before a read_data, read_restart, or create_box command. :dd {Angle_coeff command when no angles allowed} :dt The chosen atom style does not allow for angles to be defined. :dd {Angle coeff for hybrid has invalid style} :dt Angle style hybrid uses another angle style as one of its coefficients. The angle style used in the angle_coeff command or read from a restart file is not recognized. :dd {Angles assigned incorrectly} :dt Angles read in from the data file were not assigned correctly to atoms. This means there is something invalid about the topology definitions. :dd {Angles defined but no angle types} :dt The data file header lists angles but no angle types. :dd {Angle style hybrid cannot have hybrid as an argument} :dt Self-explanatory. :dd {Angle style hybrid cannot use same angle style twice} :dt Self-explanatory. :dd +{Another input script is already being processed} :dt + +Cannot attempt to open a 2nd input script, when the original file is +still being processed. :dd + {Atom count is inconsistent, cannot write restart file} :dt Sum of atoms across processors does not equal initial total count. This is probably because you have lost some atoms. :dd {Atom IDs must be consecutive for dump dcd} :dt Self-explanatory. :dd {Atom IDs must be consecutive for dump xtc} :dt Self-explanatory. :dd {Atom IDs must be consecutive for dump xyz} :dt Self-explanatory. :dd {Atom in too many rigid bodies - boost MAXBODY} :dt Fix poems has a parameter MAXBODY (in fix_poems.cpp) which determines the maximum number of rigid bodies a single atom can belong to (i.e. a multibody joint). The bodies you have defined exceed this limit. :dd {Atom_modify command after simulation box is defined} :dt The atom_modify command cannot be used after a read_data, read_restart, or create_box command. :dd {Atom_modify command before atom_style command} :dt The atom_modify command cannot be used before an atom style has been defined. :dd {Atom style granular and dpd cannot be used together} :dt Self-explanatory. :dd -{Atom style granular must perform 3d simulations} :dt - -Atom style granular cannot be used with 2d simulations, because -the pairwise potentials are inherently 3d. :dd - {Atom style hybrid cannot have hybrid as an argument} :dt Self-explanatory. Check the input script. :dd {Atom_style command after simulation box is defined} :dt The atom_style command cannot be used after a read_data, read_restart, or create_box command. :dd {Attempting to rescale a 0.0 temperature} :dt Cannot rescale a temperature that is already 0.0. :dd {Bad FENE bond} :dt Two atoms in a FENE bond have become so far apart that the bond cannot be computed. :dd {Bad grid of processors} :dt The 3d grid of processors defined by the processors command does not match the number of processors LAMMPS is being run on. :dd {Bad principal moments} :dt Fix rigid did not compute the principal moments of inertia of a rigid group of atoms correctly. :dd {Bad slab parameter} :dt Kspace_modify value for the slab/volume keyword must be >= 2.0. :dd {Bitmapped lookup tables require int/float be same size} :dt Cannot use pair tables on this machine, because of word sizes. Use the pair_modify command with table 0 instead. :dd {Bitmapped table is incorrect length in table file} :dt Number of table entries is not a correct power of 2. :dd {Bitmapped table in file does not match requested table} :dt Setting for bitmapped table in pair_coeff command must match table in file exactly. :dd {Bond and angle potentials must be defined for TIP4P} :dt Cannot use TIP4P pair potential unless bond and angle potentials are defined. :dd {Bond atom missing in delete_bonds} :dt The delete_bonds command cannot find one or more atoms in a particular bond on a particular processor. The pairwise cutoff is too short or the atoms are too far apart to make a valid bond. :dd {Bond atom missing in set command} :dt The set command cannot find one or more atoms in a particular bond on a particular processor. The pairwise cutoff is too short or the atoms are too far apart to make a valid bond. :dd {Bond atoms %d %d missing on proc %d at step %d} :dt One or more of 2 atoms needed to compute a particular bond are missing on this processor. Typically this is because the pairwise cutoff is set too short or the bond has blown apart and an atom is too far away. :dd {Bond coeff for hybrid has invalid style} :dt Bond style hybrid uses another bond style as one of its coefficients. The bond style used in the bond_coeff command or read from a restart file is not recognized. :dd {Bond_coeff command before bond_style is defined} :dt Coefficients cannot be set in the data file or via the bond_coeff command until an bond_style has been assigned. :dd {Bond_coeff command before simulation box is defined} :dt The bond_coeff command cannot be used before a read_data, read_restart, or create_box command. :dd {Bond_coeff command when no bonds allowed} :dt The chosen atom style does not allow for bonds to be defined. :dd {Bond coeffs are not set} :dt No bond coefficients have been assigned in the data file or via the bond_coeff command. :dd {Bond potential must be defined for SHAKE} :dt Cannot use fix shake unless bond potential is defined. :dd {Bonds assigned incorrectly} :dt Bonds read in from the data file were not assigned correctly to atoms. This means there is something invalid about the topology definitions. :dd {Bonds defined but no bond types} :dt The data file header lists bonds but no bond types. :dd {Bond style hybrid cannot have hybrid as an argument} :dt Self-explanatory. Check the input script. :dd {Bond style hybrid cannot use same bond style twice} :dt The sub-style arguments of bond_style hybrid cannot be duplicated. Check the input script. :dd {Bond style quartic cannot be used with 3,4-body interactions} :dt No angle, dihedral, or improper styles can be defined when using bond style quartic. :dd {Both sides of boundary must be periodic} :dt Cannot specify a boundary as periodic only on the lo or hi side. Must be periodic on both sides. :dd {Boundary command after simulation box is defined} :dt The boundary command cannot be used after a read_data, read_restart, or create_box command. :dd {Box bounds are invalid} :dt The box boundaries specified in the read_data file are invalid. The lo value must be less than the hi value for all 3 dimensions. :dd {Can only wiggle zcylinder wall in z dim} :dt The Self-explanatory. :dd {Cannot change dump_modify every for dump dcd} :dt The frequency of writing dump dcd snapshots cannot be changed. :dd {Cannot compute PPPM G} :dt LAMMPS failed to compute a valid approximation for the PPPM g_ewald factor that partitions the computation between real space and k-space. :dd {Cannot compute PPPM X grid spacing} :dt LAMMPS failed to compute a valid PPPM grid spacing in the x dimension. :dd {Cannot compute PPPM Y grid spacing} :dt LAMMPS failed to compute a valid PPPM grid spacing in the y dimension. :dd {Cannot compute PPPM Z grid spacing} :dt LAMMPS failed to compute a valid PPPM grid spacing in the z dimension. :dd {Cannot create atoms with undefined lattice} :dt Must use the lattice command before using the create_atoms command. :dd +{Cannot create an atom map unless atoms have IDs} :dt + +The simulation requires a mapping from global atom IDs to local atoms, +but the atoms that have been defined have no IDs. :dd + {Cannot create_box after simulation box is defined} :dt The create_box command cannot be used after a read_data, read_restart, or create_box command. :dd {Cannot create_box until atom_style is defined} :dt Self-explanatory. :dd -{Cannot create vels with loop all for non-contiguous atom IDs} :dt - -You cannot use the loop all option if you atom IDs do not span 1 to natoms :dd - {Cannot evaluate variable equal command} :dt Syntax or keyword names in mathematical expression are not recognized. :dd {Cannot find delete_bonds group ID} :dt Group ID used in the delete_bonds command does not exist. :dd {Cannot find set command group ID} :dt Group ID used in the set command does not exist. :dd {Cannot fix nph on a non-periodic dimension} :dt Pressure can only be controlled on a dimension that is periodic. :dd {Cannot fix npt on a non-periodic dimension} :dt Pressure can only be controlled on a dimension that is periodic. :dd {Cannot fix volume/rescale on a non-periodic boundary} :dt Volume can only be rescaled on a dimension that is periodic. :dd {Cannot fix uniaxial on non-periodic system} :dt Volume can only be rescaled uniaxially if system is periodic in all 3 dimensions. :dd -{Cannot invoke single() with pairwise TIP4P potential} :dt +{Cannot have both pair_modify shift and tail set to yes} :dt -Commands that invoke the single() function within pairwise potentials -cannot be used with a TIP4P potential, due to the way it computes -forces on other atoms besides the i,j pair. This includes the eng and -stress tensor components for the dump custom command. :dd +These 2 options are contradictory. :dd + +{Cannot open dir to search for restart file} :dt + +Using a "*" in the name of the restart file will open the current +directory to search for matching file names. :dd + +{Cannot open dump file} :dt + +The output file for the dump command cannot be opened. Check that the +path and name are correct. :dd {Cannot open EAM potential file %s} :dt The specified EAM potential file cannot be opened. Check that the path and name are correct. :dd {Cannot open file %s} :dt The specified file cannot be opened. Check that the path and name are correct. :dd {Cannot open fix com file %s} :dt The output file for the fix com command cannot be opened. Check that the path and name are correct. :dd {Cannot open fix gran/diag file %s} :dt The output file for the fix gran/diag command cannot be opened. Check that the path and name are correct. :dd +{Cannot open fix gyration file %s} :dt + +Self-explanatory. :dd + {Cannot open fix msd file %s} :dt The output file for the fix msd command cannot be opened. Check that the path and name are correct. :dd {Cannot open fix poems file %s} :dt The specified file cannot be opened. Check that the path and name are correct. :dd {Cannot open fix rdf file %s} :dt The output file for the fix rdf command cannot be opened. Check that the path and name are correct. :dd {Cannot open fix tmd file %s} :dt The output file for the fix tmd command cannot be opened. Check that the path and name are correct. :dd {Cannot open gzipped file} :dt LAMMPS is attempting to open a gzipped version of the specified file but was unsuccessful. Check that the path and name are correct. :dd +{Cannot open input script %s} :dt + +Self-explanatory. :dd + +{Cannot open input script %s} :dt + +Self-explanatory. :dd + +{Cannot open logfile} :dt + +The LAMMPS log file named in a command-line argument cannot be opened. +Check that the path and name are correct. :dd + +{Cannot open logfile %s} :dt + +The LAMMPS log file specified in the input script cannot be opened. +Check that the path and name are correct. :dd + +{Cannot open log.lammps} :dt + +The default LAMMPS log file cannot be opened. Check that the +directory you are running in allows for files to be created. :dd + {Cannot open pair_write file} :dt The specified output file for pair energies and forces cannot be opened. Check that the path and name are correct. :dd {Cannot open restart file %s} :dt -The output restart file cannot be opened. Check that the path and -name are correct and that disk space is available. :dd +Self-explanatory. :dd + +{Cannot open screen file} :dt + +The screen file specified as a command-line argument cannot be +opened. Check that the directory you are running in allows for files +to be created. :dd + +{Cannot open universe log file} :dt + +For a multi-partition run, the master log file cannot be opened. +Check that the directory you are running in allows for files to be +created. :dd + +{Cannot open universe screen file} :dt + +For a multi-partition run, the master screen file cannot be opened. +Check that the directory you are running in allows for files to be +created. :dd {Cannot read_data after simulation box is defined} :dt The read_data command cannot be used after a read_data, read_restart, or create_box command. :dd {Cannot read_data until atom_style is defined} :dt Self-explanatory. :dd {Cannot read_restart after simulation box is defined} :dt The read_restart command cannot be used after a read_data, read_restart, or create_box command. :dd {Cannot redefine variable as a different style} :dt The variable was already used as a different style variable. :dd {Cannot replicate 2d simulation in z dimension} :dt The replicate command cannot replicate a 2d simulation in the z dimension. :dd {Cannot replicate with fixes that store atom quantities} :dt Either fixes are defined that create and store atom-based vectors or a restart file was read which included atom-based vectors for fixes. The replicate command cannot duplicate that information for new atoms. You should use the replicate command before fixes are applied to the system. :dd {Cannot run 2d simulation with nonperiodic Z dimension} :dt Use the boundary command to make the z dimension periodic in order to run a 2d simulation. :dd {Cannot set both respa pair and inner/middle/outer} :dt In the rRESPA integrator, you must compute pairwise potentials either all together (pair), or in pieces (inner/middle/outer). You can't do both. :dd {Cannot set dipole for this atom style} :dt This atom style does not support dipole settings for each atom type. :dd {Cannot set dump_modify flush for dump xtc} :dt Self-explanatory. :dd {Cannot set mass for this atom style} :dt This atom style does not support mass settings for each atom type. Instead they are defined on a per-atom basis in the data file. :dd {Cannot set respa middle without inner/outer} :dt In the rRESPA integrator, you must define both a inner and outer setting in order to use a middle setting. :dd -{Cannot set these values with this atom style} :dt +{Cannot set this attribute for this atom style} :dt -Choice of set style does not match attribute of atom style. :dd +The attribute being set does not exist for the defined atom style. :dd {Cannot use atom style granular with chosen thermo settings} :dt Cannot output temperature or pressure with atom style granular. :dd +{Cannot use delete_atoms unless atoms have IDs} :dt + +Your atoms do not have IDs, so the delete_atoms command cannot be +used. :dd + {Cannot use delete_bonds with non-molecular system} :dt Your choice of atom style does not have bonds. :dd {Cannot use dump bond with non-molecular system} :dt Your choice of atom style does not have bonds. :dd {Cannot use Ewald with 2d simulation} :dt The kspace style ewald cannot be used in 2d simulations. You can use 2d Ewald in a 3d simulation; see the kspace_modify command. :dd {Cannot use fix gravity vector with atom style granular} :dt Self-explanatory. :dd +{Cannot use fix nph with no per-type mass defined} :dt + +The defined atom style uses per-atom mass, not per-type mass. :dd + +{Cannot use fix npt with no per-type mass defined} :dt + +The defined atom style uses per-atom mass, not per-type mass. :dd + +{Cannot zero momentum of 0 atoms} :dt + +The collection of atoms for which momentum is being computed has no +atoms. :dd + +{Cannot use fix nvt with no per-type mass defined} :dt + +The defined atom style uses per-atom mass, not per-type mass. :dd + {Cannot use fix poems with atom style granular} :dt This fix is not yet enabled for this atom style. :dd {Cannot use fix rigid with atom style granular} :dt This fix is not yet enabled for this atom style. :dd {Cannot use fix shake with non-molecular system} :dt Your choice of atom style does not have bonds. :dd -{Cannot use multiple long-range potentials with pair hybrid} :dt - -Only one sub-style potential with a long-range component can be -used with pair_style hybrid. :dd - {Cannot use nonperiodic boundaries with Ewald} :dt For kspace style ewald, all 3 dimensions must have periodic boundaries unless you use the kspace_modify command to define a 2d slab with a non-periodic z dimension. :dd {Cannot use nonperiodic boundaries with PPPM} :dt For kspace style pppm, All 3 dimensions must have periodic boundaries unless you use the kspace_modify command to define a 2d slab with a non-periodic z dimension. :dd +{Cannot use pair tail corrections with 2d simulations} :dt + +The correction factors are only currently defined for 3d systems. :dd + {Cannot use PPPM with 2d simulation} :dt The kspace style pppm cannot be used in 2d simulations. You can use 2d PPPM in a 3d simulation; see the kspace_modify command. :dd {Cannot use region INF when box does not exist} :dt Regions that extend to the box boundaries can only be used after the create_box command has been used. :dd +{Cannot use rRESPA with full neighbor lists} :dt + +Defined pair style uses full neighbor lists (as opposed to +half neighbor lists), which are incompatible with the current +implementation of rRESPA. :dd + {Cannot use vectors in variables unless atom map exists} :dt Vectors require an atom map to be able to lookup the vector index. Only atom styles with molecular information creat a global map. :dd -{Cannot zero momentum for less than 2 atoms} :dt - -Velocity command is being used with momentum-zeroing options on a -group with 0 or 1 atoms. :dd +{Cannot use velocity create loop all unless atoms have IDs} :dt + +Atoms in the simulation to do not have IDs, so this style +of velocity creation cannot be performed. :dd + +{Cannot use velocity create loop all with non-contiguous atom IDs} :dt + +Atoms in the simulation to do not have consecutive IDs, so this style +of velocity creation cannot be performed. :dd {Command-line variable already exists} :dt Cannot use the -var command-line option to define the same variable more than once. :dd {Could not create 3d FFT plan} :dt The FFT setup in pppm failed. :dd {Could not create 3d remap plan} :dt The FFT setup in pppm failed. :dd {Could not find delete_atoms group ID} :dt Group ID used in the delete_atoms command does not exist. :dd {Could not find delete_atoms region ID} :dt Region ID used in the delete_atoms command does not exist. :dd {Could not find displace_atoms group ID} :dt A group ID used in the displace_atoms command does not exist. :dd {Cound not find dump_modify ID} :dt A dump ID used in the dump_modify command does not exist. :dd {Could not find dump group ID} :dt A group ID used in the dump command does not exist. :dd {Could not find fix group ID} :dt A group ID used in the fix command does not exist. :dd -{Could not find fix poems group ID} :dt - -A group ID used in the fix poems command does not exist. :dd - -{Could not find fix rigid group ID} :dt - -A group ID used in the fix rigid command does not exist. :dd - {Could not find fix_modify ID} :dt A fix ID used in the fix_modify command does not exist. :dd {Could not find fix_modify temperature ID} :dt A temperature ID used in the fix_modify command does not exist. :dd -{Could not find fix spring vector group ID} :dt +{Could not find fix poems group ID} :dt + +A group ID used in the fix poems command does not exist. :dd -Group ID used with fix spring command does not exist. :dd +{Could not find fix recenter group ID} :dt + +A group ID used in the fix recenter command does not exist. :dd + +{Could not find fix rigid group ID} :dt + +A group ID used in the fix rigid command does not exist. :dd + +{Could not find fix spring couple group ID} :dt + +Self-explanatory. :dd {Could not find temp_modify ID} :dt A temperature ID used in the temp_modify command does not exist. :dd {Could not find temperature group ID} :dt A group ID used in the temperature command does not exist. :dd {Could not find thermo temperature ID} :dt A temperature ID used in the thermo custom style does not exist. :dd {Could not find thermo_modify temperature ID} :dt A temperature ID used in the thermo_modify command does not exist. :dd {Could not find undump ID} :dt A dump ID used in the undump command does not exist. :dd {Could not find unfix ID} :dt A fix ID used in the unfix command does not exist. :dd {Could not find velocity group ID} :dt A group ID used in the velocity command does not exist. :dd {Could not find velocity temperature ID} :dt A temperature ID used in the velocity command does not exist. :dd -{Could not open dump file} :dt - -The output file for the dump command cannot be opened. Check that the -path and name are correct. :dd - -{Could not open input script} :dt - -The input script file named in a command-line argument could not be -opened. :dd - -{Could not open log.lammps} :dt - -The default LAMMPS log file cannot be opened. Check that the -directory you are running in allows for files to be created. :dd - -{Could not open logfile} :dt - -The LAMMPS log file named in a command-line argument cannot be opened. -Check that the path and name are correct. :dd - -{Could not open logfile %s} :dt - -The LAMMPS log file specified in the input script cannot be opened. -Check that the path and name are correct. :dd - -{Could not open new input file %s} :dt - -The input script file named in an include or jump command could not be -opened. Check that the path and name are correct. :dd - -{Could not open screen file} :dt - -The screen file specified as a command-line argument cannot be -opened. Check that the directory you are running in allows for files -to be created. :dd - -{Could not open universe log file} :dt - -For a multi-partition run, the master log file cannot be opened. -Check that the directory you are running in allows for files to be -created. :dd - -{Could not open universe screen file} :dt - -For a multi-partition run, the master screen file cannot be opened. -Check that the directory you are running in allows for files to be -created. :dd - {Create_atoms command before simulation box is defined} :dt The create_atoms command cannot be used before a read_data, read_restart, or create_box command. :dd {Create_atoms region ID does not exist} :dt A region ID used in the create_atoms command does not exist. :dd {Create_box region must be of type inside} :dt The region used in the create_box command must not be an "outside" region. See the region command for details. :dd {Create_box region ID does not exist} :dt A region ID used in the create_box command does not exist. :dd {Cyclic loop in joint connections} :dt Fix poems cannot (yet) work with coupled bodies whose joints connect the bodies in a ring (or cycle). :dd {Delete_atoms command before simulation box is defined} :dt The delete_atoms command cannot be used before a read_data, read_restart, or create_box command. :dd {Delete_atoms cutoff > neighbor cutoff} :dt Cannot use a cutoff with delete_atoms overlap that is larger than the force cutoff + neighbor skin. :dd {Delete_bonds command before simulation box is defined} :dt The delete_bonds command cannot be used before a read_data, read_restart, or create_box command. :dd {Delete_bonds command with no atoms existing} :dt No atoms are yet defined so the delete_bonds command cannot be used. :dd {Did not assign all atoms correctly} :dt Atoms read in from a data file were not assigned correctly to processors. This is likely due to some atom coordinates being outside a non-periodic simulation box. :dd {Did not find keyword in table file} :dt Keyword used in pair_coeff command was not found in table file. :dd {Did not find fix shake partner info} :dt Could not find bond partners implied by fix shake command. This error can be triggered if the delete_bonds command was used before fix shake, and it removed bonds without resetting the 1-2, 1-3, 1-4 weighting list via the special keyword. :dd {Dihedral atoms %d %d %d %d missing on proc %d at step %d} :dt One or more of 4 atoms needed to compute a particular dihedral are missing on this processor. Typically this is because the pairwise cutoff is set too short or the dihedral has blown apart and an atom is too far away. :dd {Dihedral atom missing in delete_bonds} :dt The delete_bonds command cannot find one or more atoms in a particular dihedral on a particular processor. The pairwise cutoff is too short or the atoms are too far apart to make a valid dihedral. :dd {Dihedral atom missing in set command} :dt The set command cannot find one or more atoms in a particular dihedral on a particular processor. The pairwise cutoff is too short or the atoms are too far apart to make a valid dihedral. :dd {Dihedral_coeff command before dihedral_style is defined} :dt Coefficients cannot be set in the data file or via the dihedral_coeff command until an dihedral_style has been assigned. :dd {Dihedral_coeff command before simulation box is defined} :dt The dihedral_coeff command cannot be used before a read_data, read_restart, or create_box command. :dd {Dihedral_coeff command when no dihedrals allowed} :dt The chosen atom style does not allow for dihedrals to be defined. :dd {Dihedral coeff for hybrid has invalid style} :dt Dihedral style hybrid uses another dihedral style as one of its coefficients. The dihedral style used in the dihedral_coeff command or read from a restart file is not recognized. :dd {Dihedral coeffs are not set} :dt No dihedral coefficients have been assigned in the data file or via the dihedral_coeff command. :dd {Dihedrals assigned incorrectly} :dt Dihedrals read in from the data file were not assigned correctly to atoms. This means there is something invalid about the topology definitions. :dd {Dihedrals defined but no dihedral types} :dt The data file header lists dihedrals but no dihedral types. :dd {Dihedral style hybrid cannot have hybrid as an argument} :dt Self-explanatory. :dd {Dihedral style hybrid cannot use same dihedral style twice} :dt Self-explanatory. :dd {Dimension command after simulation box is defined} :dt The dimension command cannot be used after a read_data, read_restart, or create_box command. :dd {Dipole command before simulation box is defined} :dt The dipole command cannot be used before a read_data, read_restart, or create_box command. :dd {Displace_atoms command before simulation box is defined} :dt The displace_atoms command cannot be used before a read_data, read_restart, or create_box command. :dd {Dump dcd must use group all} :dt Self-explanatory. :dd {Dump dcd of non-matching # of atoms} :dt Every snapshot written by dump dcd must contain the same # of atoms. :dd {Dump xtc must use group all} :dt Self-explanatory. :dd {Dump_modify region ID does not exist} :dt Self-explanatory. :dd {Dump xtc must use group all} :dt Self-explanatory. :dd {Failed to allocate %d bytes for array %s} :dt Your LAMMPS simulation has run out of memory. You need to run a smaller simulation or on more processors. :dd {Failed to reallocate %d bytes for array %s} :dt Your LAMMPS simulation has run out of memory. You need to run a smaller simulation or on more processors. :dd {Fix command before simulation box is defined} :dt The fix command cannot be used before a read_data, read_restart, or create_box command. :dd {Fix insert region ID does not exist} :dt A region ID used in the fix insert command does not exist. :dd {Fix langevin period must be > 0.0} :dt The time window for temperature relaxation must be > 0 :dd {Fix langevin region ID does not exist} :dt Self-explanatory. :dd +{Fix msd group has no atoms} :dt + +Cannot compute diffusion for no atoms. :dd + +{Fix momentum group has no atoms} :dt + +Self-explanatory. :dd + {Fix nph periods must be > 0.0} :dt The time window for pressure relaxation must be > 0 :dd {Fix npt periods must be > 0.0} :dt The time window for temperature or pressure relaxation must be > 0 :dd {Fix nvt period must be > 0.0} :dt The time window for temperature relaxation must be > 0 :dd {Fix orient/fcc file open failed} :dt The fix orient/fcc command could not open a specified file. :dd {Fix orient/fcc file read failed} :dt The fix orient/fcc command could not read the needed parameters from a specified file. :dd {Fix orient/fcc found self twice} :dt The neighbor lists used by fix orient/fcc are messed up. If this error occurs, it is likely a bug, so send an email to the "developers"_http://lammps.sandia.gov/authors.html. :dd {Fix rdf requires a pair style be defined} :dt Cannot use the rdf fix unless a pair style with a cutoff has been defined. :dd +{Fix recenter group has no atoms} :dt + +Self-explanatory. :dd + {Fix temp/rescale region ID does not exist} :dt Self-explanatory. :dd {Fix tmd must come after integration fixes} :dt Any fix tmd command must appear in the input script after all time integration fixes (nve, nvt, npt). See the fix tmd documentation for details. :dd {Fix wall/gran can only be used with granular pair style} :dt Self-explanatory. :dd +{Found no restart file matching pattern} :dt + +When using a "*" in the restart file name, no matching file was found. :dd + {Granular pair styles do not use pair_coeff settings} :dt The pair_coeff command cannot be used with granular force fields. :dd -{Gravity must point in -z to use with fix insert} :dt +{Gravity must point in -y to use with fix insert in 2d} :dt + +Gravity must be pointing "down" in a 2d box. :dd -The fix insert command assumes the theta angle for gravity is 180.0. :dd +{Gravity must point in -z to use with fix insert in 3d} :dt + +Gravity must be pointing "down" in a 3d box, i.e. theta = 180.0. :dd {Group command before simulation box is defined} :dt The group command cannot be used before a read_data, read_restart, or create_box command. :dd {Group ID does not exist} :dt A group ID used in the group command does not exist. :dd {Group region ID does not exist} :dt A region ID used in the group command does not exist. :dd {Illegal ... command} :dt Self-explanatory. Check the input script syntax and compare to the -documentation for the command. :dd +documentation for the command. You can use -echo screen as a +command-line option when running LAMMPS to see what is the offending +line. :dd {Improper atoms %d %d %d %d missing on proc %d at step %d} :dt One or more of 4 atoms needed to compute a particular improper are missing on this processor. Typically this is because the pairwise cutoff is set too short or the improper has blown apart and an atom is too far away. :dd {Improper atom missing in delete_bonds} :dt The delete_bonds command cannot find one or more atoms in a particular improper on a particular processor. The pairwise cutoff is too short or the atoms are too far apart to make a valid improper. :dd {Improper atom missing in set command} :dt The set command cannot find one or more atoms in a particular improper on a particular processor. The pairwise cutoff is too short or the atoms are too far apart to make a valid improper. :dd {Improper_coeff command before improper_style is defined} :dt Coefficients cannot be set in the data file or via the improper_coeff command until an improper_style has been assigned. :dd {Improper_coeff command before simulation box is defined} :dt The improper_coeff command cannot be used before a read_data, read_restart, or create_box command. :dd {Improper_coeff command when no impropers allowed} :dt The chosen atom style does not allow for impropers to be defined. :dd {Improper coeff for hybrid has invalid style} :dt Improper style hybrid uses another improper style as one of its coefficients. The improper style used in the improper_coeff command or read from a restart file is not recognized. :dd {Improper coeffs are not set} :dt No improper coefficients have been assigned in the data file or via the improper_coeff command. :dd {Impropers assigned incorrectly} :dt Impropers read in from the data file were not assigned correctly to atoms. This means there is something invalid about the topology definitions. :dd {Impropers defined but no improper types} :dt The data file header lists improper but no improper types. :dd {Improper style hybrid cannot have hybrid as an argument} :dt Self-explanatory. :dd {Improper style hybrid cannot use same improper style twice} :dt Self-explanatory. :dd {Inconsistent dipole settings for some atoms} :dt Dipole moment must be 0 for non-dipole type atoms. Dipole moment must be set for dipole type atoms. :dd {Incorrect args for angle coefficients} :dt Self-explanatory. Check the input script or data file. :dd {Incorrect args for bond coefficients} :dt Self-explanatory. Check the input script or data file. :dd {Incorrect args for dihedral coefficients} :dt Self-explanatory. Check the input script or data file. :dd {Incorrect args for improper coefficients} :dt Self-explanatory. Check the input script or data file. :dd {Incorrect args for pair coefficients} :dt Self-explanatory. Check the input script or data file. :dd {Incorrect atom format in data file} :dt Number of values per atom line in the data file is not consistent with the atom style. :dd {Incorrect boundaries with slab Ewald} :dt Must have periodic x,y dimensions and non-periodic z dimension to use 2d slab option with Ewald. :dd {Incorrect boundaries with slab PPPM} :dt Must have periodic x,y dimensions and non-periodic z dimension to use 2d slab option with PPPM. :dd {Incorrect format in TMD target file} :dt Format of file read by fix tmd command is incorrect. :dd {Incorrect multiplicity arg for dihedral coefficients} :dt Self-explanatory. Check the input script or data file. :dd {Incorrect sign arg for dihedral coefficients} :dt Self-explanatory. Check the input script or data file. :dd {Incorrect weight arg for dihedral coefficients} :dt Self-explanatory. Check the input script or data file. :dd {Insertion region extends outside simulation box} :dt Region specified with fix insert command extends outside the global simulation box. :dd {Insufficient Jacobi rotations for POEMS body} :dt Eigensolve for rigid body was not sufficiently accurate. :dd {Insufficient Jacobi rotations for rigid body} :dt Eigensolve for rigid body was not sufficiently accurate. :dd -{Invalid $ variable} :dt - -The character following a $ in the input script is not between "a" and -"z". :dd - {Invalid angle style} :dt The choice of angle style is unknown. :dd {Invalid angle type in Angles section of data file} :dt Angle type must be positive integer and within range of specified angle types. :dd {Invalid angle type index for fix shake} :dt Self-explanatory. :dd {Invalid atom ID in Angles section of data file} :dt Atom IDs must be positive integers and within range of defined atoms. :dd {Invalid atom ID in Atoms section of data file} :dt Atom IDs must be positive integers. :dd {Invalid atom ID in Bonds section of data file} :dt Atom IDs must be positive integers and within range of defined atoms. :dd {Invalid atom ID in Dihedrals section of data file} :dt Atom IDs must be positive integers and within range of defined atoms. :dd {Invalid atom ID in Impropers section of data file} :dt Atom IDs must be positive integers and within range of defined atoms. :dd {Invalid atom ID in Velocities section of data file} :dt Atom IDs must be positive integers and within range of defined atoms. :dd {Invalid atom mass for fix shake} :dt Mass specified in fix shake command must be > 0.0. :dd {Invalid atom style} :dt The choice of atom style is unknown. :dd {Invalid atom type in Atoms section of data file} :dt Atom types must range from 1 to specified # of types. :dd {Invalid atom type in neighbor exclusion list} :dt Atom types must range from 1 to Ntypes inclusive. :dd {Invalid atom type index for fix shake} :dt Atom types must range from 1 to Ntypes inclusive. :dd {Invalid atom types in fix rdf command} :dt Atom types must range from 1 to Ntypes inclusive. :dd {Invalid atom types in pair_write command} :dt Atom types must range from 1 to Ntypes inclusive. :dd {Invalid bond style} :dt The choice of bond style is unknown. :dd {Invalid bond type in Bonds section of data file} :dt Bond type must be positive integer and within range of specified bond types. :dd {Invalid bond type index for fix shake} :dt Self-explanatory. Check the fix shake command in the input script. :dd {Invalid coeffs for this angle style} :dt Cannot set class 2 coeffs in data file for this angle style. :dd {Invalid coeffs for this dihedral style} :dt Cannot set class 2 coeffs in data file for this dihedral style. :dd {Invalid coeffs for this improper style} :dt Cannot set class 2 coeffs in data file for this improper style. :dd {Invalid command-line argument} :dt One or more command-line arguments is invalid. Check the syntax of the command you are using to launch LAMMPS. :dd {Invalid cutoffs in pair_write command} :dt Inner cutoff must be larger than 0.0 and less than outer cutoff. :dd {Invalid data file section: Angle Coeffs} :dt Atom style does not allow angles. :dd {Invalid data file section: AngleAngle Coeffs} :dt Atom style does not allow impropers. :dd {Invalid data file section: AngleAngleTorsion Coeffs} :dt Atom style does not allow dihedrals. :dd {Invalid data file section: AngleTorsion Coeffs} :dt Atom style does not allow dihedrals. :dd {Invalid data file section: Angles} :dt Atom style does not allow angles. :dd {Invalid data file section: Bond Coeffs} :dt Atom style does not allow bonds. :dd {Invalid data file section: BondAngle Coeffs} :dt Atom style does not allow angles. :dd {Invalid data file section: BondBond Coeffs} :dt Atom style does not allow angles. :dd {Invalid data file section: BondBond13 Coeffs} :dt Atom style does not allow dihedrals. :dd {Invalid data file section: Bonds} :dt Atom style does not allow bonds. :dd {Invalid data file section: Dihedral Coeffs} :dt Atom style does not allow dihedrals. :dd {Invalid data file section: Dihedrals} :dt Atom style does not allow dihedrals. :dd {Invalid data file section: EndBondTorsion Coeffs} :dt Atom style does not allow dihedrals. :dd {Invalid data file section: Improper Coeffs} :dt Atom style does not allow impropers. :dd {Invalid data file section: Impropers} :dt Atom style does not allow impropers. :dd {Invalid data file section: MiddleBondTorsion Coeffs} :dt Atom style does not allow dihedrals. :dd {Invalid dihedral style} :dt The choice of dihedral style is unknown. :dd {Invalid dihedral type in Dihedrals section of data file} :dt Dihedral type must be positive integer and within range of specified dihedral types. :dd {Invalid dump dcd filename} :dt Filenames used with the dump dcd style cannot be binary or compressed or cause multiple files to be written. :dd {Invalid dump frequency} :dt Dumps frequency must be 1 or greater. :dd {Invalid dump_modify threshhold operator} :dt Operator keyword used for threshhold specification in not recognized. :dd {Invalid dump style} :dt The choice of dump style is unknown. :dd {Invalid dump xtc filename} :dt Filenames used with the dump xtc style cannot be binary or compressed or cause multiple files to be written. :dd {Invalid dump xyz filename} :dt Filenames used with the dump xyz style cannot be binary or cause files to be written by each processor. :dd {Invalid group ID in neigh_modify command} :dt A group ID used in the neigh_modify command does not exist. :dd {Invalid fix style} :dt The choice of fix style is unknown. :dd {Invalid flag in header of restart file} :dt Value read from beginning of restart file is not recognized. :dd {Invalid improper style} :dt The choice of improper style is unknown. :dd {Invalid improper type in Impropers section of data file} :dt Improper type must be positive integer and within range of specified improper types. :dd {Invalid keyword in dump custom command} :dt One or more attribute keywords are not recognized. :dd {Invalid keyword in pair table parameters} :dt Keyword used in list of table parameters is not recognized. :dd {Invalid keyword in thermo_style command} :dt One or more attribute keywords are not recognized. :dd {Invalid keyword in variable equal command} :dt One or more attribute keywords are not recognized. :dd {Invalid kspace style} :dt The choice of kspace style is unknown. :dd {Invalid natoms for dump dcd} :dt Natoms is initially 0 which is not valid for the dump dcd style. Natoms must be constant for the duration of the simulation. :dd {Invalid natoms for dump xtc} :dt Natoms is initially 0 which is not valid for the dump xtc style. :dd {Invalid natoms for dump xyz} :dt Natoms is initially 0 which is not valid for the dump xyz style. :dd {Invalid order of forces within respa levels} :dt For respa, ordering of force computations within respa levels must obey certain rules. E.g. bonds cannot be compute less frequently than angles, pairwise forces cannot be computed less frequently than kspace, etc. :dd {Invalid pair style} :dt The choice of pair style is unknown. :dd {Invalid pair table cutoff} :dt Cutoffs in pair_coeff command are not valid with read-in pair table. :dd {Invalid pair table length} :dt Length of read-in pair table is invalid :dd {Invalid random number seed in set command} :dt Random number seed must be > 0. :dd {Invalid region style} :dt The choice of region style is unknown. :dd {Invalid style in pair_write command} :dt Self-explanatory. Check the input script. :dd {Invalid temperature style} :dt The choice of temperature style is unknown. :dd {Invalid type for dipole set} :dt Dipole command must set a type from 1-N where N is the number of atom types. :dd {Invalid type for mass set} :dt Mass command must set a type from 1-N where N is the number of atom types. :dd {Invalid type in set command} :dt Type used in set command must be from 1-N where N is the number of atom types (bond types, angle types, etc). :dd -{Invalid variable in command-line argument} :dt - -Command-line arg -var must set a variable from "a" to "z". :dd - {Invalid variable in next command} :dt Next command in input script must set variables from "a" to "z". :dd -{Invalid variable in variable command} :dt +{Invalid variable name} :dt -Variable command in input script must set a variable from "a" to "z". :dd +Variable name used in an input script line is invalid. :dd {Invalid variable style with next command} :dt Variable styles {equal} and {world} cannot be used in a next command. :dd {Invalid vector in variable equal command} :dt One or more vector names are not recognized. :dd +{Invoked pair single on pair style none} :dt + +A command (e.g. a dump) attempted to invoke the single() function on a +pair style none, which is illegal. You are probably attempting to +compute per-atom quantities with an undefined pair style. :dd + {KSpace style has not yet been set} :dt Cannot use kspace_modify command until a kspace style is set. :dd {KSpace style is incompatible with Pair style} :dt Setting a kspace style requires that a pair style with a long-range Coulombic component be selected. :dd {Label wasn't found in input script} :dt Self-explanatory. :dd {Lattice style incompatible with dimension} :dt 2d simulation can use sq, sq2, or hex lattice. 3d simulation can use sc, bcc, or fcc lattice. :dd {Lost atoms via displacement: original %.15g current %.15g} :dt Moving atoms via the displace_atoms command lost one or more atoms. :dd {Lost atoms: original %.15g current %.15g} :dt A thermodynamic computation has detected lost atoms. :dd {Marsaglia RNG cannot use 0 seed} :dt The random number generator use for the fix langevin command cannot use 0 as an initial seed. :dd {Mass command before simulation box is defined} :dt The mass command cannot be used before a read_data, read_restart, or create_box command. :dd {Minimize command before simulation box is defined} :dt The minimize command cannot be used before a read_data, read_restart, or create_box command. :dd {Min_style command before simulation box is defined} :dt The min_style command cannot be used before a read_data, read_restart, or create_box command. :dd {More than one freeze fix} :dt You can only define one freeze fix. :dd {More than one shake fix} :dt You can only define one SHAKE fix. :dd {Must define angle_style before Angle Coeffs} :dt Must use an angle_style command before reading a data file that defines Angle Coeffs. :dd {Must define angle_style before BondAngle Coeffs} :dt Must use an angle_style command before reading a data file that defines Angle Coeffs. :dd {Must define angle_style before BondBond Coeffs} :dt Must use an angle_style command before reading a data file that defines Angle Coeffs. :dd {Must define bond_style before Bond Coeffs} :dt Must use a bond_style command before reading a data file that defines Bond Coeffs. :dd {Must define dihedral_style before AngleAngleTorsion Coeffs} :dt Must use a dihedral_style command before reading a data file that defines AngleAngleTorsion Coeffs. :dd {Must define dihedral_style before AngleTorsion Coeffs} :dt Must use a dihedral_style command before reading a data file that defines AngleTorsion Coeffs. :dd {Must define dihedral_style before BondBond13 Coeffs} :dt Must use a dihedral_style command before reading a data file that defines BondBond13 Coeffs. :dd {Must define dihedral_style before Dihedral Coeffs} :dt Must use a dihedral_style command before reading a data file that defines Dihedral Coeffs. :dd {Must define dihedral_style before EndBondTorsion Coeffs} :dt Must use a dihedral_style command before reading a data file that defines EndBondTorsion Coeffs. :dd {Must define dihedral_style before MiddleBondTorsion Coeffs} :dt Must use a dihedral_style command before reading a data file that defines MiddleBondTorsion Coeffs. :dd {Must define improper_style before AngleAngle Coeffs} :dt Must use an improper_style command before reading a data file that defines AngleAngle Coeffs. :dd {Must define improper_style before Improper Coeffs} :dt Must use an improper_style command before reading a data file that defines Improper Coeffs. :dd {Must define pair_style before Pair Coeffs} :dt Must use a pair_style command before reading a data file that defines Pair Coeffs. :dd {Must have more than one processor partition to temper} :dt Cannot use the temper command with only one processor partition. Use the -partition command-line option. :dd {Must read Atoms before Angles} :dt The Atoms section of a data file must come before an Angles section. :dd {Must read Atoms before Bonds} :dt The Atoms section of a data file must come before a Bonds section. :dd {Must read Atoms before Dihedrals} :dt The Atoms section of a data file must come before a Dihedrals section. :dd {Must read Atoms before Impropers} :dt The Atoms section of a data file must come before an Impropers section. :dd {Must read Atoms before Velocities} :dt The Atoms section of a data file must come before a Velocities section. :dd {Must set both respa inner and outer} :dt Cannot use just the inner or outer option with repsa without using the other. :dd {Must specify a region in fix insert} :dt Self-explanatory. :dd -{Must use -in switch with multiple partitions} :dt +{Must use a block or cylinder region with fix insert} :dt -A multi-partition simulation cannot read the input script from stdin. -The -in command-line option must be used to specify a file. :dd +Self-explanatory. :dd -{Must use a block or cylinder region with fix insert} :dt +{Must use a block region with fix insert for 2d simulations} :dt Self-explanatory. :dd {Must use a molecular atom style with fix poems molecule} :dt Self-explanatory. :dd {Must use a molecular atom style with fix rigid molecule} :dt Self-explanatory. :dd -{Must use molecular atom style with neigh_modify exclude molecule} :dt +{Must use atom style dipole with chosen thermo settings} :dt -Self-explanatory. :dd +A thermo quantity being printed can only be computed if the atom +style includes dipole quantities. :dd {Must use a z-axis cylinder with fix insert} :dt The axis of the cylinder region used with the fix insert command must be oriented along the z dimension. :dd {Must use atom style dpd with pair style dpd} :dt Self-explanatory. :dd -{Must use atom style granular with lj units} :dt - -Self-explanatory. :dd - {Must use atom style granular with pair style granular} :dt Self-explanatory. :dd {Must use atom style granular with chosen thermo settings} :dt If granular thermo info is to be output, must use atom style granular. :dd {Must use atom style granular with granular thermo output} :dt If atom style is granular, must use thermo style granular or custom. :dd {Must use charged atom style with fix efield} :dt The atom style being used does not allow atoms to have assigned charges. Hence it will not work with this fix which generates a force due to an E-field acting on charge. :dd {Must use charged atom style with this pair style} :dt The atom style being used does not allow atoms to have assigned charges. Hence it will not work with this choice of pair style. :dd {Must use fix freeze with atom style granular} :dt Self-explanatory. :dd {Must use fix gran/diag with atom style granular} :dt Self-explanatory. :dd {Must use fix gran/diag with granular pair style} :dt Self-explanatory. :dd {Must use fix gravity chute with atom style granular} :dt Self-explanatory. :dd {Must use fix gravity spherical with atom style granular} :dt Self-explanatory. :dd {Must use fix gravity gradient with atom style granular} :dt Self-explanatory. :dd {Must use fix gravity with fix insert} :dt Insertion of granular particles must be done under the influence of gravity. :dd {Must use fix insert with atom style granular} :dt Self-explanatory. :dd {Must use fix nve/gran with atom style granular} :dt Self-explanatory. :dd {Must use fix wall/gran with atom style granular} :dt Self-explanatory. :dd -{Must use newton pairwise on with TIP4P potential} :dt +{Must use -in switch with multiple partitions} :dt -Use of a TIP4P pair potential requires the newton command setting for -pairwise interactions be "on", because of the way forces are computed -on other atoms due to TIP4P interactions. :dd +A multi-partition simulation cannot read the input script from stdin. +The -in command-line option must be used to specify a file. :dd + +{Must use lj units with atom style granular} :dt + +Self-explanatory. :dd + +{Must use molecular atom style with neigh_modify exclude molecule} :dt + +Self-explanatory. :dd {Must use region with side = in with fix insert} :dt Self-explanatory. :dd {Must use special bonds = 1,1,1 with bond style quartic} :dt The settings for the special_bonds command must be set as indicated when using bond style quartic. :dd {Needed topology not in data file} :dt The header of the data file indicated that bonds or angles or dihedrals or impropers would be included, but they were not present. :dd {Neighbor delay must be 0 or multiple of every setting} :dt The delay and every parameters set via the neigh_modify command are inconsistent. If the delay setting is non-zero, then it must be a multiple of the every setting. :dd {Neighbor list overflow, boost neigh_modify one or page} :dt There are too many neighbors of a single atom. Use the neigh_modify command to increase the neighbor page size and the max number of neighbors allowed for one atom. :dd {Newton bond change after simulation box is defined} :dt The newton command cannot be used to change the newton bond value after a read_data, read_restart, or create_box command. :dd {No angles allowed with this atom style} :dt Self-explanatory. Check data file. :dd {No atoms in data file} :dt The header of the data file indicated that atoms would be included, but they were not present. :dd -{No atoms to compute diffusion for} :dt - -The fix msd command has no atoms to compute on. :dd - {No bonds allowed with this atom style} :dt Self-explanatory. Check data file. :dd {No dihedrals allowed with this atom style} :dt Self-explanatory. Check data file. :dd {No dump custom arguments specified} :dt The dump custom command requires that atom quantities be specified to output to dump file. :dd {No impropers allowed with this atom style} :dt Self-explanatory. Check data file. :dd {No rigid bodies defined by fix rigid} :dt Self-explanatory. :dd {Non integer # of swaps in temper command} :dt Swap frequency in temper command must evenly divide the total # of timesteps. :dd {Non-orthogonal lattice vectors} :dt Self-explanatory. :dd {One or zero atoms in rigid body} :dt Any rigid body defined by the fix rigid command must contain 2 or more atoms. :dd {One or more atoms belong to multiple rigid bodies} :dt Two or more rigid bodies defined by the fix rigid command cannot contain the same atom. :dd {Orientation vectors are not right-handed} :dt The 3 vectors defined by the orient command must form a right-handed coordinate system. :dd {Out of range atoms - cannot compute PPPM} :dt One or more atoms are attempting to map their charge to a PPPM grid point that is not owned by a processor. This is usually because an atom has moved to far in a single timestep. :dd {Pair distance < table inner cutoff} :dt Two atoms are closer together than the pairwise table allows. :dd {Pair distance > table outer cutoff} :dt Two atoms are further apart than the pairwise table allows. :dd -{Pair style must be defined to use bond style quartic} :dt - -Bond style quartic requires a pair style be defined. :dd - {Pair table parameters did not set N} :dt List of pair table parameters must include N setting. :dd {PPPM grid is too large} :dt The global PPPM grid is larger than OFFSET in one or more dimensions. OFFSET is currently set to 4096. You likely need to decrease the requested precision. :dd {PPPM order cannot be greater than %d} :dt Self-explanatory. :dd {PPPM stencil extends too far, reduce PPPM order} :dt The grid points that atom charge are mapped to cannot extend further than one neighbor processor away. Reducing the PPPM order via the kspace_modify command will reduce the stencil distance. :dd {Pair coeff for hybrid has invalid style} :dt Style in pair coeff must have been listed in pair_style command. :dd {Pair cutoff < Respa interior cutoff} :dt One or more pairwise cutoffs are too short to use with the specified rRESPA cutoffs. :dd -{Pair style hybrid cannot have hybrid as an argument} :dt - -Self-explanatory. Check the input script. :dd - -{Pair style hybrid cannot use same pair style twice} :dt - -The sub-style arguments of pair_style hybrid cannot be duplicated. -Check the input script. :dd - {Pair inner cutoff < Respa interior cutoff} :dt One or more pairwise cutoffs are too short to use with the specified rRESPA cutoffs. :dd {Pair inner cutoff >= Pair outer cutoff} :dt The specified cutoffs for the pair style are inconsistent. :dd +{Pair style does not support bond_style quartic} :dt + +The pair style does not have a single() function, so it can +not be invoked by bond_style quartic. :dd + +{Pair style does not support dumping per-atom energy} :dt + +The pair style does not have a single() function, so it can not be +invoked by the dump command. :dd + +{Pair style does not support dumping per-atom stress} :dt + +The pair style does not have a single() function, so it can not be +invoked by the dump command. :dd + +{Pair style does not support pair_write} :dt + +The pair style does not have a single() function, so it can +not be invoked by the pair_write command. :dd + +{Pair style does not support rRESPA inner/middle/outer} :dt + +You are attempting to use rRESPA options with a pair style that +does not support them. :dd + +{Pair style granular with history requires atoms have IDs} :dt + +Atoms in the simulation do not have IDs, so history effects +cannot be tracked by the granular pair potential. :dd + +{Pair style hybrid cannot have hybrid as an argument} :dt + +Self-explanatory. Check the input script. :dd + +{Pair style hybrid cannot use same pair style twice} :dt + +The sub-style arguments of pair_style hybrid cannot be duplicated. +Check the input script. :dd + {Pair style is incompatible with DihedralCharmm} :dt When using a dihedral style charmm, a pair style with a CHARMM component must also be selected, so that 1-4 pairwise coefficients are specified. :dd {Pair style is incompatible with KSpace style} :dt If a pair style with a long-range Coulombic component is selected, then a kspace style must also be used. :dd +{Pair style lj/cut/coul/long/tip4p requires atom IDs} :dt + +There are no atom IDs defined in the system and the TIP4P potential +requires them to find O,H atoms with a water molecule. :dd + +{Pair style lj/cut/coul/long/tip4p requires newton pair on} :dt + +This is because the computation of constraint forces within a water +molecule adds forces to atoms owned by other processors. :dd + {Pair table cutoffs must all be equal to use with KSpace} :dt When using pair style table with a long-range KSpace solver, the cutoffs for all atom type pairs must all be the same, since the long-range solver starts at that cutoff. :dd {Pair_coeff command before pair_style is defined} :dt Self-explanatory. :dd {Pair_coeff command before simulation box is defined} :dt The pair_coeff command cannot be used before a read_data, read_restart, or create_box command. :dd {Pair_modify command before pair_style is defined} :dt Self-explanatory. :dd +{Pair_style granular command before simulation box is defined} :dt + +This pair style cannot be used before a simulation box is defined. :dd + {Pair_write command before pair_style is defined} :dt Self-explanatory. :dd {POEMS fix must come before NPT/NPH fix} :dt NPT/NPH fix must be defined in input script after all poems fixes, else the fix contribution to the pressure virial is incorrect. :dd {Potential with shear history requires newton pair off} :dt Granular potentials that include shear history effects can only be run with a newton setting where pairwise newton is "off". :dd {Proc grid in z != 1 for 2d simulation} :dt There cannot be more than 1 processor in the z dimension of a 2d simulation. :dd {Processor partitions are inconsistent} :dt The total number of processors in all partitions must match the number of processors LAMMPS is running on. :dd {Processors command after simulation box is defined} :dt The processors command cannot be used after a read_data, read_restart, or create_box command. :dd {Quaternion creation numeric error} :dt A numeric error occurred in the creation of a rigid body by the fix rigid command. :dd {Quotes in a single arg} :dt A single word should not be quoted in the input script; only a set of words with intervening spaces should be quoted. :dd {R0 < 0 for fix spring command} :dt Equilibrium spring length is invalid. :dd {Region union region ID does not exist} :dt One or more of the region IDs specified by the region union command does not exist. :dd {Replacing a fix, but new style != old style} :dt A fix ID can be used a 2nd time, but only if the style matches the previous fix. In this case it is assumed you with to reset a fix's parameters. This error may mean you are mistakenly re-using a fix ID when you do not intend to. :dd {Replicate command before simulation box is defined} :dt The replicate command cannot be used before a read_data, read_restart, or create_box command. :dd {Replicate did not assign all atoms correctly} :dt Atoms replicated by the replicate command were not assigned correctly to processors. This is likely due to some atom coordinates being outside a non-periodic simulation box. :dd {Requested atom types in EAM setfl file do not exist} :dt Atom type specified in pair_style eam command does not match number of types in setfl potential file. :dd {Respa inner cutoffs are invalid} :dt The first cutoff must be <= the second cutoff. :dd -{Respa inner/middle/outer used with invalid pair style} :dt - -Only a few pair potentials support the use of respa inner, middle, -outer options. :dd - {Respa levels must be >= 1} :dt Self-explanatory. :dd {Respa middle cutoffs are invalid} :dt The first cutoff must be <= the second cutoff. :dd {Respa not allowed with atom style granular} :dt Respa cannot be used with the granular atom style. :dd {Reuse of dump ID} :dt A dump ID cannot be used twice. :dd {Reuse of region ID} :dt A region ID cannot be used twice. :dd {Reuse of temperature ID} :dt A temperature ID cannot be used twice. :dd {Rigid body has degenerate moment of inertia} :dt Fix poems will only work with bodies (collections of atoms) that have non-zero principal moments of inertia. This means they must be 3 or more non-colinear atoms, even with joint atoms removed. :dd {Rigid fix must come before NPT/NPH fix} :dt NPT/NPH fix must be defined in input script after all rigid fixes, else the rigid fix contribution to the pressure virial is incorrect. :dd {Run command before simulation box is defined} :dt The run command cannot be used before a read_data, read_restart, or create_box command. :dd +{Run command upto value is before current timestep} :dt + +Self-explanatory. :dd + +{Run command start value is after start of run} :dt + +Self-explanatory. :dd + +{Run command stop value is before end of run} :dt + +Self-explanatory. :dd + {Run_style command before simulation box is defined} :dt The run_style command cannot be used before a read_data, read_restart, or create_box command. :dd {Set command before simulation box is defined} :dt The set command cannot be used before a read_data, read_restart, or create_box command. :dd {Set command with no atoms existing} :dt No atoms are yet defined so the set command cannot be used. :dd {Shake angles have different bond types} :dt All 3-atom angle-constrained SHAKE clusters specified by the fix shake command that are the same angle type, must also have the same bond types for the 2 bonds in the angle. :dd {Shake atoms %d %d %d %d missing on proc %d at step %d} :dt The 4 atoms in a single shake cluster specified by the fix shake command are not all accessible to a processor. This probably means an atom has moved too far. :dd {Shake atoms %d %d %d missing on proc %d at step %d} :dt The 3 atoms in a single shake cluster specified by the fix shake command are not all accessible to a processor. This probably means an atom has moved too far. :dd {Shake atoms %d %d missing on proc %d at step %d} :dt The 2 atoms in a single shake cluster specified by the fix shake command are not all accessible to a processor. This probably means an atom has moved too far. :dd {Shake cluster of more than 4 atoms} :dt A single cluster specified by the fix shake command can have no more than 4 atoms. :dd {Shake clusters are connected} :dt A single cluster specified by the fix shake command must have a single central atom with up to 3 other atoms bonded to it. :dd {Shake determinant = 0.0} :dt The determinant of the matrix being solved for a single cluster specified by the fix shake command is numerically invalid. :dd {Shake fix must come before NPT/NPH fix} :dt NPT fix must be defined in input script after SHAKE fix, else the SHAKE fix contribution to the pressure virial is incorrect. :dd {Substitution for undefined variable} :dt The variable specified with a $ symbol in an input script command has not been previously defined with a variable command. :dd +{Target T for fix nvt cannot be 0.0} :dt + +Self-explanatory. :dd + +{Target T for fix npt cannot be 0.0} :dt + +Self-explanatory. :dd + {Temperature region ID does not exist} :dt The region ID specified in the temperature command does not exist. :dd {Temper command before simulation box is defined} :dt The temper command cannot be used before a read_data, read_restart, or create_box command. :dd {Tempering fix ID is not defined} :dt The fix ID specified by the temper command does not exist. :dd {Tempering fix is not valid} :dt The fix specified by the temper command is not one that controls temperature (nvt or langevin). :dd {Thermodynamics not computed on tempering swap steps} :dt The thermo command must insure that thermodynamics (including energy) is computed on the timesteps that tempering swaps are attempted. :dd {Thermodynamics must compute PE for temper} :dt The thermo style must insure that thermodynamics computations include potential energy when tempering is performed. :dd {Thermo_style command before simulation box is defined} :dt The thermo_style command cannot be used before a read_data, read_restart, or create_box command. :dd {Timestep must be >= 0} :dt Specified timestep size is invalid. :dd {TIP4P hydrogen has incorrect atom type} :dt The TIP4P pairwise computation found an H atom whose type does not agree with the specified H type. :dd {TIP4P hydrogen is missing} :dt The TIP4P pairwise computation failed to find the correct H atom within a water molecule. :dd {TMD target file did not list all group atoms} :dt The target file for the fix tmd command did not list all atoms in the fix group. :dd -{Too big a problem to run with a molecular atom style} :dt +{Too big a problem to replicate with molecular atom style} :dt -Cannot run a problem with > 2^31 atoms with molecular attributes. :dd +Molecular problems cannot become bigger than 2^31 atoms (or bonds, +etc) when replicated, else the atom IDs and other quantities cannot be +stored in 32 bit quantities. :dd {Too few bits for lookup table} :dt Table size specified via pair_modify command does not work with your machine's floating point representation. :dd {Too large an atom type in create_atoms command} :dt The atoms to be created by the create_atoms command must have a valid type. :dd -{Too many atoms in data file} :dt - -A data file cannot contain more than 2^31 atoms. :dd - -{Too many atoms to use delete atoms command} :dt - -Cannot use delete_atoms command if number of atoms is greater than -2^31. :dd - -{Too many atoms to use velocity create with loop all} :dt - -Cannot use velocity create command with loop all setting if number of -atoms is greater than 2^31. Switch to local or geom setting. :dd - {Too many exponent bits for lookup table} :dt Table size specified via pair_modify command does not work with your machine's floating point representation. :dd {Too many mantissa bits for lookup table} :dt Table size specified via pair_modify command does not work with your machine's floating point representation. :dd {Too many groups} :dt The maximum number of atom groups (including the "all" group) is given by MAX_GROUP in group.cpp and is 32. :dd {Too many masses for fix shake} :dt The fix shake command cannot list more masses than there are atom types. :dd {Too many total bits for bitmapped lookup table} :dt Table size specified via pair_modify command is too large. Note that a value of N generates a 2^N size table. :dd {Too many touching neighbors - boost MAXTOUCH} :dt A granular simulation has too many neighbors touching one atom. The MAXTOUCH parameter in fix_shear_history.cpp must be set larger and LAMMPS must be re-built. :dd {Tree structure in joint connections} :dt Fix poems cannot (yet) work with coupled bodies whose joints connect the bodies in a tree structure. :dd {Unbalanced quotes in input line} :dt No matching end double quote was found following a leading double quote. :dd {Unexpected end of data file} :dt LAMMPS hit the end of the data file while attempting to read a section. Something is wrong with the format of the data file. :dd {Units command after simulation box is defined} :dt The units command cannot be used after a read_data, read_restart, or create_box command. :dd {Unknown atom style in restart file} :dt The atom style stored in the restart file is not recognized by LAMMPS. :dd {Unknown command: %s} :dt The command is not known to LAMMPS. Check the input script. :dd {Unknown identifier in data file: %s} :dt A section of the data file cannot be read by LAMMPS. :dd {Unknown section in data file: %s} :dt The keyword for a section of the data file is not recognized by LAMMPS. :dd {Unknown table style in pair_style command} :dt Style of table is invalid for use with pair_style table command. :dd {Universe variable count < # of partitions} :dt A world-style variable must specify a number of values >= to the number of processor partitions. :dd {Use of displace_atoms with undefined lattice} :dt Must use lattice command with displace_atoms command if units option is set to lattice. :dd {Use of fix indent with undefined lattice} :dt The lattice command must be used to define a lattice before using the fix indent command. :dd {Use of region with undefined lattice} :dt If scale = lattice (the default) for the region command, then a lattice must first be defined via the lattice command. :dd {Use of temperature ramp with undefined lattice} :dt If scale = lattice (the default) for the temperature ramp command, then a lattice must first be defined via the lattice command. :dd {Use of velocity with undefined lattice} :dt If scale = lattice (the default) for the velocity set or velocity ramp command, then a lattice must first be defined via the lattice command. :dd {Using variable equal keyword before simulation box is defined} :dt Cannot use simulation domain keywords in a equal style variable definition until the simulation box has been defined. :dd {Using variable equal keyword before initial run} :dt Cannot use thermodynamic keywords in a equal style variable definition until a simulation run has been performed. :dd +{Variable equal group ID does not exist} :dt + +Self-explanatory. :dd + {Velocity command before simulation box is defined} :dt The velocity command cannot be used before a read_data, read_restart, or create_box command. :dd {Velocity command with no atoms existing} :dt A velocity command has been used, but no atoms yet exist. :dd {Velocity ramp in z for a 2d problem} :dt Self-explanatory. :dd {World variable count doesn't match # of partitions} :dt A world-style variable must specify a number of values equal to the number of processor partitions. :dd {Write_restart command before simulation box is defined} :dt The write_restart command cannot be used before a read_data, read_restart, or create_box command. :dd :dle Warnings: :h4,link(warn) :dlb {FENE bond too long: %d %g} :dt A FENE bond has stretched dangerously far. It's interaction strength will be truncated to attempt to prevent the bond from blowing up. :dd {FENE bond too long: %d %d %d %g} :dt A FENE bond has stretched dangerously far. It's interaction strength will be truncated to attempt to prevent the bond from blowing up. :dd +{Fix recenter should come after all other integration fixes} :dt + +Other fixes may change the position of the center-of-mass, so +fix recenter should come last. :dd + {Group for fix_modify temp != fix group} :dt The fix_modify command is specifying a temperature computation that computes a temperature on a different group of atoms than the fix itself operates on. This is probably not what you want to do. :dd {Less insertions than requested} :dt Less atom insertions occurred on this timestep due to the fix insert command than were scheduled. This is probably because there were too many overlaps detected. :dd {Lost atoms: original %.15g current %.15g} :dt A thermodynamic computation has detected lost atoms. :dd {Mismatch between velocity and temperature groups} :dt The temperature computation used by the velocity command will not be on the same group of atoms that velocities are being set for. This is probably not what you want. :dd {More than one dump custom with a centro attribute} :dt Each dump custom command that uses a per-atom centro attribute will cause a full neighbor list to be built and looped over. Thus it may be inefficient to use this attribute in multiple dump custom commands. :dd {More than one dump custom with a stress attribute} :dt Each dump custom command that uses a per-atom stress tensor attribute will cause the neighbor list to be looped over and inter-processor communication to be performed. Thus it may be inefficient to use these attributes in multiple dump custom commands. :dd {More than one dump custom with an energy attribute} :dt Each dump custom command that uses a per-atom energy attribute will cause the neighbor list to be looped over and inter-processor communication to be performed. Thus it may be inefficient to use this attribute in multiple dump custom commands. :dd {More than one msd fix} :dt This will be computationally inefficient. :dd {More than one poems fix} :dt This will be computationally inefficient and compute the fix's contribution to the virial (pressure) incorrectly. :dd {More than one rigid fix} :dt This will be computationally inefficient and compute the fix's contribution to the virial (pressure) incorrectly. :dd {No fixes defined, atoms won't move} :dt If you are not using a fix like nve, nvt, npt then atom velocities and coordinates will not be updated during timestepping. :dd {No joints between rigid bodies, use fix rigid instead} :dt The bodies defined by fix poems are not connected by joints. POEMS will integrate the body motion, but it would be more efficient to use fix rigid. :dd {One or more respa levels compute no forces} :dt This is computationally inefficient. :dd {Replacing a fix, but new group != old group} :dt The ID and style of a fix match for a fix you are changing with a fix command, but the new group you are specifying does not match the old group. :dd {Replicating in a non-periodic dimension} :dt The parameters for a replicate command will cause a non-periodic dimension to be replicated; this may cause unwanted behavior. :dd {Resetting angle_style to restart file value} :dt The angle style defined in the LAMMPS input script does not match that of the restart file. :dd {Resetting bond_style to restart file value} :dt The bond style defined in the LAMMPS input script does not match that of the restart file. :dd {Resetting boundary settings to restart file values} :dt The boundary settings defined in the LAMMPS input script do not match that of the restart file. :dd {Resetting dihedral_style to restart file value} :dt The dihedral style defined in the LAMMPS input script does not match that of the restart file. :dd {Resetting dimension to restart file value} :dt The dimension value defined in the LAMMPS input script does not match that of the restart file. :dd {Resetting improper_style to restart file value} :dt The improper style defined in the LAMMPS input script does not match that of the restart file. :dd {Resetting newton bond to restart file value} :dt The value of the newton setting for bonds defined in the LAMMPS input script does not match that of the restart file. :dd {Resetting pair_style to restart file value} :dt The pair style defined in the LAMMPS input script does not match that of the restart file. :dd {Resetting reneighboring criteria during minimization} :dt Minimization requires that neigh_modify settings be delay = 0, every = 1, check = yes. Since these settings were not in place, LAMMPS changed them and will restore them to their original values after the minimization. :dd {Resetting unit_style to restart file value} :dt The unit style defined in the LAMMPS input script does not match that of the restart file. :dd {Restart file used different # of processors} :dt The restart file was written out by a LAMMPS simulation running on a different number of processors. Due to round-off, the trajectories of your restarted simulation may diverge a little more quickly than if you ran on the same # of processors. :dd {Restart file used different 3d processor grid} :dt The restart file was written out by a LAMMPS simulation running on a different 3d grid of processors. Due to round-off, the trajectories of your restarted simulation may diverge a little more quickly than if you ran on the same # of processors. :dd {Restart file used different newton pair setting} :dt The restart file was written out by a LAMMPS simulation running with a different value of the newton pair setting. The new simulation will use the value from the input script. :dd {Restart file version does not match LAMMPS version} :dt The version of LAMMPS that wrote the restart file does not match the version of LAMMPS that is reading the restart file. Generally this shouldn't be a problem, since restart file formats won't change very often if at all. But if they do, the code will probably crash trying to read the file. Versions of LAMMPS are specified by a date. :dd {Shake determinant < 0.0} :dt The determinant of the quadratic equation being solved for a single cluster specified by the fix shake command is numerically suspect. LAMMPS will set it to 0.0 and continue. :dd {System is not charge neutral, net charge = %g} :dt The total charge on all atoms on the system is not 0.0, which is not valid for Ewald or PPPM. :dd {Table inner cutoff >= outer cutoff} :dt You specified an inner cutoff for a Coulombic table that is longer than the global cutoff. Probably not what you wanted. :dd {Temperature for NPH is not for group all} :dt User-assigned temperature to NPH fix does not compute temperature for all atoms. Since NPH computes a global pressure, the kinetic energy contribution from the temperature is assumed to also be for all atoms. Thus the pressure used by NPH could be inaccurate. :dd {Temperature for NPH is style region} :dt User-assigned temperature to NPH fix has style region. Since NPT computes a global pressure, the kinetic energy contribution from the temperature is assumed to also be for all atoms. Thus the pressure used by NPT could be inaccurate. :dd {Temperature for NPT is not for group all} :dt User-assigned temperature to NPT fix does not compute temperature for all atoms. Since NPT computes a global pressure, the kinetic energy contribution from the temperature is assumed to also be for all atoms. Thus the pressure used by NPT could be inaccurate. :dd {Temperature for NPT is style region} :dt User-assigned temperature to NPT fix has style region. Since NPT computes a global pressure, the kinetic energy contribution from the temperature is assumed to also be for all atoms. Thus the pressure used by NPT could be inaccurate. :dd {Temperature for NVT is style region} :dt User-assigned temperature to NVT fix has style region. Since NVT is a Nose/Hoover formulation that tracks average properties of a collection of atoms over time, it may be inaccurate to do this if the atoms in the region change. :dd {Temperature for temp/rescale is style region} :dt User-assigned temperature to temp/rescale fix has style region, but the temp/rescale fix did not specify a region. This means the temperature may be computed on a different set of atoms than are rescaled. :dd {Temperature for thermo pressure is not for group all} :dt User-assigned temperature to thermo via the thermo_modify command does not compute temperature for all atoms. Since thermo computes a global pressure, the kinetic energy contribution from the temperature is assumed to also be for all atoms. Thus the pressure printed by thermo could be inaccurate. :dd {Temperature for thermo pressure is style region} :dt User-assigned temperature to thermo via the thermo_modify command has style region. Since thermo computes a global pressure, the kinetic energy contribution from the temperature is assumed to also be for all atoms. Thus the pressure printed by thermo could be inaccurate. :dd +{Using pair tail corrections with nonperiodic system} :dt + +This is probably a bogus thing to do, since tail corrections are +computed by integrating the density of a periodic system out to +infinity. :dd + {Using variable equal keyword with non-current thermo} :dt The variable expression is being evaluated with a thermodynamic quantity on a timestep when thermodynamic information may not be current. :dd :dle diff --git a/doc/Section_history.html b/doc/Section_history.html index 72be59bf5..c45f64fed 100644 --- a/doc/Section_history.html +++ b/doc/Section_history.html @@ -1,129 +1,128 @@
Previous Section - LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands - Next Section

10. Future and history

This section lists features we are planning to add to LAMMPS, features of previous versions of LAMMPS, and features of other parallel molecular dynamics codes I've distributed.

10.1 Coming attractions
10.2 Past versions

10.1 Coming attractions

The current version of LAMMPS incorporates nearly all the features -from previous parallel MD codes I developed. These include earlier -versions of LAMMPS itself, Warp and ParaDyn for metals, and GranFlow -for granular materials. +from previous parallel MD codes developed at Sandia. These include +earlier versions of LAMMPS itself, Warp and ParaDyn for metals, and +GranFlow for granular materials.

-

These are new features I'd like to eventually add to LAMMPS. Some are -being worked on; some haven't been implemented because of lack of time -or interest; others are just a lot of work! +

These are new features we'd like to eventually add to LAMMPS. Some +are being worked on; some haven't been implemented because of lack of +time or interest; others are just a lot of work!


10.2 Past versions

LAMMPS development began in the mid 1990s under a cooperative research & development agreement (CRADA) between two DOE labs (Sandia and LLNL) and 3 companies (Cray, Bristol Myers Squibb, and Dupont). Soon after the CRADA ended, a final F77 version of the code, LAMMPS 99, was released. As development of LAMMPS continued at Sandia, the memory management in the code was converted to F90; a final F90 version was released as LAMMPS 2001.

The current LAMMPS is a rewrite in C++ and was first publicly released in 2004. It includes many new features, including features from other parallel molecular dynamics codes written at Sandia, namely ParaDyn, Warp, and GranFlow. ParaDyn is a parallel implementation of the popular serial DYNAMO code developed by Stephen Foiles and Murray Daw for their embedded atom method (EAM) metal potentials. ParaDyn uses atom- and force-decomposition algorithms to run in parallel. Warp is also a parallel implementation of the EAM potentials designed for large problems, with boundary conditions specific to shearing solids in varying geometries. GranFlow is a granular materials code with potentials and boundary conditions peculiar to granular systems. All of these codes (except ParaDyn) use spatial-decomposition techniques for their parallelism.

These older codes are available for download from the LAMMPS WWW site, except for Warp & GranFlow which were primarily used internally. A brief listing of their features is given here.

LAMMPS 2001

LAMMPS 99

Warp

ParaDyn

GranFlow

diff --git a/doc/Section_history.txt b/doc/Section_history.txt index 0df99b616..441e6c69d 100644 --- a/doc/Section_history.txt +++ b/doc/Section_history.txt @@ -1,124 +1,123 @@ "Previous Section"_Section_errors.html - "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc - "Next Section"_Manual.html :c :link(lws,http://lammps.sandia.gov) :link(ld,Manual.html) :link(lc,Section_commands.html#comm) :line 10. Future and history :h3 This section lists features we are planning to add to LAMMPS, features of previous versions of LAMMPS, and features of other parallel molecular dynamics codes I've distributed. 10.1 "Coming attractions"_#10_1 10.2 "Past versions"_#10_2 :all(b) :line 10.1 Coming attractions :h4,link(10_1) The current version of LAMMPS incorporates nearly all the features -from previous parallel MD codes I developed. These include earlier -versions of LAMMPS itself, Warp and ParaDyn for metals, and GranFlow -for granular materials. +from previous parallel MD codes developed at Sandia. These include +earlier versions of LAMMPS itself, Warp and ParaDyn for metals, and +GranFlow for granular materials. -These are new features I'd like to eventually add to LAMMPS. Some are -being worked on; some haven't been implemented because of lack of time -or interest; others are just a lot of work! +These are new features we'd like to eventually add to LAMMPS. Some +are being worked on; some haven't been implemented because of lack of +time or interest; others are just a lot of work! Monte Carlo bond-swapping for polymers (was in Fortran LAMMPS) torsional shear boundary conditions and temperature calculation bond creation potentials point dipole force fields -3-body force fields for materials like Si or silica +many-body and bond-order potentials for materials like C, Si, or silica modified EAM (MEAM) potentials for metals REAXX force field from Bill Goddard's group -pressure and energy tail corrections for pairwise interactions Parinello-Rahman non-rectilinear simulation box :ul :line 10.2 Past versions :h4,link(10_2) LAMMPS development began in the mid 1990s under a cooperative research & development agreement (CRADA) between two DOE labs (Sandia and LLNL) and 3 companies (Cray, Bristol Myers Squibb, and Dupont). Soon after the CRADA ended, a final F77 version of the code, LAMMPS 99, was released. As development of LAMMPS continued at Sandia, the memory management in the code was converted to F90; a final F90 version was released as LAMMPS 2001. The current LAMMPS is a rewrite in C++ and was first publicly released in 2004. It includes many new features, including features from other parallel molecular dynamics codes written at Sandia, namely ParaDyn, Warp, and GranFlow. ParaDyn is a parallel implementation of the popular serial DYNAMO code developed by Stephen Foiles and Murray Daw for their embedded atom method (EAM) metal potentials. ParaDyn uses atom- and force-decomposition algorithms to run in parallel. Warp is also a parallel implementation of the EAM potentials designed for large problems, with boundary conditions specific to shearing solids in varying geometries. GranFlow is a granular materials code with potentials and boundary conditions peculiar to granular systems. All of these codes (except ParaDyn) use spatial-decomposition techniques for their parallelism. These older codes are available for download from the "LAMMPS WWW site"_lws, except for Warp & GranFlow which were primarily used internally. A brief listing of their features is given here. LAMMPS 2001 F90 + MPI dynamic memory spatial-decomposition parallelism NVE, NVT, NPT, NPH, rRESPA integrators LJ and Coulombic pairwise force fields all-atom, united-atom, bead-spring polymer force fields CHARMM-compatible force fields class 2 force fields 3d/2d Ewald & PPPM various force and temperature constraints SHAKE Hessian-free truncated-Newton minimizer user-defined diagnostics :ul LAMMPS 99 F77 + MPI static memory allocation spatial-decomposition parallelism most of the LAMMPS 2001 features with a few exceptions no 2d Ewald & PPPM molecular force fields are missing a few CHARMM terms no SHAKE :ul Warp F90 + MPI spatial-decomposition parallelism embedded atom method (EAM) metal potentials + LJ lattice and grain-boundary atom creation NVE, NVT integrators boundary conditions for applying shear stresses temperature controls for actively sheared systems per-atom energy and centro-symmetry computation and output :ul ParaDyn F77 + MPI atom- and force-decomposition parallelism embedded atom method (EAM) metal potentials lattice atom creation NVE, NVT, NPT integrators all serial DYNAMO features for controls and constraints :ul GranFlow F90 + MPI spatial-decomposition parallelism frictional granular potentials NVE integrator boundary conditions for granular flow and packing and walls particle insertion :ul diff --git a/doc/Section_howto.html b/doc/Section_howto.html index 3dd033b0a..fdc91cf5f 100644 --- a/doc/Section_howto.html +++ b/doc/Section_howto.html @@ -1,595 +1,604 @@
Previous Section - LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands - Next Section

4. How-to discussions

The following sections describe what commands can be used to perform certain kinds of LAMMPS simulations.

4.1 Restarting a simulation
4.2 2d simulations
4.3 CHARMM and AMBER force fields
4.4 Running multiple simulations from one input script
4.5 Parallel tempering
4.6 Granular models
4.7 TIP3P water model
4.8 TIP4P water model
4.9 SPC water model
4.10 Coupling LAMMPS to other codes

The example input scripts included in the LAMMPS distribution and highlighted in this section also show how to setup and run various kinds of problems.


4.1 Restarting a simulation

There are 3 ways to continue a long LAMMPS simulation. Multiple run commands can be used in the same input script. Each run will continue from where the previous run left off. Or binary restart files can be saved to disk using the restart command. At a later time, these binary files can be read via a read_restart command in a new script. Or they can be converted to text data files and read by a read_data command in a new script. This section discusses the restart2data tool that is used to perform the conversion.

Here we give examples of 2 scripts that read either a binary restart file or a converted data file and then issue a new run command to continue where the previous run left off. They illustrate what settings must be made in the new script. Details are discussed in the documentation for the read_restart and read_data commands.

Look at the in.chain input script provided in the bench directory of the LAMMPS distribution to see the original script that these 2 scripts are based on. If that script had the line

restart	        50 tmp.restart 
 

added to it, it would produce 2 binary restart files (tmp.restart.50 and tmp.restart.100) as it ran.

This script could be used to read the 1st restart file and re-run the last 50 timesteps:

read_restart	tmp.restart.50 
 
neighbor	0.4 bin
 neigh_modify	every 1 delay 1 
 
fix		1 all nve
 fix		2 all langevin 1.0 1.0 10.0 904297 
 
timestep	0.012 
 
run		50 
 

Note that the following commands do not need to be repeated because their settings are included in the restart file: units, atom_style, special_bonds, pair_style, bond_style. However these commands do need to be used, since their settings are not in the restart file: neighbor, fix, timestep.

If you actually use this script to perform a restarted run, you will notice that the thermodynamic data match at step 50 (if you also put a "thermo 50" command in the original script), but do not match at step 100. This is because the fix langevin command uses random numbers in a way that does not allow for perfect restarts.

As an alternate approach, the restart file could be converted to a data file using this tool:

restart2data tmp.restart.50 tmp.restart.data 
 

Then, this script could be used to re-run the last 50 steps:

units		lj
 atom_style	bond
 pair_style	lj/cut 1.12
 pair_modify	shift yes
 bond_style	fene
 special_bonds   0.0 1.0 1.0 
 
read_data	tmp.restart.data 
 
neighbor	0.4 bin
 neigh_modify	every 1 delay 1 
 
fix		1 all nve
 fix		2 all langevin 1.0 1.0 10.0 904297 
 
timestep	0.012 
 
reset_timestep	50
 run		50 
 

Note that nearly all the settings specified in the original in.chain script must be repeated, except the pair_coeff and bond_coeff commands since the new data file lists the force field coefficients. Also, the reset_timestep command is used to tell LAMMPS the current timestep. This value is stored in restart files, but not in data files.


4.2 2d simulations

Use the dimension command to specify a 2d simulation.

Make the simulation box periodic in z via the boundary command. This is the default.

If using the create box command to define a simulation box, set the z dimensions narrow, but finite, so that the create_atoms command will tile the 3d simulation box with a single z plane of atoms - e.g.

create box 1 -10 10 -10 10 -0.25 0.25 
 

If using the read data command to read in a file of atom coordinates, set the "zlo zhi" values to be finite but narrow, similar to the create_box command settings just described. For each atom in the file, assign a z coordinate so it falls inside the z-boundaries of the box - e.g. 0.0.

Use the fix enforce2d command as the last defined fix to insure that the z-components of velocities and forces are zeroed out every timestep. The reason to make it the last fix is so that any forces induced by other fixes will be zeroed out.

Many of the example input scripts included in the LAMMPS distribution are for 2d models.


4.3 CHARMM and AMBER force fields

There are many different ways to compute forces in the CHARMM and AMBER molecular dynamics codes, only some of which are available as options in LAMMPS. A force field has 2 parts: the formulas that define it and the coefficients used for a particular system. Here we only discuss formulas implemented in LAMMPS. Setting coefficients is done in the input data file via the read_data command or in the input script with commands like pair_coeff or bond_coeff. See this section for additional tools that can use CHARMM or AMBER to assign force field coefficients and convert their output into LAMMPS input.

+

See (MacKerell) for a description of the CHARMM force +field. See (Cornell) for a description of the AMBER force +field. +

These style choices compute force field formulas that are consistent with common options in CHARMM or AMBER. See each command's documentation for the formula it computes.


4.4 Running multiple simulations from one input script

This can be done in several ways. See the documentation for individual commands for more details on how these examples work.

If "multiple simulations" means continue a previous simulation for more timesteps, then you simply use the run command multiple times. For example, this script

units lj
 atom_style atomic
 read_data data.lj
 run 10000
 run 10000
 run 10000
 run 10000
 run 10000 
 

would run 5 successive simulations of the same system for a total of 50,000 timesteps.

If you wish to run totally different simulations, one after the other, the clear command can be used in between them to re-initialize LAMMPS. For example, this script

units lj
 atom_style atomic
 read_data data.lj
 run 10000
 clear
 units lj
 atom_style atomic
 read_data data.lj.new
 run 10000 
 

would run 2 independent simulations, one after the other.

For large numbers of independent simulations, you can use variables and the next and jump commands to loop over the same input script multiple times with different settings. For example, this script, named in.polymer

variable d index run1 run2 run3 run4 run5 run6 run7 run8
 cd $d
 read_data data.polymer
 run 10000
 cd ..
 clear
 next d
 jump in.polymer 
 

would run 8 simulations in different directories, using a data.polymer file in each directory. The same concept could be used to run the same system at 8 different temperatures, using a temperature variable and storing the output in different log and dump files, for example

variable a loop 8
 variable t index 0.8 0.85 0.9 0.95 1.0 1.05 1.1 1.15
 log log.$a
 read data.polymer
 velocity all create $t 352839
 fix 1 all nvt $t $t 100.0
 dump 1 all atom 1000 dump.$a
 run 100000
 next t
 next a
 jump in.polymer 
 

All of the above examples work whether you are running on 1 or multiple processors, but assumed you are running LAMMPS on a single partition of processors. LAMMPS can be run on multiple partitions via the "-partition" command-line switch as described in this section of the manual.

In the last 2 examples, if LAMMPS were run on 3 partitions, the same scripts could be used if the "index" and "loop" variables were replaced with universe-style variables, as described in the variable command. Also, the "next t" and "next a" commands would need to be replaced with a single "next a t" command. With these modifications, the 8 simulations of each script would run on the 3 partitions one after the other until all were finished. Initially, 3 simulations would be started simultaneously, one on each partition. When one finished, that partition would then start the 4th simulation, and so forth, until all 8 were completed.


4.5 Parallel tempering

The temper command can be used to perform a parallel tempering or replica-exchange simulation where multiple copies of a simulation are run at different temperatures on different sets of processors, and Monte Carlo temperature swaps are performed between pairs of copies.

Use the -procs and -in command-line switches to launch LAMMPS on multiple partitions.

In your input script, define a set of temperatures, one for each processor partition, using the variable command:

variable t proc 300.0 310.0 320.0 330.0 
 

Define a fix of style nvt or langevin to control the temperature of each simulation:

fix myfix all nvt $t $t 100.0 
 

Use the temper command in place of a run command to perform a simulation where tempering exchanges will take place:

temper 100000 100 $t myfix 3847 58382 
 

4.6 Granular models

To run a simulation of a granular model, you will want to use the following commands:

Use one of these 3 pair potentials:

These commands implement fix options specific to granular systems:

The fix style freeze zeroes both the force and torque of frozen atoms, and should be used for granular system instead of the fix style setforce.

For computational efficiency, you can eliminate needless pairwise computations between frozen atoms by using this command:


4.7 TIP3P water model

The TIP3P water model as implemented in CHARMM (MacKerell) specifies a 3-site rigid water molecule with charges and Lennard-Jones parameters assigned to each of the 3 atoms. In LAMMPS the fix shake command can be used to hold the two O-H bonds and the H-O-H angle rigid. A bond style of harmonic and an angle style of harmonic or charmm should also be used.

These are the additional parameters (in real units) to set for O and H atoms and the water molecule to run a rigid TIP3P-CHARMM model with a cutoff. The K values can be used if a flexible TIP3P model (without fix shake) is desired. If the LJ epsilon and sigma for HH and OH are set to 0.0, it corresponds to the original 1983 TIP3P model (Jorgensen).

O mass = 15.9994
H mass = 1.008

O charge = -0.834
H charge = 0.417

LJ epsilon of OO = 0.1521
LJ sigma of OO = 3.1507
LJ epsilon of HH = 0.0460
LJ sigma of HH = 0.4000
LJ epsilon of OH = 0.0836
LJ sigma of OH = 1.7753

K of OH bond = 450
r0 of OH bond = 0.9572

K of HOH angle = 55
theta of HOH angle = 104.52

These are the parameters to use for TIP3P with a long-range Coulombic solver (Ewald or PPPM in LAMMPS):

O mass = 15.9994
H mass = 1.008

O charge = -0.830
H charge = 0.415

LJ epsilon of OO = 0.102
LJ sigma of OO = 3.1507
LJ epsilon, sigma of OH, HH = 0.0

K of OH bond = 450
r0 of OH bond = 0.9572

K of HOH angle = 55
theta of HOH angle = 104.52


4.8 TIP4P water model

The four-point TIP4P rigid water model extends the traditional three-point TIP3P model by adding an additional site, usually massless, where the charge associated with the oxygen atom is placed. This site M is located at a fixed distance away from the oxygen along the bisector of the HOH bond angle. A bond style of harmonic and an angle style of harmonic or charmm should also be used.

Two different four-point models (cutoff and long-range Coulombics) can be implemented using LAMMPS pair styles with tip4p in their style name. For both models, the bond lengths and bond angles should be held fixed using the fix shake command.

These are the additional parameters (in real units) to set for O and H atoms and the water molecule to run a rigid TIP4P model with a cutoff (Jorgensen). Note that the OM distance is specified in the pair_style command, not as part of the pair coefficients.

O mass = 15.9994
H mass = 1.008

O charge = -1.040
H charge = 0.520

r0 of OH bond = 0.9572
theta of HOH angle = 104.52

OM distance = 0.15

LJ epsilon of O-O = 0.1550
LJ sigma of O-O = 3.1536
LJ epsilon, sigma of OH, HH = 0.0

These are the parameters to use for TIP4P with a long-range Coulombic solver (Ewald or PPPM in LAMMPS):

O mass = 15.9994
H mass = 1.008

O charge = -1.0484
H charge = 0.5242

r0 of OH bond = 0.9572
theta of HOH angle = 104.52

OM distance = 0.1250

LJ epsilon of O-O = 0.16275
LJ sigma of O-O = 3.16435
LJ epsilon, sigma of OH, HH = 0.0


4.9 SPC water model

The SPC water model specifies a 3-site rigid water molecule with charges and Lennard-Jones parameters assigned to each of the 3 atoms. In LAMMPS the fix shake command can be used to hold the two O-H bonds and the H-O-H angle rigid. A bond style of harmonic and an angle style of harmonic or charmm should also be used.

These are the additional parameters (in real units) to set for O and H atoms and the water molecule to run a rigid SPC model with long-range Coulombics (Ewald or PPPM in LAMMPS).

O mass = 15.9994
H mass = 1.008

O charge = -0.820
H charge = 0.410

LJ epsilon of OO = 0.1553
LJ sigma of OO = 3.166
LJ epsilon, sigma of OH, HH = 0.0

r0 of OH bond = 1.0
theta of HOH angle = 109.47


4.10 Coupling LAMMPS to other codes

LAMMPS is designed to allow it to be coupled to other codes. For example, a quantum mechanics code might compute forces on a subset of atoms and pass those forces to LAMMPS. Or a continuum finite element (FE) simulation might use atom positions as boundary conditions on FE nodal points, compute a FE solution, and return interpolated forces on MD atoms.

LAMMPS can be coupled to other codes in at least 3 ways. Each has advantages and disadvantages, which you'll have to think about in the context of your application.

(1) Define a new fix command that calls the other code. In this scenario, LAMMPS is the driver code. During its timestepping, the fix is invoked, and can make library calls to the other code, which has been linked to LAMMPS as a library. This is the way the POEMS package that performs constrained rigid-body motion on groups of atoms is hooked to LAMMPS. See the fix_poems command for more details. See this section of the documention for info on how to add a new fix to LAMMPS.

(2) Define a new LAMMPS command that calls the other code. This is conceptually similar to method (1), but in this case LAMMPS and the the other code are on a more equal footing. Note that now the other code is not called during the timesteps of a LAMMPS run, but between runs. The LAMMPS input script can be used to alternate LAMMPS runs with calls to the other code, invoked via the new command. The run command facilitates this with its every option, which makes it easy to run a few steps, invoke the command, run a few steps, invoke the command, etc.

In this scenario, the other code can be a library, called by the command, or it could be a stand-alone code, invoked by a system() call made by the command (assuming your parallel machine allows one or more processors to start up another program). In the latter case the stand-alone code could communicate with LAMMPS thru files that the command writes and reads.

See this section of the documention for how to add a new command to LAMMPS.

(3) Use LAMMPS as a library called by another code. In this case the other code is the driver and calls LAMMPS as needed. Or a wrapper code could link and call both LAMMPS and another code as libraries. Again, the run command has options that allow it to be invoked with minimal overhead (no setup or clean-up) if you wish to do multiple short runs, driven by another program.

This section of the documention describes how to build LAMMPS as a library. Once this is done, you can interface with LAMMPS either via C++, C, or Fortran (or any other language that supports a vanilla C-like interface, e.g. a scripting language). For example, from C++ you could create an "instance" of LAMMPS, and initialize it, pass it an input script to process, or execute individual commands, all by invoking the correct class methods in LAMMPS. From C or Fortran you would make function calls to do the same things. Library.cpp and library.h contain such a C interface that illustrates this with the functions:

void lammps_open(int, char **, MPI_Comm);
 void lammps_close();
 void lammps_file(char *);
 char *lammps_command(char *); 
 

The functions contain the C++ code you would need to put in a C++ application that was invoking LAMMPS directly.

Two of the routines in library.cpp are of particular note. The lammps_open() function initiates LAMMPS and takes an MPI communicator as an argument. LAMMPS will run on the set of processors in the communicator. This means the calling code can run LAMMPS on all or a subset of processors. For example, a wrapper script might decide to alternate between LAMMPS and another code, allowing them both to run on all the processors. Or it might allocate half the processors to LAMMPS and half to the other code and run both codes simultaneously before syncing them up periodically.

Library.cpp also contains a lammps_command() function to which the caller passes a single LAMMPS command (a string). Thus the calling code can read or generate a series of LAMMPS commands (e.g. an input script) one line at a time and pass it thru the library interface to setup a problem and then run it.

A few other sample routines are included in library.cpp, but the key idea is that you can write any routines you wish to define an interface for how your code talks to LAMMPS and add them to library.cpp and library.h. The routines you add can access any LAMMPS data. The umbrella.cpp code in examples/couple is a simple example of how a stand-alone code can link LAMMPS as a library, run LAMMPS on a subset of processors, grab data from LAMMPS, change it, and put it back into LAMMPS.


+ + +

(Cornell) Corenll, Cieplak, Bayly, Gould, Merz, Ferguson, +Spellmeyer, Fox, Caldwell, Kollman, JACS 117, 5179-5197 (1995). +

(Horn) Horn, Swope, Pitera, Madura, Dick, Hura, and Head-Gordon, J Chem Phys, 120, 9665 (2004).

(MacKerell) MacKerell, Bashford, Bellott, Dunbrack, Evanseck, Field, Fischer, Gao, Guo, Ha, et al, J Phys Chem, 102, 3586 (1998).

(Jorgensen) Jorgensen, Chandrasekhar, Madura, Impey, Klein, J Chem Phys, 79, 926 (1983).

diff --git a/doc/Section_howto.txt b/doc/Section_howto.txt index 2b44097e8..46622b3e9 100644 --- a/doc/Section_howto.txt +++ b/doc/Section_howto.txt @@ -1,586 +1,594 @@ "Previous Section"_Section_commands.html - "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc - "Next Section"_Section_example.html :c :link(lws,http://lammps.sandia.gov) :link(ld,Manual.html) :link(lc,Section_commands.html#comm) :line 4. How-to discussions :h3 The following sections describe what commands can be used to perform certain kinds of LAMMPS simulations. 4.1 "Restarting a simulation"_#4_1 4.2 "2d simulations"_#4_2 4.3 "CHARMM and AMBER force fields"_#4_3 4.4 "Running multiple simulations from one input script"_#4_4 4.5 "Parallel tempering"_#4_5 4.6 "Granular models"_#4_6 4.7 "TIP3P water model"_#4_7 4.8 "TIP4P water model"_#4_8 4.9 "SPC water model"_#4_9 4.10 "Coupling LAMMPS to other codes"_#4_10 :all(b) The example input scripts included in the LAMMPS distribution and highlighted in "this section"_Section_example.html also show how to setup and run various kinds of problems. :line 4.1 Restarting a simulation :link(4_1),h4 There are 3 ways to continue a long LAMMPS simulation. Multiple "run"_run.html commands can be used in the same input script. Each run will continue from where the previous run left off. Or binary restart files can be saved to disk using the "restart"_restart.html command. At a later time, these binary files can be read via a "read_restart"_read_restart.html command in a new script. Or they can be converted to text data files and read by a "read_data"_read_data.html command in a new script. "This section"_Section_tools.html discusses the {restart2data} tool that is used to perform the conversion. Here we give examples of 2 scripts that read either a binary restart file or a converted data file and then issue a new run command to continue where the previous run left off. They illustrate what settings must be made in the new script. Details are discussed in the documentation for the "read_restart"_read_restart.html and "read_data"_read_data.html commands. Look at the {in.chain} input script provided in the {bench} directory of the LAMMPS distribution to see the original script that these 2 scripts are based on. If that script had the line restart 50 tmp.restart :pre added to it, it would produce 2 binary restart files (tmp.restart.50 and tmp.restart.100) as it ran. This script could be used to read the 1st restart file and re-run the last 50 timesteps: read_restart tmp.restart.50 :pre neighbor 0.4 bin neigh_modify every 1 delay 1 :pre fix 1 all nve fix 2 all langevin 1.0 1.0 10.0 904297 :pre timestep 0.012 :pre run 50 :pre Note that the following commands do not need to be repeated because their settings are included in the restart file: {units, atom_style, special_bonds, pair_style, bond_style}. However these commands do need to be used, since their settings are not in the restart file: {neighbor, fix, timestep}. If you actually use this script to perform a restarted run, you will notice that the thermodynamic data match at step 50 (if you also put a "thermo 50" command in the original script), but do not match at step 100. This is because the "fix langevin"_fix_langevin.html command uses random numbers in a way that does not allow for perfect restarts. As an alternate approach, the restart file could be converted to a data file using this tool: restart2data tmp.restart.50 tmp.restart.data :pre Then, this script could be used to re-run the last 50 steps: units lj atom_style bond pair_style lj/cut 1.12 pair_modify shift yes bond_style fene special_bonds 0.0 1.0 1.0 :pre read_data tmp.restart.data :pre neighbor 0.4 bin neigh_modify every 1 delay 1 :pre fix 1 all nve fix 2 all langevin 1.0 1.0 10.0 904297 :pre timestep 0.012 :pre reset_timestep 50 run 50 :pre Note that nearly all the settings specified in the original {in.chain} script must be repeated, except the {pair_coeff} and {bond_coeff} commands since the new data file lists the force field coefficients. Also, the "reset_timestep"_reset_timestep.html command is used to tell LAMMPS the current timestep. This value is stored in restart files, but not in data files. :line 4.2 2d simulations :link(4_2),h4 Use the "dimension"_dimension.html command to specify a 2d simulation. Make the simulation box periodic in z via the "boundary"_boundary.html command. This is the default. If using the "create box"_create_box.html command to define a simulation box, set the z dimensions narrow, but finite, so that the create_atoms command will tile the 3d simulation box with a single z plane of atoms - e.g. "create box"_create_box.html 1 -10 10 -10 10 -0.25 0.25 :pre If using the "read data"_read_data.html command to read in a file of atom coordinates, set the "zlo zhi" values to be finite but narrow, similar to the create_box command settings just described. For each atom in the file, assign a z coordinate so it falls inside the z-boundaries of the box - e.g. 0.0. Use the "fix enforce2d"_fix_enforce2d.html command as the last defined fix to insure that the z-components of velocities and forces are zeroed out every timestep. The reason to make it the last fix is so that any forces induced by other fixes will be zeroed out. Many of the example input scripts included in the LAMMPS distribution are for 2d models. :line 4.3 CHARMM and AMBER force fields :link(4_3),h4 There are many different ways to compute forces in the "CHARMM"_charmm and "AMBER"_amber molecular dynamics codes, only some of which are available as options in LAMMPS. A force field has 2 parts: the formulas that define it and the coefficients used for a particular system. Here we only discuss formulas implemented in LAMMPS. Setting coefficients is done in the input data file via the "read_data"_read_data.html command or in the input script with commands like "pair_coeff"_pair_coeff.html or "bond_coeff"_bond_coeff.html. See "this section"_Section_tools.html for additional tools that can use CHARMM or AMBER to assign force field coefficients and convert their output into LAMMPS input. +See "(MacKerell)"_#MacKerell for a description of the CHARMM force +field. See "(Cornell)"_#Cornell for a description of the AMBER force +field. + :link(charmm,http://www.scripps.edu/brooks) :link(amber,http://amber.scripps.edu) These style choices compute force field formulas that are consistent with common options in CHARMM or AMBER. See each command's documentation for the formula it computes. "bond_style"_bond_style.html harmonic "angle_style"_angle_style.html charmm "dihedral_style"_dihedral_style.html charmm "pair_style"_pair_style.html lj/charmm/coul/charmm "pair_style"_pair_style.html lj/charmm/coul/charmm/implicit "pair_style"_pair_style.html lj/charmm/coul/long :ul "special_bonds"_special_bonds.html charmm "special_bonds"_special_bonds.html amber :ul :line 4.4 Running multiple simulations from one input script :link(4_4),h4 This can be done in several ways. See the documentation for individual commands for more details on how these examples work. If "multiple simulations" means continue a previous simulation for more timesteps, then you simply use the "run"_run.html command multiple times. For example, this script units lj atom_style atomic read_data data.lj run 10000 run 10000 run 10000 run 10000 run 10000 :pre would run 5 successive simulations of the same system for a total of 50,000 timesteps. If you wish to run totally different simulations, one after the other, the "clear"_clear.html command can be used in between them to re-initialize LAMMPS. For example, this script units lj atom_style atomic read_data data.lj run 10000 clear units lj atom_style atomic read_data data.lj.new run 10000 :pre would run 2 independent simulations, one after the other. For large numbers of independent simulations, you can use "variables"_variable.html and the "next"_next.html and "jump"_jump.html commands to loop over the same input script multiple times with different settings. For example, this script, named in.polymer variable d index run1 run2 run3 run4 run5 run6 run7 run8 cd $d read_data data.polymer run 10000 cd .. clear next d jump in.polymer :pre would run 8 simulations in different directories, using a data.polymer file in each directory. The same concept could be used to run the same system at 8 different temperatures, using a temperature variable and storing the output in different log and dump files, for example variable a loop 8 variable t index 0.8 0.85 0.9 0.95 1.0 1.05 1.1 1.15 log log.$a read data.polymer velocity all create $t 352839 fix 1 all nvt $t $t 100.0 dump 1 all atom 1000 dump.$a run 100000 next t next a jump in.polymer :pre All of the above examples work whether you are running on 1 or multiple processors, but assumed you are running LAMMPS on a single partition of processors. LAMMPS can be run on multiple partitions via the "-partition" command-line switch as described in "this section"_Section_start.html#2_4 of the manual. In the last 2 examples, if LAMMPS were run on 3 partitions, the same scripts could be used if the "index" and "loop" variables were replaced with {universe}-style variables, as described in the "variable"_variable.html command. Also, the "next t" and "next a" commands would need to be replaced with a single "next a t" command. With these modifications, the 8 simulations of each script would run on the 3 partitions one after the other until all were finished. Initially, 3 simulations would be started simultaneously, one on each partition. When one finished, that partition would then start the 4th simulation, and so forth, until all 8 were completed. :line 4.5 Parallel tempering :link(4_5),h4 The "temper"_temper.html command can be used to perform a parallel tempering or replica-exchange simulation where multiple copies of a simulation are run at different temperatures on different sets of processors, and Monte Carlo temperature swaps are performed between pairs of copies. Use the -procs and -in "command-line switches"_Section_start.html#2_4 to launch LAMMPS on multiple partitions. In your input script, define a set of temperatures, one for each processor partition, using the "variable"_variable.html command: variable t proc 300.0 310.0 320.0 330.0 :pre Define a fix of style "nvt"_fix_nvt.html or "langevin"_fix_langevin.html to control the temperature of each simulation: fix myfix all nvt $t $t 100.0 :pre Use the "temper"_temper.html command in place of a "run"_run.html command to perform a simulation where tempering exchanges will take place: temper 100000 100 $t myfix 3847 58382 :pre :line 4.6 Granular models :link(4_6),h4 To run a simulation of a granular model, you will want to use the following commands: "atom_style"_atom_style.html granular "fix nve/gran"_fix_nve_gran.html "fix gravity"_fix_gravity.html "thermo_style"_thermo_style.html gran :ul Use one of these 3 pair potentials: "pair_style"_pair_style.html gran/history "pair_style"_pair_style.html gran/no_history "pair_style"_pair_style.html gran/hertzian :ul These commands implement fix options specific to granular systems: "fix freeze"_fix_freeze.html "fix gran/diag"_fix_gran_diag.html "fix insert"_fix_insert.html "fix viscous"_fix_viscous.html "fix wall/gran"_fix_wall_gran.html :ul The fix style {freeze} zeroes both the force and torque of frozen atoms, and should be used for granular system instead of the fix style {setforce}. For computational efficiency, you can eliminate needless pairwise computations between frozen atoms by using this command: "neigh_modify"_neigh_modify.html exclude :ul :line 4.7 TIP3P water model :link(4_7),h4 The TIP3P water model as implemented in CHARMM "(MacKerell)"_#MacKerell specifies a 3-site rigid water molecule with charges and Lennard-Jones parameters assigned to each of the 3 atoms. In LAMMPS the "fix shake"_fix_shake.html command can be used to hold the two O-H bonds and the H-O-H angle rigid. A bond style of {harmonic} and an angle style of {harmonic} or {charmm} should also be used. These are the additional parameters (in real units) to set for O and H atoms and the water molecule to run a rigid TIP3P-CHARMM model with a cutoff. The K values can be used if a flexible TIP3P model (without fix shake) is desired. If the LJ epsilon and sigma for HH and OH are set to 0.0, it corresponds to the original 1983 TIP3P model "(Jorgensen)"_#Jorgensen. O mass = 15.9994 H mass = 1.008 :all(b),p O charge = -0.834 H charge = 0.417 :all(b),p LJ epsilon of OO = 0.1521 LJ sigma of OO = 3.1507 LJ epsilon of HH = 0.0460 LJ sigma of HH = 0.4000 LJ epsilon of OH = 0.0836 LJ sigma of OH = 1.7753 :all(b),p K of OH bond = 450 r0 of OH bond = 0.9572 :all(b),p K of HOH angle = 55 theta of HOH angle = 104.52 :all(b),p These are the parameters to use for TIP3P with a long-range Coulombic solver (Ewald or PPPM in LAMMPS): O mass = 15.9994 H mass = 1.008 :all(b),p O charge = -0.830 H charge = 0.415 :all(b),p LJ epsilon of OO = 0.102 LJ sigma of OO = 3.1507 LJ epsilon, sigma of OH, HH = 0.0 :all(b),p K of OH bond = 450 r0 of OH bond = 0.9572 :all(b),p K of HOH angle = 55 theta of HOH angle = 104.52 :all(b),p :line 4.8 TIP4P water model :link(4_8),h4 The four-point TIP4P rigid water model extends the traditional three-point TIP3P model by adding an additional site, usually massless, where the charge associated with the oxygen atom is placed. This site M is located at a fixed distance away from the oxygen along the bisector of the HOH bond angle. A bond style of {harmonic} and an angle style of {harmonic} or {charmm} should also be used. Two different four-point models (cutoff and long-range Coulombics) can be implemented using LAMMPS pair styles with {tip4p} in their style name. For both models, the bond lengths and bond angles should be held fixed using the "fix shake"_fix_shake.html command. These are the additional parameters (in real units) to set for O and H atoms and the water molecule to run a rigid TIP4P model with a cutoff "(Jorgensen)"_#Jorgensen. Note that the OM distance is specified in the "pair_style"_pair_style.html command, not as part of the pair coefficients. O mass = 15.9994 H mass = 1.008 :all(b),p O charge = -1.040 H charge = 0.520 :all(b),p r0 of OH bond = 0.9572 theta of HOH angle = 104.52 :all(b),p OM distance = 0.15 :all(b),p LJ epsilon of O-O = 0.1550 LJ sigma of O-O = 3.1536 LJ epsilon, sigma of OH, HH = 0.0 :all(b),p These are the parameters to use for TIP4P with a long-range Coulombic solver (Ewald or PPPM in LAMMPS): O mass = 15.9994 H mass = 1.008 :all(b),p O charge = -1.0484 H charge = 0.5242 :all(b),p r0 of OH bond = 0.9572 theta of HOH angle = 104.52 :all(b),p OM distance = 0.1250 :all(b),p LJ epsilon of O-O = 0.16275 LJ sigma of O-O = 3.16435 LJ epsilon, sigma of OH, HH = 0.0 :all(b),p :line 4.9 SPC water model :link(4_9),h4 The SPC water model specifies a 3-site rigid water molecule with charges and Lennard-Jones parameters assigned to each of the 3 atoms. In LAMMPS the "fix shake"_fix_shake.html command can be used to hold the two O-H bonds and the H-O-H angle rigid. A bond style of {harmonic} and an angle style of {harmonic} or {charmm} should also be used. These are the additional parameters (in real units) to set for O and H atoms and the water molecule to run a rigid SPC model with long-range Coulombics (Ewald or PPPM in LAMMPS). O mass = 15.9994 H mass = 1.008 :all(b),p O charge = -0.820 H charge = 0.410 :all(b),p LJ epsilon of OO = 0.1553 LJ sigma of OO = 3.166 LJ epsilon, sigma of OH, HH = 0.0 :all(b),p r0 of OH bond = 1.0 theta of HOH angle = 109.47 :all(b),p :line 4.10 Coupling LAMMPS to other codes :link(4_10),h4 LAMMPS is designed to allow it to be coupled to other codes. For example, a quantum mechanics code might compute forces on a subset of atoms and pass those forces to LAMMPS. Or a continuum finite element (FE) simulation might use atom positions as boundary conditions on FE nodal points, compute a FE solution, and return interpolated forces on MD atoms. LAMMPS can be coupled to other codes in at least 3 ways. Each has advantages and disadvantages, which you'll have to think about in the context of your application. (1) Define a new "fix"_fix.html command that calls the other code. In this scenario, LAMMPS is the driver code. During its timestepping, the fix is invoked, and can make library calls to the other code, which has been linked to LAMMPS as a library. This is the way the "POEMS"_poems package that performs constrained rigid-body motion on groups of atoms is hooked to LAMMPS. See the "fix_poems"_fix_poems.html command for more details. See "this section"_Section_modify.html of the documention for info on how to add a new fix to LAMMPS. :link(poems,http://www.rpi.edu/~anderk5/lab) (2) Define a new LAMMPS command that calls the other code. This is conceptually similar to method (1), but in this case LAMMPS and the the other code are on a more equal footing. Note that now the other code is not called during the timesteps of a LAMMPS run, but between runs. The LAMMPS input script can be used to alternate LAMMPS runs with calls to the other code, invoked via the new command. The "run"_run.html command facilitates this with its {every} option, which makes it easy to run a few steps, invoke the command, run a few steps, invoke the command, etc. In this scenario, the other code can be a library, called by the command, or it could be a stand-alone code, invoked by a system() call made by the command (assuming your parallel machine allows one or more processors to start up another program). In the latter case the stand-alone code could communicate with LAMMPS thru files that the command writes and reads. See "this section"_Section_modify.html of the documention for how to add a new command to LAMMPS. (3) Use LAMMPS as a library called by another code. In this case the other code is the driver and calls LAMMPS as needed. Or a wrapper code could link and call both LAMMPS and another code as libraries. Again, the "run"_run.html command has options that allow it to be invoked with minimal overhead (no setup or clean-up) if you wish to do multiple short runs, driven by another program. "This section"_Section_start.html#2_2 of the documention describes how to build LAMMPS as a library. Once this is done, you can interface with LAMMPS either via C++, C, or Fortran (or any other language that supports a vanilla C-like interface, e.g. a scripting language). For example, from C++ you could create an "instance" of LAMMPS, and initialize it, pass it an input script to process, or execute individual commands, all by invoking the correct class methods in LAMMPS. From C or Fortran you would make function calls to do the same things. Library.cpp and library.h contain such a C interface that illustrates this with the functions: void lammps_open(int, char **, MPI_Comm); void lammps_close(); void lammps_file(char *); char *lammps_command(char *); :pre The functions contain the C++ code you would need to put in a C++ application that was invoking LAMMPS directly. Two of the routines in library.cpp are of particular note. The lammps_open() function initiates LAMMPS and takes an MPI communicator as an argument. LAMMPS will run on the set of processors in the communicator. This means the calling code can run LAMMPS on all or a subset of processors. For example, a wrapper script might decide to alternate between LAMMPS and another code, allowing them both to run on all the processors. Or it might allocate half the processors to LAMMPS and half to the other code and run both codes simultaneously before syncing them up periodically. Library.cpp also contains a lammps_command() function to which the caller passes a single LAMMPS command (a string). Thus the calling code can read or generate a series of LAMMPS commands (e.g. an input script) one line at a time and pass it thru the library interface to setup a problem and then run it. A few other sample routines are included in library.cpp, but the key idea is that you can write any routines you wish to define an interface for how your code talks to LAMMPS and add them to library.cpp and library.h. The routines you add can access any LAMMPS data. The umbrella.cpp code in examples/couple is a simple example of how a stand-alone code can link LAMMPS as a library, run LAMMPS on a subset of processors, grab data from LAMMPS, change it, and put it back into LAMMPS. :line +:link(Cornell) +[(Cornell)] Corenll, Cieplak, Bayly, Gould, Merz, Ferguson, +Spellmeyer, Fox, Caldwell, Kollman, JACS 117, 5179-5197 (1995). + :link(Horn) [(Horn)] Horn, Swope, Pitera, Madura, Dick, Hura, and Head-Gordon, J Chem Phys, 120, 9665 (2004). :link(MacKerell) [(MacKerell)] MacKerell, Bashford, Bellott, Dunbrack, Evanseck, Field, Fischer, Gao, Guo, Ha, et al, J Phys Chem, 102, 3586 (1998). :link(Jorgensen) [(Jorgensen)] Jorgensen, Chandrasekhar, Madura, Impey, Klein, J Chem Phys, 79, 926 (1983). diff --git a/doc/Section_start.html b/doc/Section_start.html index 26541a71c..6c2b63473 100644 --- a/doc/Section_start.html +++ b/doc/Section_start.html @@ -1,613 +1,614 @@
Previous Section - LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands - Next Section

2. Getting Started

This section describes how to unpack, make, and run LAMMPS, for both new and experienced users.

2.1 What's in the LAMMPS distribution
2.2 Making LAMMPS
2.3 Running LAMMPS
2.4 Command-line options
2.5 Screen output
2.6 Tips for users of previous versions

2.1 What's in the LAMMPS distribution

When you download LAMMPS you will need to unzip and untar the downloaded file with the following commands, after placing the file in an appropriate directory.

gunzip lammps*.tar.gz 
 tar xvf lammps*.tar 
 

This will create a LAMMPS directory containing two files and several sub-directories:

README text file
LICENSE the GNU General Public License (GPL)
bench benchmark problems
doc documentation
examples simple test problems
potentials embedded atom method (EAM) potential files
src source files
tools pre- and post-processing tools

2.2 Making LAMMPS

Read this first:

Building LAMMPS can be non-trivial. You will likely need to edit a makefile, there are compiler options, additional libraries can be used (MPI, FFT), etc. Please read this section carefully. If you are not comfortable with makefiles, or building codes on a Unix platform, or running an MPI job on your machine, please find a local expert to help you. Many of the emails we get about build and run problems are not really about LAMMPS - they are peculiar to the user's system, compilers, libraries, etc. Such questions are better answered by a local expert.

If you have a build problem that you are convinced is a LAMMPS issue (e.g. the compiler complains about a line of LAMMPS source code), then please send an email to the developers. Note that doesn't include linking problems - that's a question for a local expert!

Also, if you succeed in building LAMMPS on a new kind of machine (which there isn't a similar Makefile for in the distribution), send it to the developers and we'll include it in future LAMMPS releases.

Building a LAMMPS executable:

The src directory contains the C++ source and header files for LAMMPS. It also contains a top-level Makefile and a MAKE directory with low-level Makefile.* files for several machines. From within the src directory, type "make" or "gmake". You should see a list of available choices. If one of those is the machine and options you want, you can type a command like:

make linux
 gmake mac 
 

If you get no errors and an executable like lmp_linux or lmp_mac is produced, you're done; it's your lucky day. The remainder of this section addressed the following topics: errors that occur when making LAMMPS, editing a new low-level Makefile.foo, how to make LAMMPS with and without packages, and additional build tips.

Errors that occur when making LAMMPS:

(1) If the make command breaks immediately with errors that indicate it can't find files with a "*" in their names, this can be because your machine's make doesn't support wildcard expansion in a makefile. Try gmake instead of make. If that doesn't work, try using a -f switch with your make command to use Makefile.list which explicitly lists all the needed files, e.g.

make makelist
 make -f Makefile.list linux
 gmake -f Makefile.list mac 
 

The first "make" command will create a current Makefile.list with all the file names in your src dir. The 2nd "make" command (make or gmake) will use it to build LAMMPS.

(2) Other errors typically occur because the low-level Makefile isn't setup correctly for your machine. If your platform is named "foo", you need to create a Makefile.foo in the MAKE directory. Use whatever existing file is closest to your platform as a starting point. See the next section for more instructions.

Editing a new low-level Makefile.foo:

These are the issues you need to address when editing a low-level Makefile for your machine. With a couple exceptions, the only portion of the file you should need to edit is the "System-specific Settings" section.

(1) Change the first line of Makefile.foo to include the word "foo" and whatever other options you set. This is the line you will see if you just type "make".

(2) Set the paths and flags for your C++ compiler, including optimization flags. You can use g++, the open-source GNU compiler, which is available on all Unix systems. Vendor compilers often produce faster code. On boxes with Intel CPUs, I use the free Intel icc compiler, which you can download from Intel's compiler site.

(3) If you want LAMMPS to run in parallel, you must have an MPI library installed on your platform. Makefile.foo needs to specify where the mpi.h file (-I switch) and the libmpi.a library (-L switch) is found. On my Linux box, I use Argonne's MPICH 1.2 which can be downloaded from the Argonne MPI site. LAM MPI should also work. If you are running on a big parallel platform, your system people or the vendor should have already installed a version of MPI, which will be faster than MPICH or LAM, so find out how to link against it. If you use MPICH or LAM, you will have to configure and build it for your platform. The MPI configure script should have compiler options to enable you to use the same compiler you are using for the LAMMPS build, which can avoid problems that may arise when linking LAMMPS to the MPI library.

(4) If you just want LAMMPS to run on a single processor, you can use the STUBS library in place of MPI, since you don't need an MPI library installed on your system. See the Makefile.serial file for how to specify the -I and -L switches. You will also need to build the STUBS library for your platform before making LAMMPS itself. From the STUBS dir, type "make" and it will hopefully create a libmpi.a suitable for linking to LAMMPS. If the build fails, you will need to edit the STUBS/Makefile for your platform.

The file STUBS/mpi.cpp has a CPU timer function MPI_Wtime() that calls gettimeofday() . If your system doesn't support gettimeofday() , you'll need to insert code to call another timer. Note that the ANSI-standard function clock() rolls over after an hour or so, and is therefore insufficient for timing long LAMMPS runs.

(5) If you want to use the particle-particle particle-mesh (PPPM) option in LAMMPS for long-range Coulombics, you must have a 1d FFT library installed on your platform. This is specified by a switch of the form -DFFT_XXX where XXX = INTEL, DEC, SGI, SCSL, or FFTW. All but the last one are native vendor-provided libraries. FFTW is a fast, portable library that should work on any platform. You can download it from www.fftw.org. Use version 2.1.X, not the newer 3.0.X. Building FFTW for my box was as simple as ./configure; make. Whichever FFT library you have on your platform, you'll need to set the appropriate -I and -L switches in Makefile.foo.

If you examine fft3d.c and fft3d.h you'll see it's possible to add other vendor FFT libraries via #ifdef statements in the appropriate places. If you successfully add a new FFT option, like -DFFT_IBM, please send the developers an email; we'd like to add it to LAMMPS.

(6) If you don't plan to use PPPM, you don't need an FFT library. Use a -DFFT_NONE switch in the CCFLAGS setting of Makefile.foo, or exclude the KSPACE package (see below).

(7) There are a few other -D compiler switches you can set as part of CCFLAGS. The read_data and dump commands will read/write gzipped files if you compile with -DGZIP. It requires that your Unix support the "popen" command. Using one of the -DPACK_ARRAY, -DPACK_POINTER, and -DPACK_MEMCPY options can make for faster parallel FFTs (in the PPPM solver) on some platforms. The -DPACK_ARRAY setting is the default.

(8) The DEPFLAGS setting is how the C++ compiler creates a dependency file for each source file. This speeds re-compilation when source (*.cpp) or header (*.h) files are edited. Some compilers do not support dependency file creation, or may use a different switch than -D. GNU g++ works with -D. If your compiler can't create dependency files (a long list of errors involving *.d files), then you'll need to create a Makefile.foo patterned after Makefile.tflop, which uses different rules that do not involve dependency files.

That's it. Once you have a correct Makefile.foo and you have pre-built the MPI and FFT libraries it will use, all you need to do from the src directory is type one of these 2 commands:

make foo
 gmake foo 
 

You should get the executable lmp_foo when the build is complete.

How to make LAMMPS with and without packages:

The source code for LAMMPS is structured as a large set of core files that are always used plus additional packages, which are groups of files that enable a specific set of features. For example, force fields for molecular systems or granular systems are in packages. You can see the list of packages by typing "make package". The current list of packages is as follows:

+
class2 class 2 force fields
dpd dissipative particle dynamics (DPD) force field
granular force fields and boundary conditions for granular systems
kspace long-range Ewald and particle-mesh (PPPM) solvers
manybody metal, 3-body, bond-order potentials
molecule force fields for molecular systems
poems coupled rigid body motion
xtc dump atom snapshots in XTC format

Any or all of these packages can be included or excluded when LAMMPS -is built. The default is to include only the kspace and molecule -packages. You may wish to exclude certain packages if you will never -run certain kinds of simulations. This will produce a smaller -executable which in some cases will also run a bit faster. +is built. The default is to include only the kspace, manybody, and +molecule packages. You may wish to exclude certain packages if you +will never run certain kinds of simulations. This will produce a +smaller executable which in some cases will also run a bit faster.

Packages are included or excluded by typing "make yes-name" or "make no-name", where "name" is the name of the package. You can also type "make yes-all" or "make no-all" to include/exclude all optional packages. These commands work by simply moving files back and forth between the main src directory and sub-directories with the package name, so that the files are not seen when LAMMPS is built. After you have included or excluded a package, you must re-make LAMMPS.

Additional make options exist to help manage LAMMPS files that exist in both the src directory and in package sub-directories. Typing "make package-update" will overwrite src files with files from the package directories if the package has been included. Typing "make package-overwrite" will overwrite files in the package directories with src files. Typing "make package-check" will list differences between src and package versions of the same files.

To use the poems package you must build LAMMPS with the POEMS library, which computes the constrained rigid-body motion of articulated (jointed) multibody systems. POEMS was written and is distributed by Prof Kurt Anderson's group at Rensselaer Polytechnic Institute (RPI). It is included in the LAMMPS distribution. To build LAMMPS with POEMS, you must use a low-level LAMMPS Makefile that includes the POEMS directory in its paths. See Makefile.g++.poems as an example. You must also build POEMS itself as a library before building LAMMPS, so that LAMMPS can link against it. The POEMS library is built by typing "make" from within the poems directory in the LAMMPS distribution. By default this uses Makefile which uses the gcc compiler. If you need to use another compiler (so that the POEMS library and LAMMPS are consistent), use another poems/Makefile.* or create your own and invoke it as "make -f Makefile.*".

Building LAMMPS as a library:

LAMMPS can be built as a library, which can then be called from another application or a scripting language. See this section for more info on coupling LAMMPS to other codes. Building LAMMPS as a library is done by typing

make makelib
 make -f Makefile.lib foo 
 

where foo is the machine name. The first "make" command will create a current Makefile.lib with all the file names in your src dir. The 2nd "make" command will use it to build LAMMPS as a library. This requires that Makefile.foo have a library target (lib) and system-specific settings for ARCHIVE and ARFLAGS. See Makefile.linux for an example. The build will create the file liblmp_foo.a which another application can link to. The callable functions in the library are listed in library.h, but you can add as many functions as you wish to library.h and library.cpp, which can access LAMMPS data and return it to the caller or set LAMMPS data values as specified by the caller. These 3 functions are included in the library:

void lammps_open(int, char **, MPI_Comm);
 void lammps_close();
 int lammps_command(char *); 
 

The lammps_open() function is used to initialize LAMMPS, passing in a list of strings as if they were command-line arguments when LAMMPS is run from the command line and a MPI communicator for LAMMPS to run under. The lammps_close() function is used to shut down LAMMPS and free all its memory. The lammps_command() function is used to pass a string to LAMMPS as if it were an input command read from an input script. See the library.h file for more information about the arguments and return values for these 3 functions.

Additional build tips:

(1) Building LAMMPS for multiple platforms.

You can make LAMMPS for multiple platforms from the same src directory. Each target creates its own object sub-dir called Obj_name where it stores the system-specific *.o files.

(2) Cleaning up.

Typing "make clean" will delete all *.o object files created when LAMMPS is built.

(3) On some 64-bit machines, compiling with -O3 appears to break the Coulombic tabling option used by the pair_style lj/cut/coul/long and lj/charmm/coul/long styles. By default, tabling is used by these styles since it can offer a 2x speed-up. It can be disabled via the pair_modify command. Alternatively, the associated files (e.g. pair_lj_cut_coul_long.cpp) can be compiled with -O2, or with the compiler flag -fno-strict-aliasing. Either of those build changes seems to fix the problem.

(4) Building for a Macintosh.

OS X is BSD Unix, so it already works. See the Makefile.mac file.

(5) Building for MicroSoft Windows.

I've never done this, but LAMMPS is just standard C++ with MPI and FFT calls. You should be able to use cygwin to build LAMMPS with a Unix make. Or you should be able to pull all the source files into Visual C++ (ugh) or some similar development environment and build it. In the src/MAKE/Windows directory are some notes from users on how they built LAMMPS under Windows, so you can look at their instructions for tips. Good luck - I can't help you on this one.


2.3 Running LAMMPS

By default, LAMMPS runs by reading commands from stdin; e.g. lmp_linux < in.file. This means you first create an input script (e.g. in.file) containing the desired commands. This section describes how input scripts are structured and what commands they contain.

You can test LAMMPS on any of the sample inputs provided in the examples directory. Input scripts are named in.* and sample outputs are named log.*.name.P where name is a machine and P is the number of processors it was run on.

Here is how you might run one of the Lennard-Jones tests on a Linux box, using mpirun to launch a parallel job:

cd src
 make linux
 cp lmp_linux ../examples/lj
 cd ../examples/lj
 mpirun -np 4 lmp_linux < in.lj.nve 
 

The screen output from LAMMPS is described in the next section. As it runs, LAMMPS also writes a log.lammps file with the same information. Note that this sequence of commands copied the LAMMPS executable (lmp_linux) to the directory with the input files. If you don't do this, LAMMPS may look for input files or create output files in the directory where the executable is, rather than where you run it from.

If LAMMPS encounters errors in the input script or while running a simulation it will print an ERROR message and stop or a WARNING message and continue. See this section for a discussion of the various kinds of errors LAMMPS can or can't detect, a list of all ERROR and WARNING messages, and what to do about them.

LAMMPS can run a problem on any number of processors, including a single processor. In theory you should get identical answers on any number of processors and on any machine. In practice, numerical round-off can cause slight differences and eventual divergence of molecular dynamics phase space trajectories.

LAMMPS can run as large a problem as will fit in the physical memory of one or more processors. If you run out of memory, you must run on more processors or setup a smaller problem.


2.4 Command-line options

At run time, LAMMPS recognizes several optional command-line switches which may be used in any order. For example, lmp_ibm might be launched as follows:

mpirun -np 16 lmp_ibm -var f tmp.out -log my.log -screen none < in.alloy 
 

These are the command-line options:

-echo style 
 

Set the style of command echoing. The style can be none or screen or log or both. Depending on the style, each command read from the input script will be echoed to the screen and/or logfile. This can be useful to figure out which line of your script is causing an input error. The default value is log. The echo style can also be set by using the echo command in the input script itself.

-partition 8x2 4 5 ... 
 

Invoke LAMMPS in multi-partition mode. When LAMMPS is run on P processors and this switch is not used, LAMMPS runs in one partition, i.e. all P processors run a single simulation. If this switch is used, the P processors are split into separate partitions and each partition runs its own simulation. The arguments to the switch specify the number of processors in each partition. Arguments of the form MxN mean M partitions, each with N processors. Arguments of the form N mean a single partition with N processors. The sum of processors in all partitions must equal P. Thus the command "-partition 8x2 4 5" has 10 partitions and runs on a total of 25 processors.

The input script specifies what simulation is run on which partition; see the variable and next commands. Simulations running on different partitions can also communicate with each other; see the temper command.

-in file 
 

Specify a file to use as an input script. This is an optional switch when running LAMMPS in one-partition mode. If it is not specified, LAMMPS reads its input script from stdin - e.g. lmp_linux < in.run. This is a required switch when running LAMMPS in multi-partition mode, since multiple processors cannot all read from stdin.

-log file 
 

Specify a log file for LAMMPS to write status information to. In one-partition mode, if the switch is not used, LAMMPS writes to the file log.lammps. If this switch is used, LAMMPS writes to the specified file. In multi-partition mode, if the switch is not used, a log.lammps file is created with hi-level status information. Each partition also writes to a log.lammps.N file where N is the partition ID. If the switch is specified in multi-partition mode, the hi-level logfile is named "file" and each partition also logs information to a file.N. For both one-partition and multi-partition mode, if the specified file is "none", then no log files are created. Using a log command in the input script will override this setting.

-screen file 
 

Specify a file for LAMMPS to write it's screen information to. In one-partition mode, if the switch is not used, LAMMPS writes to the screen. If this switch is used, LAMMPS writes to the specified file instead and you will see no screen output. In multi-partition mode, if the switch is not used, hi-level status information is written to the screen. Each partition also writes to a screen.N file where N is the partition ID. If the switch is specified in multi-partition mode, the hi-level screen dump is named "file" and each partition also writes screen information to a file.N. For both one-partition and multi-partition mode, if the specified file is "none", then no screen output is performed.

-var name value 
 

Specify a variable that will be defined for substitution purposes when the input script is read. "Name" is the variable name which can be a single character (referenced as $x in the input script) or a full string (referenced as ${abc}). The value can be any string. Using this command-line option is equivalent to putting the line "variable name index value" at the beginning of the input script. See the variable command for more info on defining variables and this section for more info on using variables in scripts.


2.5 LAMMPS screen output

As LAMMPS reads an input script, it prints information to both the screen and a log file about significant actions it takes to setup a simulation. When the simulation is ready to begin, LAMMPS performs various initializations and prints the amount of memory (in MBytes per processor) that the simulation requires. It also prints details of the initial thermodynamic state of the system. During the run itself, thermodynamic information is printed periodically, every few timesteps. When the run concludes, LAMMPS prints the final thermodynamic state and a total run time for the simulation. It then appends statistics about the CPU time and storage requirements for the simulation. An example set of statistics is shown here:

Loop time of 49.002 on 2 procs for 2004 atoms 
 
Pair   time (%) = 35.0495 (71.5267)
 Bond   time (%) = 0.092046 (0.187841)
 Kspce  time (%) = 6.42073 (13.103)
 Neigh  time (%) = 2.73485 (5.5811)
 Comm   time (%) = 1.50291 (3.06703)
 Outpt  time (%) = 0.013799 (0.0281601)
 Other  time (%) = 2.13669 (4.36041) 
 
Nlocal:    1002 ave, 1015 max, 989 min
 Histogram: 1 0 0 0 0 0 0 0 0 1 
 Nghost:    8720 ave, 8724 max, 8716 min 
 Histogram: 1 0 0 0 0 0 0 0 0 1
 Neighs:    354141 ave, 361422 max, 346860 min 
 Histogram: 1 0 0 0 0 0 0 0 0 1 
 
Total # of neighbors = 708282
 Ave neighs/atom = 353.434
 Ave special neighs/atom = 2.34032
 Number of reneighborings = 42
 Dangerous reneighborings = 2 
 

The first section gives the breakdown of the CPU run time (in seconds) into major categories. The second section lists the number of owned atoms (Nlocal), ghost atoms (Nghost), and pair-wise neighbors stored per processor. The max and min values give the spread of these values across processors with a 10-bin histogram showing the distribution. The total number of histogram counts is equal to the number of processors.

The last section gives aggregate statistics for pair-wise neighbors and special neighbors that LAMMPS keeps track of (see the special_bonds command). The number of times neighbor lists were rebuilt during the run is given as well as the number of potentially "dangerous" rebuilds. If atom movement triggered neighbor list rebuilding (see the neigh_modify command), then dangerous reneighborings are those that were triggered on the first timestep atom movement was checked for. If this count is non-zero you may wish to reduce the delay factor to insure no force interactions are missed by atoms moving beyond the neighbor skin distance before a rebuild takes place.

If an energy minimization was performed via the minimize command, additional information is printed, e.g.

Minimization stats:
   E initial, next-to-last, final = -0.895962 -2.94193 -2.94342
   Gradient 2-norm init/final= 1920.78 20.9992
   Gradient inf-norm init/final= 304.283 9.61216
   Iterations = 36
   Force evaluations = 177 
 

The first line lists the initial and final energy, as well as the energy on the next-to-last iteration. The next 2 lines give a measure of the gradient of the energy (force on all atoms). The 2-norm is the "length" of this force vector; the inf-norm is the largest component. The last 2 lines are statistics on how many iterations and force-evaluations the minimizer required. Multiple force evalulations are typically done at each iteration to perform a 1d line minimization in the search direction.

If a kspace_style long-range Coulombics solve was performed during the run (PPPM, Ewald), then additional information is printed, e.g.

FFT time (% of Kspce) = 0.200313 (8.34477)
 FFT Gflps 3d 1d-only = 2.31074 9.19989 
 

The first line gives the time spent doing 3d FFTs (4 per timestep) and the fraction it represents of the total KSpace time (listed above). Each 3d FFT requires computation (3 sets of 1d FFTs) and communication (transposes). The total flops performed is 5Nlog_2(N), where N is the number of points in the 3d grid. The FFTs are timed with and without the communication and a Gflop rate is computed. The 3d rate is with communication; the 1d rate is without (just the 1d FFTs). Thus you can estimate what fraction of your FFT time was spent in communication, roughly 75% in the example above.


2.6 Tips for users of previous LAMMPS versions

LAMMPS 2003 is a complete C++ rewrite of LAMMPS 2001, which was written in F90. Features of earlier versions of LAMMPS are listed in this section. The F90 and F77 versions (2001 and 99) are also freely distributed as open-source codes; check the LAMMPS WWW Site for distribution information if you prefer those versions. The 99 and 2001 versions are no longer under active development; they do not have all the features of LAMMPS 2003.

If you are a previous user of LAMMPS 2001, these are the most significant changes you will notice in LAMMPS 2003:

(1) The names and arguments of many input script commands have changed. All commands are now a single word (e.g. read_data instead of read data).

(2) All the functionality of LAMMPS 2001 is included in LAMMPS 2003, but you may need to specify the relevant commands in different ways.

(3) The format of the data file can be streamlined for some problems. See the read_data command for details. The data file section "Nonbond Coeff" has been renamed to "Pair Coeff" in LAMMPS 2003.

(4) Binary restart files written by LAMMPS 2001 cannot be read by LAMMPS 2003 with a read_restart command. This is because they were output by F90 which writes in a different binary format than C or C++ writes or reads. Use the restart2data tool provided with LAMMPS 2001 to convert the 2001 restart file to a text data file. Then edit the data file as necessary before using the LAMMPS 2003 read_data command to read it in.

(5) There are numerous small numerical changes in LAMMPS 2003 that mean you will not get identical answers when comparing to a 2001 run. However, your initial thermodynamic energy and MD trajectory should be close if you have setup the problem for both codes the same.

diff --git a/doc/Section_start.txt b/doc/Section_start.txt index 1a1fe9d68..2334834a6 100644 --- a/doc/Section_start.txt +++ b/doc/Section_start.txt @@ -1,604 +1,605 @@ "Previous Section"_Section_intro.html - "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc - "Next Section"_Section_commands.html :c :link(lws,http://lammps.sandia.gov) :link(ld,Manual.html) :link(lc,Section_commands.html#comm) :line 2. Getting Started :h3 This section describes how to unpack, make, and run LAMMPS, for both new and experienced users. 2.1 "What's in the LAMMPS distribution"_#2_1 2.2 "Making LAMMPS"_#2_2 2.3 "Running LAMMPS"_#2_3 2.4 "Command-line options"_#2_4 2.5 "Screen output"_#2_5 2.6 "Tips for users of previous versions"_#2_6 :all(b) :line 2.1 What's in the LAMMPS distribution :h4,link(2_1) When you download LAMMPS you will need to unzip and untar the downloaded file with the following commands, after placing the file in an appropriate directory. gunzip lammps*.tar.gz tar xvf lammps*.tar :pre This will create a LAMMPS directory containing two files and several sub-directories: README: text file LICENSE: the GNU General Public License (GPL) bench: benchmark problems doc: documentation examples: simple test problems potentials: embedded atom method (EAM) potential files src: source files tools: pre- and post-processing tools :tb(s=:) :line 2.2 Making LAMMPS :h4,link(2_2) [{Read this first:}] Building LAMMPS can be non-trivial. You will likely need to edit a makefile, there are compiler options, additional libraries can be used (MPI, FFT), etc. Please read this section carefully. If you are not comfortable with makefiles, or building codes on a Unix platform, or running an MPI job on your machine, please find a local expert to help you. Many of the emails we get about build and run problems are not really about LAMMPS - they are peculiar to the user's system, compilers, libraries, etc. Such questions are better answered by a local expert. If you have a build problem that you are convinced is a LAMMPS issue (e.g. the compiler complains about a line of LAMMPS source code), then please send an email to the "developers"_http://lammps.sandia.gov/authors.html. Note that doesn't include linking problems - that's a question for a local expert! Also, if you succeed in building LAMMPS on a new kind of machine (which there isn't a similar Makefile for in the distribution), send it to the developers and we'll include it in future LAMMPS releases. [{Building a LAMMPS executable:}] The src directory contains the C++ source and header files for LAMMPS. It also contains a top-level Makefile and a MAKE directory with low-level Makefile.* files for several machines. From within the src directory, type "make" or "gmake". You should see a list of available choices. If one of those is the machine and options you want, you can type a command like: make linux gmake mac :pre If you get no errors and an executable like lmp_linux or lmp_mac is produced, you're done; it's your lucky day. The remainder of this section addressed the following topics: errors that occur when making LAMMPS, editing a new low-level Makefile.foo, how to make LAMMPS with and without packages, and additional build tips. [{Errors that occur when making LAMMPS:}] (1) If the make command breaks immediately with errors that indicate it can't find files with a "*" in their names, this can be because your machine's make doesn't support wildcard expansion in a makefile. Try gmake instead of make. If that doesn't work, try using a -f switch with your make command to use Makefile.list which explicitly lists all the needed files, e.g. make makelist make -f Makefile.list linux gmake -f Makefile.list mac :pre The first "make" command will create a current Makefile.list with all the file names in your src dir. The 2nd "make" command (make or gmake) will use it to build LAMMPS. (2) Other errors typically occur because the low-level Makefile isn't setup correctly for your machine. If your platform is named "foo", you need to create a Makefile.foo in the MAKE directory. Use whatever existing file is closest to your platform as a starting point. See the next section for more instructions. [{Editing a new low-level Makefile.foo:}] These are the issues you need to address when editing a low-level Makefile for your machine. With a couple exceptions, the only portion of the file you should need to edit is the "System-specific Settings" section. (1) Change the first line of Makefile.foo to include the word "foo" and whatever other options you set. This is the line you will see if you just type "make". (2) Set the paths and flags for your C++ compiler, including optimization flags. You can use g++, the open-source GNU compiler, which is available on all Unix systems. Vendor compilers often produce faster code. On boxes with Intel CPUs, I use the free Intel icc compiler, which you can download from "Intel's compiler site"_intel. :link(intel,http://www.intel.com/software/products/noncom) (3) If you want LAMMPS to run in parallel, you must have an MPI library installed on your platform. Makefile.foo needs to specify where the mpi.h file (-I switch) and the libmpi.a library (-L switch) is found. On my Linux box, I use Argonne's MPICH 1.2 which can be downloaded from the "Argonne MPI site"_http://www-unix.mcs.anl.gov/mpi. LAM MPI should also work. If you are running on a big parallel platform, your system people or the vendor should have already installed a version of MPI, which will be faster than MPICH or LAM, so find out how to link against it. If you use MPICH or LAM, you will have to configure and build it for your platform. The MPI configure script should have compiler options to enable you to use the same compiler you are using for the LAMMPS build, which can avoid problems that may arise when linking LAMMPS to the MPI library. (4) If you just want LAMMPS to run on a single processor, you can use the STUBS library in place of MPI, since you don't need an MPI library installed on your system. See the Makefile.serial file for how to specify the -I and -L switches. You will also need to build the STUBS library for your platform before making LAMMPS itself. From the STUBS dir, type "make" and it will hopefully create a libmpi.a suitable for linking to LAMMPS. If the build fails, you will need to edit the STUBS/Makefile for your platform. The file STUBS/mpi.cpp has a CPU timer function MPI_Wtime() that calls gettimeofday() . If your system doesn't support gettimeofday() , you'll need to insert code to call another timer. Note that the ANSI-standard function clock() rolls over after an hour or so, and is therefore insufficient for timing long LAMMPS runs. (5) If you want to use the particle-particle particle-mesh (PPPM) option in LAMMPS for long-range Coulombics, you must have a 1d FFT library installed on your platform. This is specified by a switch of the form -DFFT_XXX where XXX = INTEL, DEC, SGI, SCSL, or FFTW. All but the last one are native vendor-provided libraries. FFTW is a fast, portable library that should work on any platform. You can download it from "www.fftw.org"_http://www.fftw.org. Use version 2.1.X, not the newer 3.0.X. Building FFTW for my box was as simple as ./configure; make. Whichever FFT library you have on your platform, you'll need to set the appropriate -I and -L switches in Makefile.foo. If you examine fft3d.c and fft3d.h you'll see it's possible to add other vendor FFT libraries via #ifdef statements in the appropriate places. If you successfully add a new FFT option, like -DFFT_IBM, please send the "developers"_http://lammps.sandia.gov an email; we'd like to add it to LAMMPS. (6) If you don't plan to use PPPM, you don't need an FFT library. Use a -DFFT_NONE switch in the CCFLAGS setting of Makefile.foo, or exclude the KSPACE package (see below). (7) There are a few other -D compiler switches you can set as part of CCFLAGS. The read_data and dump commands will read/write gzipped files if you compile with -DGZIP. It requires that your Unix support the "popen" command. Using one of the -DPACK_ARRAY, -DPACK_POINTER, and -DPACK_MEMCPY options can make for faster parallel FFTs (in the PPPM solver) on some platforms. The -DPACK_ARRAY setting is the default. (8) The DEPFLAGS setting is how the C++ compiler creates a dependency file for each source file. This speeds re-compilation when source (*.cpp) or header (*.h) files are edited. Some compilers do not support dependency file creation, or may use a different switch than -D. GNU g++ works with -D. If your compiler can't create dependency files (a long list of errors involving *.d files), then you'll need to create a Makefile.foo patterned after Makefile.tflop, which uses different rules that do not involve dependency files. That's it. Once you have a correct Makefile.foo and you have pre-built the MPI and FFT libraries it will use, all you need to do from the src directory is type one of these 2 commands: make foo gmake foo :pre You should get the executable lmp_foo when the build is complete. [{How to make LAMMPS with and without packages:}] The source code for LAMMPS is structured as a large set of core files that are always used plus additional packages, which are groups of files that enable a specific set of features. For example, force fields for molecular systems or granular systems are in packages. You can see the list of packages by typing "make package". The current list of packages is as follows: class2 : class 2 force fields dpd : dissipative particle dynamics (DPD) force field granular : force fields and boundary conditions for granular systems kspace : long-range Ewald and particle-mesh (PPPM) solvers +manybody : metal, 3-body, bond-order potentials molecule : force fields for molecular systems poems : coupled rigid body motion xtc : dump atom snapshots in XTC format :tb(s=:) Any or all of these packages can be included or excluded when LAMMPS -is built. The default is to include only the kspace and molecule -packages. You may wish to exclude certain packages if you will never -run certain kinds of simulations. This will produce a smaller -executable which in some cases will also run a bit faster. +is built. The default is to include only the kspace, manybody, and +molecule packages. You may wish to exclude certain packages if you +will never run certain kinds of simulations. This will produce a +smaller executable which in some cases will also run a bit faster. Packages are included or excluded by typing "make yes-name" or "make no-name", where "name" is the name of the package. You can also type "make yes-all" or "make no-all" to include/exclude all optional packages. These commands work by simply moving files back and forth between the main src directory and sub-directories with the package name, so that the files are not seen when LAMMPS is built. After you have included or excluded a package, you must re-make LAMMPS. Additional make options exist to help manage LAMMPS files that exist in both the src directory and in package sub-directories. Typing "make package-update" will overwrite src files with files from the package directories if the package has been included. Typing "make package-overwrite" will overwrite files in the package directories with src files. Typing "make package-check" will list differences between src and package versions of the same files. To use the poems package you must build LAMMPS with the POEMS library, which computes the constrained rigid-body motion of articulated (jointed) multibody systems. POEMS was written and is distributed by Prof Kurt Anderson's group at Rensselaer Polytechnic Institute (RPI). It is included in the LAMMPS distribution. To build LAMMPS with POEMS, you must use a low-level LAMMPS Makefile that includes the POEMS directory in its paths. See Makefile.g++.poems as an example. You must also build POEMS itself as a library before building LAMMPS, so that LAMMPS can link against it. The POEMS library is built by typing "make" from within the poems directory in the LAMMPS distribution. By default this uses Makefile which uses the gcc compiler. If you need to use another compiler (so that the POEMS library and LAMMPS are consistent), use another poems/Makefile.* or create your own and invoke it as "make -f Makefile.*". [{Building LAMMPS as a library:}] LAMMPS can be built as a library, which can then be called from another application or a scripting language. See "this section"_Section_howto.html#4_10 for more info on coupling LAMMPS to other codes. Building LAMMPS as a library is done by typing make makelib make -f Makefile.lib foo :pre where foo is the machine name. The first "make" command will create a current Makefile.lib with all the file names in your src dir. The 2nd "make" command will use it to build LAMMPS as a library. This requires that Makefile.foo have a library target (lib) and system-specific settings for ARCHIVE and ARFLAGS. See Makefile.linux for an example. The build will create the file liblmp_foo.a which another application can link to. The callable functions in the library are listed in library.h, but you can add as many functions as you wish to library.h and library.cpp, which can access LAMMPS data and return it to the caller or set LAMMPS data values as specified by the caller. These 3 functions are included in the library: void lammps_open(int, char **, MPI_Comm); void lammps_close(); int lammps_command(char *); :pre The lammps_open() function is used to initialize LAMMPS, passing in a list of strings as if they were "command-line arguments"_#2_4 when LAMMPS is run from the command line and a MPI communicator for LAMMPS to run under. The lammps_close() function is used to shut down LAMMPS and free all its memory. The lammps_command() function is used to pass a string to LAMMPS as if it were an input command read from an input script. See the library.h file for more information about the arguments and return values for these 3 functions. [{Additional build tips:}] (1) Building LAMMPS for multiple platforms. You can make LAMMPS for multiple platforms from the same src directory. Each target creates its own object sub-dir called Obj_name where it stores the system-specific *.o files. (2) Cleaning up. Typing "make clean" will delete all *.o object files created when LAMMPS is built. (3) On some 64-bit machines, compiling with -O3 appears to break the Coulombic tabling option used by the "pair_style"_pair_style.html {lj/cut/coul/long} and {lj/charmm/coul/long} styles. By default, tabling is used by these styles since it can offer a 2x speed-up. It can be disabled via the "pair_modify"_pair_modify.html command. Alternatively, the associated files (e.g. pair_lj_cut_coul_long.cpp) can be compiled with -O2, or with the compiler flag {-fno-strict-aliasing}. Either of those build changes seems to fix the problem. (4) Building for a Macintosh. OS X is BSD Unix, so it already works. See the Makefile.mac file. (5) Building for MicroSoft Windows. I've never done this, but LAMMPS is just standard C++ with MPI and FFT calls. You should be able to use cygwin to build LAMMPS with a Unix make. Or you should be able to pull all the source files into Visual C++ (ugh) or some similar development environment and build it. In the src/MAKE/Windows directory are some notes from users on how they built LAMMPS under Windows, so you can look at their instructions for tips. Good luck - I can't help you on this one. :line 2.3 Running LAMMPS :h4,link(2_3) By default, LAMMPS runs by reading commands from stdin; e.g. lmp_linux < in.file. This means you first create an input script (e.g. in.file) containing the desired commands. "This section"_Section_commands.html describes how input scripts are structured and what commands they contain. You can test LAMMPS on any of the sample inputs provided in the examples directory. Input scripts are named in.* and sample outputs are named log.*.name.P where name is a machine and P is the number of processors it was run on. Here is how you might run one of the Lennard-Jones tests on a Linux box, using mpirun to launch a parallel job: cd src make linux cp lmp_linux ../examples/lj cd ../examples/lj mpirun -np 4 lmp_linux < in.lj.nve :pre The screen output from LAMMPS is described in the next section. As it runs, LAMMPS also writes a log.lammps file with the same information. Note that this sequence of commands copied the LAMMPS executable (lmp_linux) to the directory with the input files. If you don't do this, LAMMPS may look for input files or create output files in the directory where the executable is, rather than where you run it from. If LAMMPS encounters errors in the input script or while running a simulation it will print an ERROR message and stop or a WARNING message and continue. See "this section"_Section_errors.html for a discussion of the various kinds of errors LAMMPS can or can't detect, a list of all ERROR and WARNING messages, and what to do about them. LAMMPS can run a problem on any number of processors, including a single processor. In theory you should get identical answers on any number of processors and on any machine. In practice, numerical round-off can cause slight differences and eventual divergence of molecular dynamics phase space trajectories. LAMMPS can run as large a problem as will fit in the physical memory of one or more processors. If you run out of memory, you must run on more processors or setup a smaller problem. :line 2.4 Command-line options :h4,link(2_4) At run time, LAMMPS recognizes several optional command-line switches which may be used in any order. For example, lmp_ibm might be launched as follows: mpirun -np 16 lmp_ibm -var f tmp.out -log my.log -screen none < in.alloy :pre These are the command-line options: -echo style :pre Set the style of command echoing. The style can be {none} or {screen} or {log} or {both}. Depending on the style, each command read from the input script will be echoed to the screen and/or logfile. This can be useful to figure out which line of your script is causing an input error. The default value is {log}. The echo style can also be set by using the "echo"_echo.html command in the input script itself. -partition 8x2 4 5 ... :pre Invoke LAMMPS in multi-partition mode. When LAMMPS is run on P processors and this switch is not used, LAMMPS runs in one partition, i.e. all P processors run a single simulation. If this switch is used, the P processors are split into separate partitions and each partition runs its own simulation. The arguments to the switch specify the number of processors in each partition. Arguments of the form MxN mean M partitions, each with N processors. Arguments of the form N mean a single partition with N processors. The sum of processors in all partitions must equal P. Thus the command "-partition 8x2 4 5" has 10 partitions and runs on a total of 25 processors. The input script specifies what simulation is run on which partition; see the "variable"_variable.html and "next"_next.html commands. Simulations running on different partitions can also communicate with each other; see the "temper"_temper.html command. -in file :pre Specify a file to use as an input script. This is an optional switch when running LAMMPS in one-partition mode. If it is not specified, LAMMPS reads its input script from stdin - e.g. lmp_linux < in.run. This is a required switch when running LAMMPS in multi-partition mode, since multiple processors cannot all read from stdin. -log file :pre Specify a log file for LAMMPS to write status information to. In one-partition mode, if the switch is not used, LAMMPS writes to the file log.lammps. If this switch is used, LAMMPS writes to the specified file. In multi-partition mode, if the switch is not used, a log.lammps file is created with hi-level status information. Each partition also writes to a log.lammps.N file where N is the partition ID. If the switch is specified in multi-partition mode, the hi-level logfile is named "file" and each partition also logs information to a file.N. For both one-partition and multi-partition mode, if the specified file is "none", then no log files are created. Using a "log"_log.html command in the input script will override this setting. -screen file :pre Specify a file for LAMMPS to write it's screen information to. In one-partition mode, if the switch is not used, LAMMPS writes to the screen. If this switch is used, LAMMPS writes to the specified file instead and you will see no screen output. In multi-partition mode, if the switch is not used, hi-level status information is written to the screen. Each partition also writes to a screen.N file where N is the partition ID. If the switch is specified in multi-partition mode, the hi-level screen dump is named "file" and each partition also writes screen information to a file.N. For both one-partition and multi-partition mode, if the specified file is "none", then no screen output is performed. -var name value :pre Specify a variable that will be defined for substitution purposes when the input script is read. "Name" is the variable name which can be a single character (referenced as $x in the input script) or a full string (referenced as $\{abc\}). The value can be any string. Using this command-line option is equivalent to putting the line "variable name index value" at the beginning of the input script. See the "variable"_variable.html command for more info on defining variables and "this section"_Section_commands.html#3_2 for more info on using variables in scripts. :line 2.5 LAMMPS screen output :h4,link(2_5) As LAMMPS reads an input script, it prints information to both the screen and a log file about significant actions it takes to setup a simulation. When the simulation is ready to begin, LAMMPS performs various initializations and prints the amount of memory (in MBytes per processor) that the simulation requires. It also prints details of the initial thermodynamic state of the system. During the run itself, thermodynamic information is printed periodically, every few timesteps. When the run concludes, LAMMPS prints the final thermodynamic state and a total run time for the simulation. It then appends statistics about the CPU time and storage requirements for the simulation. An example set of statistics is shown here: Loop time of 49.002 on 2 procs for 2004 atoms :pre Pair time (%) = 35.0495 (71.5267) Bond time (%) = 0.092046 (0.187841) Kspce time (%) = 6.42073 (13.103) Neigh time (%) = 2.73485 (5.5811) Comm time (%) = 1.50291 (3.06703) Outpt time (%) = 0.013799 (0.0281601) Other time (%) = 2.13669 (4.36041) :pre Nlocal: 1002 ave, 1015 max, 989 min Histogram: 1 0 0 0 0 0 0 0 0 1 Nghost: 8720 ave, 8724 max, 8716 min Histogram: 1 0 0 0 0 0 0 0 0 1 Neighs: 354141 ave, 361422 max, 346860 min Histogram: 1 0 0 0 0 0 0 0 0 1 :pre Total # of neighbors = 708282 Ave neighs/atom = 353.434 Ave special neighs/atom = 2.34032 Number of reneighborings = 42 Dangerous reneighborings = 2 :pre The first section gives the breakdown of the CPU run time (in seconds) into major categories. The second section lists the number of owned atoms (Nlocal), ghost atoms (Nghost), and pair-wise neighbors stored per processor. The max and min values give the spread of these values across processors with a 10-bin histogram showing the distribution. The total number of histogram counts is equal to the number of processors. The last section gives aggregate statistics for pair-wise neighbors and special neighbors that LAMMPS keeps track of (see the "special_bonds"_special_bonds.html command). The number of times neighbor lists were rebuilt during the run is given as well as the number of potentially "dangerous" rebuilds. If atom movement triggered neighbor list rebuilding (see the "neigh_modify"_neigh_modify.html command), then dangerous reneighborings are those that were triggered on the first timestep atom movement was checked for. If this count is non-zero you may wish to reduce the delay factor to insure no force interactions are missed by atoms moving beyond the neighbor skin distance before a rebuild takes place. If an energy minimization was performed via the "minimize"_minimize.html command, additional information is printed, e.g. Minimization stats: E initial, next-to-last, final = -0.895962 -2.94193 -2.94342 Gradient 2-norm init/final= 1920.78 20.9992 Gradient inf-norm init/final= 304.283 9.61216 Iterations = 36 Force evaluations = 177 :pre The first line lists the initial and final energy, as well as the energy on the next-to-last iteration. The next 2 lines give a measure of the gradient of the energy (force on all atoms). The 2-norm is the "length" of this force vector; the inf-norm is the largest component. The last 2 lines are statistics on how many iterations and force-evaluations the minimizer required. Multiple force evalulations are typically done at each iteration to perform a 1d line minimization in the search direction. If a "kspace_style"_kspace_style.html long-range Coulombics solve was performed during the run (PPPM, Ewald), then additional information is printed, e.g. FFT time (% of Kspce) = 0.200313 (8.34477) FFT Gflps 3d 1d-only = 2.31074 9.19989 :pre The first line gives the time spent doing 3d FFTs (4 per timestep) and the fraction it represents of the total KSpace time (listed above). Each 3d FFT requires computation (3 sets of 1d FFTs) and communication (transposes). The total flops performed is 5Nlog_2(N), where N is the number of points in the 3d grid. The FFTs are timed with and without the communication and a Gflop rate is computed. The 3d rate is with communication; the 1d rate is without (just the 1d FFTs). Thus you can estimate what fraction of your FFT time was spent in communication, roughly 75% in the example above. :line 2.6 Tips for users of previous LAMMPS versions :h4,link(2_6) LAMMPS 2003 is a complete C++ rewrite of LAMMPS 2001, which was written in F90. Features of earlier versions of LAMMPS are listed in "this section"_Section_history.html. The F90 and F77 versions (2001 and 99) are also freely distributed as open-source codes; check the "LAMMPS WWW Site"_lws for distribution information if you prefer those versions. The 99 and 2001 versions are no longer under active development; they do not have all the features of LAMMPS 2003. If you are a previous user of LAMMPS 2001, these are the most significant changes you will notice in LAMMPS 2003: (1) The names and arguments of many input script commands have changed. All commands are now a single word (e.g. read_data instead of read data). (2) All the functionality of LAMMPS 2001 is included in LAMMPS 2003, but you may need to specify the relevant commands in different ways. (3) The format of the data file can be streamlined for some problems. See the "read_data"_read_data.html command for details. The data file section "Nonbond Coeff" has been renamed to "Pair Coeff" in LAMMPS 2003. (4) Binary restart files written by LAMMPS 2001 cannot be read by LAMMPS 2003 with a "read_restart"_read_restart.html command. This is because they were output by F90 which writes in a different binary format than C or C++ writes or reads. Use the {restart2data} tool provided with LAMMPS 2001 to convert the 2001 restart file to a text data file. Then edit the data file as necessary before using the LAMMPS 2003 "read_data"_read_data.html command to read it in. (5) There are numerous small numerical changes in LAMMPS 2003 that mean you will not get identical answers when comparing to a 2001 run. However, your initial thermodynamic energy and MD trajectory should be close if you have setup the problem for both codes the same. diff --git a/doc/angle_style.html b/doc/angle_style.html index 3e2edf80b..a6b7311ec 100644 --- a/doc/angle_style.html +++ b/doc/angle_style.html @@ -1,82 +1,83 @@
LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

angle_style command

Syntax:

angle_style style 
 

Examples:

angle_style harmonic
 angle_style charmm
 angle_style hybrid harmonic cosine 
 

Description:

Set the formula(s) LAMMPS uses to compute angle interactions between triplets of atoms, which remain in force for the duration of the simulation. The list of angle triplets is read in by a read_data or read_restart command from a data or restart file.

Hybrid models where angles are computed using different angle potentials can be setup using the hybrid angle style.

The coefficients associated with a angle style can be specified in a data or restart file or via the angle_coeff command.

In the formulas listed for each angle style, theta is the angle between the 3 atoms in the angle.

Note that when both an angle and pair style is defined, the special_bond command often needs to be used to turn off (or weight) the pairwise interactions that would otherwise exist between the 3 bonded atoms.


Here is an alphabetic list of angle styles defined in LAMMPS. Click on the style to display the formula it computes and coefficients specified by the associated angle_coeff command:


Restrictions:

Angle styles can only be set for atom_styles that allow angles to be defined.

-

Angle styles are part of the "molecular" package. They are only -enabled if LAMMPS was built with that package. See the Making +

Angle styles are part of the "molecular" package or other packages as +noted in their documentation. They are only enabled if LAMMPS was +built with that package. See the Making LAMMPS section for more info.

Related commands:

angle_coeff

Default:

angle_style none 
 
diff --git a/doc/angle_style.txt b/doc/angle_style.txt index beca2044b..ddedf0a0f 100644 --- a/doc/angle_style.txt +++ b/doc/angle_style.txt @@ -1,78 +1,79 @@ "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c :link(lws,http://lammps.sandia.gov) :link(ld,Manual.html) :link(lc,Section_commands.html#comm) :line angle_style command :h3 [Syntax:] angle_style style :pre style = {none} or {hybrid} or {charmm} or {class2} or {cosine} or \ {cosine/squared} or {harmonic} :ul [Examples:] angle_style harmonic angle_style charmm angle_style hybrid harmonic cosine :pre [Description:] Set the formula(s) LAMMPS uses to compute angle interactions between triplets of atoms, which remain in force for the duration of the simulation. The list of angle triplets is read in by a "read_data"_read_data.html or "read_restart"_read_restart.html command from a data or restart file. Hybrid models where angles are computed using different angle potentials can be setup using the {hybrid} angle style. The coefficients associated with a angle style can be specified in a data or restart file or via the "angle_coeff"_angle_coeff.html command. In the formulas listed for each angle style, {theta} is the angle between the 3 atoms in the angle. Note that when both an angle and pair style is defined, the "special_bond"_special_bond.html command often needs to be used to turn off (or weight) the pairwise interactions that would otherwise exist between the 3 bonded atoms. :line Here is an alphabetic list of angle styles defined in LAMMPS. Click on the style to display the formula it computes and coefficients specified by the associated "angle_coeff"_angle_coeff.html command: "angle_style none"_angle_style_none.html - turn off angle interactions "angle_style hybrid"_angle_style_hybrid.html - define multiple styles of angle interactions :ul "angle_style charmm"_angle_style_charmm.html - CHARMM angle "angle_style class2"_angle_style_class2.html - COMPASS (class 2) angle "angle_style cosine"_angle_style_cosine.html - cosine angle potential "angle_style cosine/squared"_angle_style_cosine_squared.html - cosine squared angle potential "angle_style harmonic"_angle_style_harmonic.html - harmonic angle :ul :line [Restrictions:] Angle styles can only be set for atom_styles that allow angles to be defined. -Angle styles are part of the "molecular" package. They are only -enabled if LAMMPS was built with that package. See the "Making +Angle styles are part of the "molecular" package or other packages as +noted in their documentation. They are only enabled if LAMMPS was +built with that package. See the "Making LAMMPS"_Section_start.html#2_2 section for more info. [Related commands:] "angle_coeff"_angle_coeff.html [Default:] angle_style none :pre diff --git a/doc/angle_style_charmm.html b/doc/angle_style_charmm.html index 94b63ae3b..e5b3cc270 100644 --- a/doc/angle_style_charmm.html +++ b/doc/angle_style_charmm.html @@ -1,61 +1,64 @@
LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

angle_style charmm command

Syntax:

angle_style charmm 
 

Examples:

angle_style charmm
 angle_coeff 1 300.0 107.0 50.0 3.0 
 

Description:

The charmm angle style uses the potential

with an additional Urey_Bradley term based on the distance r between the 1st and 3rd atoms in the angle. K, theta0, Kub, and Rub are coefficients defined for each angle type.

+

See (MacKerell) for a description of the CHARMM force +field. +

The following coefficients must be defined for each angle type via the angle_coeff command as in the example above, or in the data file or restart files read by the read_data or read_restart commands:

Theta0 is specified in degrees, but LAMMPS converts it to radians internally; hence the units of K are in energy/radian^2.

-

Restrictions: -

-

Angle styles can only be set for atom styles that allow angles to be -defined. -

-

This angle style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the Making -LAMMPS section for more info. +

Restrictions: none

Related commands:

angle_coeff

Default: none

+
+ + + +

(MacKerell) MacKerell, Bashford, Bellott, Dunbrack, Evanseck, Field, +Fischer, Gao, Guo, Ha, et al, J Phys Chem, 102, 3586 (1998). +

diff --git a/doc/angle_style_charmm.txt b/doc/angle_style_charmm.txt index ef769720e..5e6dffb79 100644 --- a/doc/angle_style_charmm.txt +++ b/doc/angle_style_charmm.txt @@ -1,56 +1,58 @@ "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c :link(lws,http://lammps.sandia.gov) :link(ld,Manual.html) :link(lc,Section_commands.html#comm) :line angle_style charmm command :h3 [Syntax:] angle_style charmm :pre [Examples:] angle_style charmm angle_coeff 1 300.0 107.0 50.0 3.0 :pre [Description:] The {charmm} angle style uses the potential :c,image(Eqs/angle_charmm.jpg) with an additional Urey_Bradley term based on the distance {r} between the 1st and 3rd atoms in the angle. K, theta0, Kub, and Rub are coefficients defined for each angle type. +See "(MacKerell)"_#MacKerell for a description of the CHARMM force +field. + The following coefficients must be defined for each angle type via the "angle_coeff"_angle_coeff.html command as in the example above, or in the data file or restart files read by the "read_data"_read_data.html or "read_restart"_read_restart.html commands: K (energy/radian^2) theta0 (degrees) K_ub (energy/distance^2) r_ub (distance) :ul Theta0 is specified in degrees, but LAMMPS converts it to radians internally; hence the units of K are in energy/radian^2. -[Restrictions:] - -Angle styles can only be set for atom styles that allow angles to be -defined. - -This angle style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the "Making -LAMMPS"_Section_start.html#2_2 section for more info. +[Restrictions:] none [Related commands:] "angle_coeff"_angle_coeff.html [Default:] none + +:line + +:link(MacKerell) +[(MacKerell)] MacKerell, Bashford, Bellott, Dunbrack, Evanseck, Field, +Fischer, Gao, Guo, Ha, et al, J Phys Chem, 102, 3586 (1998). diff --git a/doc/angle_style_class2.html b/doc/angle_style_class2.html index 0649b37d8..369de1f38 100644 --- a/doc/angle_style_class2.html +++ b/doc/angle_style_class2.html @@ -1,80 +1,85 @@
LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

angle_style class2 command

Syntax:

angle_style class2 
 

Examples:

angle_style class2
 angle_coeff * 75.0 
 

Description:

The class2 angle style uses the potential

where Ea is the angle term, Ebb is a bond-bond term, and Eba is a bond-angle term. Theta0 is the equilibrium angle and r1 and r2 are the equilibrium bond lengths.

+

See (Sun) for a description of the COMPASS class2 force field. +

For this style, only coefficients for the Ea formula can be specified in the input script. These are the 4 coefficients:

Theta0 is specified in degrees, but LAMMPS converts it to radians internally; hence the units of K are in energy/radian^2.

Coefficients for the Ebb and Eba formulas must be specified in the data file.

For the Ebb formula, the coefficients are listed under a "BondBond Coeffs" heading and each line lists 3 coefficients:

For the Eba formula, the coefficients are listed under a "BondAngle Coeffs" heading and each line lists 4 coefficients:

The theta0 value in the Eba formula is not specified, since it is the same value from the Ea formula.

Restrictions:

-

Angle styles can only be set for atom styles that allow angles to be -defined. -

This angle style is part of the "class2" package. It is only enabled if LAMMPS was built with that package. See the Making LAMMPS section for more info.

Related commands:

angle_coeff

Default: none

+
+ + + +

(Sun) Sun, J Phys Chem B 102, 7338-7364 (1998). +

diff --git a/doc/angle_style_class2.txt b/doc/angle_style_class2.txt index adf5854ac..b49abf0a2 100644 --- a/doc/angle_style_class2.txt +++ b/doc/angle_style_class2.txt @@ -1,75 +1,79 @@ "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c :link(lws,http://lammps.sandia.gov) :link(ld,Manual.html) :link(lc,Section_commands.html#comm) :line angle_style class2 command :h3 [Syntax:] angle_style class2 :pre [Examples:] angle_style class2 angle_coeff * 75.0 :pre [Description:] The {class2} angle style uses the potential :c,image(Eqs/angle_class2.jpg) where Ea is the angle term, Ebb is a bond-bond term, and Eba is a bond-angle term. Theta0 is the equilibrium angle and r1 and r2 are the equilibrium bond lengths. +See "(Sun)"_#Sun for a description of the COMPASS class2 force field. + For this style, only coefficients for the Ea formula can be specified in the input script. These are the 4 coefficients: theta0 (degrees) K2 (energy/radian^2) K3 (energy/radian^2) K4 (energy/radian^2) :ul Theta0 is specified in degrees, but LAMMPS converts it to radians internally; hence the units of K are in energy/radian^2. Coefficients for the Ebb and Eba formulas must be specified in the data file. For the Ebb formula, the coefficients are listed under a "BondBond Coeffs" heading and each line lists 3 coefficients: M (energy/distance^2) r1 (distance) r2 (distance) :ul For the Eba formula, the coefficients are listed under a "BondAngle Coeffs" heading and each line lists 4 coefficients: N1 (energy/distance^2) N2 (energy/distance^2) r1 (distance) r2 (distance) :ul The theta0 value in the Eba formula is not specified, since it is the same value from the Ea formula. [Restrictions:] -Angle styles can only be set for atom styles that allow angles to be -defined. - This angle style is part of the "class2" package. It is only enabled if LAMMPS was built with that package. See the "Making LAMMPS"_Section_start.html#2_2 section for more info. [Related commands:] "angle_coeff"_angle_coeff.html [Default:] none + +:line + +:link(Sun) +[(Sun)] Sun, J Phys Chem B 102, 7338-7364 (1998). diff --git a/doc/angle_style_cosine.html b/doc/angle_style_cosine.html index 3f295764d..b0cd186ae 100644 --- a/doc/angle_style_cosine.html +++ b/doc/angle_style_cosine.html @@ -1,53 +1,46 @@
LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

angle_style cosine command

Syntax:

angle_style cosine 
 

Examples:

angle_style cosine
 angle_coeff * 75.0 
 

Description:

The cosine angle style uses the potential

where K is defined for each angle type.

The following coefficients must be defined for each angle type via the angle_coeff command as in the example above, or in the data file or restart files read by the read_data or read_restart commands:

-

Restrictions: -

-

Angle styles can only be set for atom styles that allow angles to be -defined. -

-

This angle style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the Making -LAMMPS section for more info. +

Restrictions: none

Related commands:

angle_coeff

Default: none

diff --git a/doc/angle_style_cosine.txt b/doc/angle_style_cosine.txt index b276e7ee1..ba161cd9f 100644 --- a/doc/angle_style_cosine.txt +++ b/doc/angle_style_cosine.txt @@ -1,48 +1,41 @@ "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c :link(lws,http://lammps.sandia.gov) :link(ld,Manual.html) :link(lc,Section_commands.html#comm) :line angle_style cosine command :h3 [Syntax:] angle_style cosine :pre [Examples:] angle_style cosine angle_coeff * 75.0 :pre [Description:] The {cosine} angle style uses the potential :c,image(Eqs/angle_cosine.jpg) where K is defined for each angle type. The following coefficients must be defined for each angle type via the "angle_coeff"_angle_coeff.html command as in the example above, or in the data file or restart files read by the "read_data"_read_data.html or "read_restart"_read_restart.html commands: K (energy) :ul -[Restrictions:] - -Angle styles can only be set for atom styles that allow angles to be -defined. - -This angle style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the "Making -LAMMPS"_Section_start.html#2_2 section for more info. +[Restrictions:] none [Related commands:] "angle_coeff"_angle_coeff.html [Default:] none diff --git a/doc/angle_style_cosine_squared.html b/doc/angle_style_cosine_squared.html index 77c5a0f44..53596a792 100644 --- a/doc/angle_style_cosine_squared.html +++ b/doc/angle_style_cosine_squared.html @@ -1,58 +1,51 @@
LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

angle_style cosine/squared command

Syntax:

angle_style cosine/squared 
 

Examples:

angle_style cosine/squared
 angle_coeff 2*4 75.0 100.0 
 

Description:

The cosine/squared angle style uses the potential

where theta0 is the equilibrium value of the angle, and K is a prefactor. Note that the usual 1/2 factor is included in K.

The following coefficients must be defined for each angle type via the angle_coeff command as in the example above, or in the data file or restart files read by the read_data or read_restart commands:

Theta0 is specified in degrees, but LAMMPS converts it to radians internally.

-

Restrictions: -

-

Angle styles can only be set for atom styles that allow angles to be -defined. -

-

This angle style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the Making -LAMMPS section for more info. +

Restrictions: none

Related commands:

angle_coeff

Default: none

diff --git a/doc/angle_style_cosine_squared.txt b/doc/angle_style_cosine_squared.txt index 011b2f41a..79e7d946b 100644 --- a/doc/angle_style_cosine_squared.txt +++ b/doc/angle_style_cosine_squared.txt @@ -1,53 +1,46 @@ "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c :link(lws,http://lammps.sandia.gov) :link(ld,Manual.html) :link(lc,Section_commands.html#comm) :line angle_style cosine/squared command :h3 [Syntax:] angle_style cosine/squared :pre [Examples:] angle_style cosine/squared angle_coeff 2*4 75.0 100.0 :pre [Description:] The {cosine/squared} angle style uses the potential :c,image(Eqs/angle_cosine_squared.jpg) where theta0 is the equilibrium value of the angle, and K is a prefactor. Note that the usual 1/2 factor is included in K. The following coefficients must be defined for each angle type via the "angle_coeff"_angle_coeff.html command as in the example above, or in the data file or restart files read by the "read_data"_read_data.html or "read_restart"_read_restart.html commands: K (energy) theta0 (degrees) :ul Theta0 is specified in degrees, but LAMMPS converts it to radians internally. -[Restrictions:] - -Angle styles can only be set for atom styles that allow angles to be -defined. - -This angle style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the "Making -LAMMPS"_Section_start.html#2_2 section for more info. +[Restrictions:] none [Related commands:] "angle_coeff"_angle_coeff.html [Default:] none diff --git a/doc/angle_style_harmonic.html b/doc/angle_style_harmonic.html index ebfcfd89f..1f633cc0b 100644 --- a/doc/angle_style_harmonic.html +++ b/doc/angle_style_harmonic.html @@ -1,58 +1,51 @@
LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

angle_style harmonic command

Syntax:

angle_style harmonic 
 

Examples:

angle_style harmonic
 angle_coeff 1 300.0 107.0 
 

Description:

The harmonic angle style uses the potential

where theta0 is the equilibrium value of the angle, and K is a prefactor. Note that the usual 1/2 factor is included in K.

The following coefficients must be defined for each angle type via the angle_coeff command as in the example above, or in the data file or restart files read by the read_data or read_restart commands:

Theta0 is specified in degrees, but LAMMPS converts it to radians internally; hence the units of K are in energy/radian^2.

-

Restrictions: -

-

Angle styles can only be set for atom styles that allow angles to be -defined. -

-

This angle style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the Making -LAMMPS section for more info. +

Restrictions: none

Related commands:

angle_coeff

Default: none

diff --git a/doc/angle_style_harmonic.txt b/doc/angle_style_harmonic.txt index a0fa85b6f..6ab256c57 100644 --- a/doc/angle_style_harmonic.txt +++ b/doc/angle_style_harmonic.txt @@ -1,53 +1,46 @@ "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c :link(lws,http://lammps.sandia.gov) :link(ld,Manual.html) :link(lc,Section_commands.html#comm) :line angle_style harmonic command :h3 [Syntax:] angle_style harmonic :pre [Examples:] angle_style harmonic angle_coeff 1 300.0 107.0 :pre [Description:] The {harmonic} angle style uses the potential :c,image(Eqs/angle_harmonic.jpg) where theta0 is the equilibrium value of the angle, and K is a prefactor. Note that the usual 1/2 factor is included in K. The following coefficients must be defined for each angle type via the "angle_coeff"_angle_coeff.html command as in the example above, or in the data file or restart files read by the "read_data"_read_data.html or "read_restart"_read_restart.html commands: K (energy/radian^2) theta0 (degrees) :ul Theta0 is specified in degrees, but LAMMPS converts it to radians internally; hence the units of K are in energy/radian^2. -[Restrictions:] - -Angle styles can only be set for atom styles that allow angles to be -defined. - -This angle style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the "Making -LAMMPS"_Section_start.html#2_2 section for more info. +[Restrictions:] none [Related commands:] "angle_coeff"_angle_coeff.html [Default:] none diff --git a/doc/angle_style_hybrid.html b/doc/angle_style_hybrid.html index 7133b2a8d..dd8ef1ae6 100644 --- a/doc/angle_style_hybrid.html +++ b/doc/angle_style_hybrid.html @@ -1,58 +1,55 @@
LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

angle_style hybrid command

Syntax:

angle_style hybrid style1 style2 ... 
 

Examples:

angle_style hybrid harmonic cosine
 angle_coeff 1 harmonic 80.0 1.2
 angle_coeff 2* cosine 50.0  
 

Description:

The hybrid style enables the use of multiple angle styles in one simulation. An angle style is assigned to each angle type. For example, angles in a polymer flow (of angle type 1) could be computed with a harmonic potential and angles in the wall boundary (of angle type 2) could be computed with a cosine potential. The assignment of angle type to style is made via the angle_coeff command or in the data file.

In the angle_coeff command, the first coefficient sets the angle style and the remaining coefficients are those appropriate to that style. In the example above, the 2 angle_coeff commands would set angles of angle type 1 to be computed with a harmonic potential with coefficients 80.0, 1.2 for K, r0. All other angle types (2-N) would be computed with a cosine potential with coefficient 50.0 for K.

-

Restrictions: +

An angle style of none can be specified as an argument to +angle_style hybrid and the corresponding angle_coeff commands, if you +desire to turn off certain angle types.

-

Angle styles can only be set for atom styles that allow angles to be -defined. -

-

This angle style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the Making -LAMMPS section for more info. +

Restrictions: none

Related commands:

angle_coeff

Default: none

diff --git a/doc/angle_style_hybrid.txt b/doc/angle_style_hybrid.txt index 07e87ffa8..044a4b518 100644 --- a/doc/angle_style_hybrid.txt +++ b/doc/angle_style_hybrid.txt @@ -1,53 +1,50 @@ "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c :link(lws,http://lammps.sandia.gov) :link(ld,Manual.html) :link(lc,Section_commands.html#comm) :line angle_style hybrid command :h3 [Syntax:] angle_style hybrid style1 style2 ... :pre style1,style2 = list of one or more angle styles :ul [Examples:] angle_style hybrid harmonic cosine angle_coeff 1 harmonic 80.0 1.2 angle_coeff 2* cosine 50.0 :pre [Description:] The {hybrid} style enables the use of multiple angle styles in one simulation. An angle style is assigned to each angle type. For example, angles in a polymer flow (of angle type 1) could be computed with a {harmonic} potential and angles in the wall boundary (of angle type 2) could be computed with a {cosine} potential. The assignment of angle type to style is made via the "angle_coeff"_angle_coeff.html command or in the data file. In the angle_coeff command, the first coefficient sets the angle style and the remaining coefficients are those appropriate to that style. In the example above, the 2 angle_coeff commands would set angles of angle type 1 to be computed with a {harmonic} potential with coefficients 80.0, 1.2 for K, r0. All other angle types (2-N) would be computed with a {cosine} potential with coefficient 50.0 for K. -[Restrictions:] +An angle style of {none} can be specified as an argument to +angle_style hybrid and the corresponding angle_coeff commands, if you +desire to turn off certain angle types. -Angle styles can only be set for atom styles that allow angles to be -defined. - -This angle style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the "Making -LAMMPS"_Section_start.html#2_2 section for more info. +[Restrictions:] none [Related commands:] "angle_coeff"_angle_coeff.html [Default:] none diff --git a/doc/angle_style_none.html b/doc/angle_style_none.html index 559ad56b6..a589bcc7c 100644 --- a/doc/angle_style_none.html +++ b/doc/angle_style_none.html @@ -1,37 +1,34 @@
LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

angle_style none command

Syntax:

angle_style none 
 

Examples:

angle_style none 
 

Description:

Using an angle style of none means angle forces are not computed, even if triplets of angle atoms were listed in the data file read by the read_data command.

-

Restrictions: -

-

Angle styles can only be set for atom styles that allow angles to be -defined. +

Restrictions: none

Related commands: none

Default: none

diff --git a/doc/angle_style_none.txt b/doc/angle_style_none.txt index 56a18bb39..7dea5c41f 100644 --- a/doc/angle_style_none.txt +++ b/doc/angle_style_none.txt @@ -1,32 +1,29 @@ "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c :link(lws,http://lammps.sandia.gov) :link(ld,Manual.html) :link(lc,Section_commands.html#comm) :line angle_style none command :h3 [Syntax:] angle_style none :pre [Examples:] angle_style none :pre [Description:] Using an angle style of none means angle forces are not computed, even if triplets of angle atoms were listed in the data file read by the "read_data"_read_data.html command. -[Restrictions:] - -Angle styles can only be set for atom styles that allow angles to be -defined. +[Restrictions:] none [Related commands:] none [Default:] none diff --git a/doc/bond_style.html b/doc/bond_style.html index c2a1214fc..9450b9c44 100644 --- a/doc/bond_style.html +++ b/doc/bond_style.html @@ -1,93 +1,94 @@
LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

bond_style command

Syntax:

bond_style style args 
 
  args = none for any style except hybrid
   hybrid args = list of one or more styles 
 

Examples:

bond_style harmonic
 bond_style fene
 bond_style hybrid harmonic fene 
 

Description:

Set the formula(s) LAMMPS uses to compute bond interactions between pairs of atoms. In LAMMPS, a bond differs from a pairwise interaction, which are set via the pair_style command. Bonds are defined between specified pairs of atoms and remain in force for the duration of the simulation (unless the bond breaks which is possible in some bond potentials). The list of bonded atoms is read in by a read_data or read_restart command from a data or restart file. By contrast, pair potentials are defined between pairs of atoms that are within a cutoff distance and the set of active interactions typically changes over time.

Hybrid models where bonds are computed using different bond potentials can be setup using the hybrid bond style.

The coefficients associated with a bond style can be specified in a data or restart file or via the bond_coeff command.

In the formulas listed for each bond style, r is the distance between the 2 atoms in the bond.

Note that when both a bond and pair style is defined, the special_bond command often needs to be used to turn off (or weight) the pairwise interaction that would otherwise exist between 2 bonded atoms.


Here is an alphabetic list of bond styles defined in LAMMPS. Click on the style to display the formula it computes and coefficients specified by the associated bond_coeff command:


Restrictions:

Bond styles can only be set for atom styles that allow bonds to be defined.

-

Bond styles are part of the "molecular" package. They are only -enabled if LAMMPS was built with that package. See the Making +

Bond styles are part of the "molecular" package or other packages as +noted in their documentation. They are only enabled if LAMMPS was +built with that package. See the Making LAMMPS section for more info.

Related commands:

bond_coeff, delete_bonds

Default:

bond_style none

diff --git a/doc/bond_style.txt b/doc/bond_style.txt index dab6b0fc3..8c7ff5e6f 100644 --- a/doc/bond_style.txt +++ b/doc/bond_style.txt @@ -1,88 +1,89 @@ "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c :link(lws,http://lammps.sandia.gov) :link(ld,Manual.html) :link(lc,Section_commands.html#comm) :line bond_style command :h3 [Syntax:] bond_style style args :pre style = {none} or {hybrid} or {class2} or {fene} or {fene/expand} or \ {harmonic} or {morse} or {nonlinear} or {quartic} :ul args = none for any style except {hybrid} {hybrid} args = list of one or more styles :pre [Examples:] bond_style harmonic bond_style fene bond_style hybrid harmonic fene :pre [Description:] Set the formula(s) LAMMPS uses to compute bond interactions between pairs of atoms. In LAMMPS, a bond differs from a pairwise interaction, which are set via the "pair_style"_pair_style.html command. Bonds are defined between specified pairs of atoms and remain in force for the duration of the simulation (unless the bond breaks which is possible in some bond potentials). The list of bonded atoms is read in by a "read_data"_read_data.html or "read_restart"_read_restart.html command from a data or restart file. By contrast, pair potentials are defined between pairs of atoms that are within a cutoff distance and the set of active interactions typically changes over time. Hybrid models where bonds are computed using different bond potentials can be setup using the {hybrid} bond style. The coefficients associated with a bond style can be specified in a data or restart file or via the "bond_coeff"_bond_coeff.html command. In the formulas listed for each bond style, {r} is the distance between the 2 atoms in the bond. Note that when both a bond and pair style is defined, the "special_bond"_special_bond.html command often needs to be used to turn off (or weight) the pairwise interaction that would otherwise exist between 2 bonded atoms. :line Here is an alphabetic list of bond styles defined in LAMMPS. Click on the style to display the formula it computes and coefficients specified by the associated "bond_coeff"_bond_coeff.html command: "bond_style none"_bond_style_none.html - turn off bonded interactions "bond_style hybrid"_bond_style_hybrid.html - define multiple styles of bond interactions :ul "bond_style class2"_bond_style_class2.html - COMPASS (class 2) bond "bond_style fene"_bond_style_fene.html - FENE (finite-extensible non-linear elastic) bond "bond_style fene/expand"_bond_style_fene_expand.html - FENE bonds with variable size particles "bond_style harmonic"_bond_style_harmonic.html - harmonic bond "bond_style morse"_bond_style_morse.html - Morse bond "bond_style nonlinear"_bond_style_nonlinear.html - nonlinear bond "bond_style quartic"_bond_style_quartic.html - breakable quartic bond :ul :line [Restrictions:] Bond styles can only be set for atom styles that allow bonds to be defined. -Bond styles are part of the "molecular" package. They are only -enabled if LAMMPS was built with that package. See the "Making +Bond styles are part of the "molecular" package or other packages as +noted in their documentation. They are only enabled if LAMMPS was +built with that package. See the "Making LAMMPS"_Section_start.html#2_2 section for more info. [Related commands:] "bond_coeff"_bond_coeff.html, "delete_bonds"_delete_bonds.html [Default:] bond_style none diff --git a/doc/bond_style_class2.html b/doc/bond_style_class2.html index 5d2fe2db2..0e7309203 100644 --- a/doc/bond_style_class2.html +++ b/doc/bond_style_class2.html @@ -1,56 +1,61 @@
LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

bond_style class2 command

Syntax:

bond_style class2 
 

Examples:

bond_style class2
 bond_coeff 1 1.0 100.0 80.0 80.0 
 

Description:

The class2 bond style uses the potential

where r0 is the equilibrium bond distance.

+

See (Sun) for a description of the COMPASS class2 force field. +

The following coefficients must be defined for each bond type via the bond_coeff command as in the example above, or in the data file or restart files read by the read_data or read_restart commands:

Restrictions:

-

Bond styles can only be set for atom styles that allow bonds to be -defined. -

This bond style is part of the "class2" package. It is only enabled if LAMMPS was built with that package. See the Making LAMMPS section for more info.

Related commands:

bond_coeff, delete_bonds

Default: none

+
+ + + +

(Sun) Sun, J Phys Chem B 102, 7338-7364 (1998). +

diff --git a/doc/bond_style_class2.txt b/doc/bond_style_class2.txt index 823730990..9f1befe12 100644 --- a/doc/bond_style_class2.txt +++ b/doc/bond_style_class2.txt @@ -1,51 +1,55 @@ "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c :link(lws,http://lammps.sandia.gov) :link(ld,Manual.html) :link(lc,Section_commands.html#comm) :line bond_style class2 command :h3 [Syntax:] bond_style class2 :pre [Examples:] bond_style class2 bond_coeff 1 1.0 100.0 80.0 80.0 :pre [Description:] The {class2} bond style uses the potential :c,image(Eqs/bond_class2.jpg) where r0 is the equilibrium bond distance. +See "(Sun)"_#Sun for a description of the COMPASS class2 force field. + The following coefficients must be defined for each bond type via the "bond_coeff"_bond_coeff.html command as in the example above, or in the data file or restart files read by the "read_data"_read_data.html or "read_restart"_read_restart.html commands: R0 (distance) K2 (energy/distance^2) K3 (energy/distance^2) K4 (energy/distance^2) :ul [Restrictions:] -Bond styles can only be set for atom styles that allow bonds to be -defined. - This bond style is part of the "class2" package. It is only enabled if LAMMPS was built with that package. See the "Making LAMMPS"_Section_start.html#2_2 section for more info. [Related commands:] "bond_coeff"_bond_coeff.html, "delete_bonds"_delete_bonds.html [Default:] none + +:line + +:link(Sun) +[(Sun)] Sun, J Phys Chem B 102, 7338-7364 (1998). diff --git a/doc/bond_style_fene.html b/doc/bond_style_fene.html index 3df41496a..bb7d5ec62 100644 --- a/doc/bond_style_fene.html +++ b/doc/bond_style_fene.html @@ -1,66 +1,59 @@
LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

bond_style fene command

Syntax:

bond_style fene 
 

Examples:

bond_style fene
 bond_coeff 1 30.0 1.5 1.0 1.0 
 

Description:

The fene bond style uses the potential

to define a finite extensible nonlinear elastic (FENE) potential (Kremer), used for bead-spring polymer models. The first term is attractive, the 2nd Lennard-Jones term is repulsive. The first term extends to R0, the maximum extent of the bond. The 2nd term is cutoff at 2^(1/6) sigma, the minimum of the LJ potential.

The following coefficients must be defined for each bond type via the bond_coeff command as in the example above, or in the data file or restart files read by the read_data or read_restart commands:

-

Restrictions: -

-

Bond styles can only be set for atom styles that allow bonds to be -defined. -

-

This bond style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the Making -LAMMPS section for more info. +

Restrictions: none

Related commands:

bond_coeff, delete_bonds

Default: none


(Kremer) Kremer, Grest, J Chem Phys, 92, 5057 (1990).

diff --git a/doc/bond_style_fene.txt b/doc/bond_style_fene.txt index 7c288c84b..0e938d3ff 100644 --- a/doc/bond_style_fene.txt +++ b/doc/bond_style_fene.txt @@ -1,60 +1,53 @@ "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c :link(lws,http://lammps.sandia.gov) :link(ld,Manual.html) :link(lc,Section_commands.html#comm) :line bond_style fene command :h3 [Syntax:] bond_style fene :pre [Examples:] bond_style fene bond_coeff 1 30.0 1.5 1.0 1.0 :pre [Description:] The {fene} bond style uses the potential :c,image(Eqs/bond_fene.jpg) to define a finite extensible nonlinear elastic (FENE) potential "(Kremer)"_#Kremer, used for bead-spring polymer models. The first term is attractive, the 2nd Lennard-Jones term is repulsive. The first term extends to R0, the maximum extent of the bond. The 2nd term is cutoff at 2^(1/6) sigma, the minimum of the LJ potential. The following coefficients must be defined for each bond type via the "bond_coeff"_bond_coeff.html command as in the example above, or in the data file or restart files read by the "read_data"_read_data.html or "read_restart"_read_restart.html commands: K (energy/distance^2) R0 (distance) epsilon (energy) sigma (distance) :ul -[Restrictions:] - -Bond styles can only be set for atom styles that allow bonds to be -defined. - -This bond style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the "Making -LAMMPS"_Section_start.html#2_2 section for more info. +[Restrictions:] none [Related commands:] "bond_coeff"_bond_coeff.html, "delete_bonds"_delete_bonds.html [Default:] none :line :link(Kremer) [(Kremer)] Kremer, Grest, J Chem Phys, 92, 5057 (1990). diff --git a/doc/bond_style_fene_expand.html b/doc/bond_style_fene_expand.html index 3cb6694e3..6df397aa4 100644 --- a/doc/bond_style_fene_expand.html +++ b/doc/bond_style_fene_expand.html @@ -1,71 +1,64 @@
LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

bond_style fene/expand command

Syntax:

bond_style fene/expand 
 

Examples:

bond_style fene/expand
 bond_coeff 1 30.0 1.5 1.0 1.0 0.5 
 

Description:

The fene/expand bond style uses the potential

to define a finite extensible nonlinear elastic (FENE) potential (Kremer), used for bead-spring polymer models. The first term is attractive, the 2nd Lennard-Jones term is repulsive.

The fene/expand bond style is similar to fene except that an extra shift factor of delta (positive or negative) is added to r to effectively change the bead size of the bonded atoms. The first term now extends to R0 + delta and the 2nd term is cutoff at 2^(1/6) sigma + delta.

The following coefficients must be defined for each bond type via the bond_coeff command as in the example above, or in the data file or restart files read by the read_data or read_restart commands:

-

Restrictions: -

-

Bond styles can only be set for atom styles that allow bonds to be -defined. -

-

This bond style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the Making -LAMMPS section for more info. +

Restrictions: none

Related commands:

bond_coeff, delete_bonds

Default: none


(Kremer) Kremer, Grest, J Chem Phys, 92, 5057 (1990).

diff --git a/doc/bond_style_fene_expand.txt b/doc/bond_style_fene_expand.txt index 65983c9ec..aa165a027 100644 --- a/doc/bond_style_fene_expand.txt +++ b/doc/bond_style_fene_expand.txt @@ -1,65 +1,58 @@ "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c :link(lws,http://lammps.sandia.gov) :link(ld,Manual.html) :link(lc,Section_commands.html#comm) :line bond_style fene/expand command :h3 [Syntax:] bond_style fene/expand :pre [Examples:] bond_style fene/expand bond_coeff 1 30.0 1.5 1.0 1.0 0.5 :pre [Description:] The {fene/expand} bond style uses the potential :c,image(Eqs/bond_fene_expand.jpg) to define a finite extensible nonlinear elastic (FENE) potential "(Kremer)"_#Kremer, used for bead-spring polymer models. The first term is attractive, the 2nd Lennard-Jones term is repulsive. The {fene/expand} bond style is similar to {fene} except that an extra shift factor of delta (positive or negative) is added to {r} to effectively change the bead size of the bonded atoms. The first term now extends to R0 + delta and the 2nd term is cutoff at 2^(1/6) sigma + delta. The following coefficients must be defined for each bond type via the "bond_coeff"_bond_coeff.html command as in the example above, or in the data file or restart files read by the "read_data"_read_data.html or "read_restart"_read_restart.html commands: K (energy/distance^2) R0 (distance) epsilon (energy) sigma (distance) delta (distance) :ul -[Restrictions:] - -Bond styles can only be set for atom styles that allow bonds to be -defined. - -This bond style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the "Making -LAMMPS"_Section_start.html#2_2 section for more info. +[Restrictions:] none [Related commands:] "bond_coeff"_bond_coeff.html, "delete_bonds"_delete_bonds.html [Default:] none :line :link(Kremer) [(Kremer)] Kremer, Grest, J Chem Phys, 92, 5057 (1990). diff --git a/doc/bond_style_harmonic.html b/doc/bond_style_harmonic.html index 25f251609..7c11d0d1c 100644 --- a/doc/bond_style_harmonic.html +++ b/doc/bond_style_harmonic.html @@ -1,55 +1,48 @@
LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

bond_style harmonic command

Syntax:

bond_style harmonic 
 

Examples:

bond_style harmonic
 bond_coeff 5 80.0 1.2 
 

Description:

The harmonic bond style uses the potential

where r0 is the equilibrium bond distance. Note that the usual 1/2 factor is included in K.

The following coefficients must be defined for each bond type via the bond_coeff command as in the example above, or in the data file or restart files read by the read_data or read_restart commands:

-

Restrictions: -

-

Bond styles can only be set for atom styles that allow bonds to be -defined. -

-

This bond style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the Making -LAMMPS section for more info. +

Restrictions: none

Related commands:

bond_coeff, delete_bonds

Default: none

diff --git a/doc/bond_style_harmonic.txt b/doc/bond_style_harmonic.txt index b84e9c172..3fea41d64 100644 --- a/doc/bond_style_harmonic.txt +++ b/doc/bond_style_harmonic.txt @@ -1,50 +1,43 @@ "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c :link(lws,http://lammps.sandia.gov) :link(ld,Manual.html) :link(lc,Section_commands.html#comm) :line bond_style harmonic command :h3 [Syntax:] bond_style harmonic :pre [Examples:] bond_style harmonic bond_coeff 5 80.0 1.2 :pre [Description:] The {harmonic} bond style uses the potential :c,image(Eqs/bond_harmonic.jpg) where r0 is the equilibrium bond distance. Note that the usual 1/2 factor is included in K. The following coefficients must be defined for each bond type via the "bond_coeff"_bond_coeff.html command as in the example above, or in the data file or restart files read by the "read_data"_read_data.html or "read_restart"_read_restart.html commands: K (energy/distance^2) r0 (distance) :ul -[Restrictions:] - -Bond styles can only be set for atom styles that allow bonds to be -defined. - -This bond style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the "Making -LAMMPS"_Section_start.html#2_2 section for more info. +[Restrictions:] none [Related commands:] "bond_coeff"_bond_coeff.html, "delete_bonds"_delete_bonds.html [Default:] none diff --git a/doc/bond_style_hybrid.html b/doc/bond_style_hybrid.html index a64b2f983..4600020a4 100644 --- a/doc/bond_style_hybrid.html +++ b/doc/bond_style_hybrid.html @@ -1,59 +1,56 @@
LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

bond_style hybrid command

Syntax:

bond_style hybrid style1 style2 ... 
 

Examples:

bond_style hybrid harmonic fene
 bond_coeff 1 harmonic 80.0 1.2
 bond_coeff 2* fene 30.0 1.5 1.0 1.0 
 

Description:

The hybrid style enables the use of multiple bond styles in one simulation. A bond style is assigned to each bond type. For example, bonds in a polymer flow (of bond type 1) could be computed with a fene potential and bonds in the wall boundary (of bond type 2) could be computed with a harmonic potential. The assignment of bond type to style is made via the bond_coeff command or in the data file.

In the bond_coeff command, the first coefficient sets the bond style and the remaining coefficients are those appropriate to that style. In the example above, the 2 bond_coeff commands would set bonds of bond type 1 to be computed with a harmonic potential with coefficients 80.0, 1.2 for K, r0. All other bond types (2-N) would be computed with a fene potential with coefficients 30.0, 1.5, 1.0, 1.0 for K, R0, epsilon, sigma.

-

Restrictions: +

A bond style of none can be specified as an argument to bond_style +hybrid and the corresponding bond_coeff commands, if you desire to +turn off certain bond types.

-

Bond styles can only be set for atom styles that allow bonds to be -defined. -

-

This bond style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the Making -LAMMPS section for more info. +

Restrictions: none

Related commands:

bond_coeff, delete_bonds

Default: none

diff --git a/doc/bond_style_hybrid.txt b/doc/bond_style_hybrid.txt index 8d53e0e45..37cd829dd 100644 --- a/doc/bond_style_hybrid.txt +++ b/doc/bond_style_hybrid.txt @@ -1,54 +1,51 @@ "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c :link(lws,http://lammps.sandia.gov) :link(ld,Manual.html) :link(lc,Section_commands.html#comm) :line bond_style hybrid command :h3 [Syntax:] bond_style hybrid style1 style2 ... :pre style1,style2 = list of one or more bond styles :ul [Examples:] bond_style hybrid harmonic fene bond_coeff 1 harmonic 80.0 1.2 bond_coeff 2* fene 30.0 1.5 1.0 1.0 :pre [Description:] The {hybrid} style enables the use of multiple bond styles in one simulation. A bond style is assigned to each bond type. For example, bonds in a polymer flow (of bond type 1) could be computed with a {fene} potential and bonds in the wall boundary (of bond type 2) could be computed with a {harmonic} potential. The assignment of bond type to style is made via the "bond_coeff"_bond_coeff.html command or in the data file. In the bond_coeff command, the first coefficient sets the bond style and the remaining coefficients are those appropriate to that style. In the example above, the 2 bond_coeff commands would set bonds of bond type 1 to be computed with a {harmonic} potential with coefficients 80.0, 1.2 for K, r0. All other bond types (2-N) would be computed with a {fene} potential with coefficients 30.0, 1.5, 1.0, 1.0 for K, R0, epsilon, sigma. -[Restrictions:] +A bond style of {none} can be specified as an argument to bond_style +hybrid and the corresponding bond_coeff commands, if you desire to +turn off certain bond types. -Bond styles can only be set for atom styles that allow bonds to be -defined. - -This bond style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the "Making -LAMMPS"_Section_start.html#2_2 section for more info. +[Restrictions:] none [Related commands:] "bond_coeff"_bond_coeff.html, "delete_bonds"_delete_bonds.html [Default:] none diff --git a/doc/bond_style_morse.html b/doc/bond_style_morse.html index 8670a6b10..dd2f30110 100644 --- a/doc/bond_style_morse.html +++ b/doc/bond_style_morse.html @@ -1,56 +1,49 @@
LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

bond_style morse command

Syntax:

bond_style morse 
 

Examples:

bond_style morse
 bond_coeff 5 1.0 2.0 1.2 
 

Description:

The morse bond style uses the potential

where r0 is the equilibrium bond distance, alpha is a stiffness parameter, and D determines the depth of the potential well.

The following coefficients must be defined for each bond type via the bond_coeff command as in the example above, or in the data file or restart files read by the read_data or read_restart commands:

-

Restrictions: -

-

Bond styles can only be set for atom styles that allow bonds to be -defined. -

-

This bond style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the Making -LAMMPS section for more info. +

Restrictions: none

Related commands:

bond_coeff, delete_bonds

Default: none

diff --git a/doc/bond_style_morse.txt b/doc/bond_style_morse.txt index 50428ba2a..17ac84155 100644 --- a/doc/bond_style_morse.txt +++ b/doc/bond_style_morse.txt @@ -1,51 +1,44 @@ "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c :link(lws,http://lammps.sandia.gov) :link(ld,Manual.html) :link(lc,Section_commands.html#comm) :line bond_style morse command :h3 [Syntax:] bond_style morse :pre [Examples:] bond_style morse bond_coeff 5 1.0 2.0 1.2 :pre [Description:] The {morse} bond style uses the potential :c,image(Eqs/bond_morse.jpg) where r0 is the equilibrium bond distance, alpha is a stiffness parameter, and D determines the depth of the potential well. The following coefficients must be defined for each bond type via the "bond_coeff"_bond_coeff.html command as in the example above, or in the data file or restart files read by the "read_data"_read_data.html or "read_restart"_read_restart.html commands: D (energy) alpha (inverse distance) r0 (distance) :ul -[Restrictions:] - -Bond styles can only be set for atom styles that allow bonds to be -defined. - -This bond style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the "Making -LAMMPS"_Section_start.html#2_2 section for more info. +[Restrictions:] none [Related commands:] "bond_coeff"_bond_coeff.html, "delete_bonds"_delete_bonds.html [Default:] none diff --git a/doc/bond_style_none.html b/doc/bond_style_none.html index 29650d977..ed59eca4c 100644 --- a/doc/bond_style_none.html +++ b/doc/bond_style_none.html @@ -1,37 +1,34 @@
LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

bond_style none command

Syntax:

bond_style none 
 

Examples:

bond_style none 
 

Description:

Using a bond style of none means bond forces are not computed, even if pairs of bonded atoms were listed in the data file read by the read_data command.

-

Restrictions: -

-

Bond styles can only be set for atom styles that allow bonds to be -defined. +

Restrictions: none

Related commands: none

Default: none

diff --git a/doc/bond_style_none.txt b/doc/bond_style_none.txt index 939c346e0..943be673b 100644 --- a/doc/bond_style_none.txt +++ b/doc/bond_style_none.txt @@ -1,32 +1,29 @@ "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c :link(lws,http://lammps.sandia.gov) :link(ld,Manual.html) :link(lc,Section_commands.html#comm) :line bond_style none command :h3 [Syntax:] bond_style none :pre [Examples:] bond_style none :pre [Description:] Using a bond style of none means bond forces are not computed, even if pairs of bonded atoms were listed in the data file read by the "read_data"_read_data.html command. -[Restrictions:] - -Bond styles can only be set for atom styles that allow bonds to be -defined. +[Restrictions:] none [Related commands:] none [Default:] none diff --git a/doc/bond_style_nonlinear.html b/doc/bond_style_nonlinear.html index 50dbe00f0..dc68e2413 100644 --- a/doc/bond_style_nonlinear.html +++ b/doc/bond_style_nonlinear.html @@ -1,62 +1,55 @@
LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

bond_style nonlinear command

Syntax:

bond_style nonlinear 
 

Examples:

bond_style nonlinear
 bond_coeff 2 100.0 1.1 1.4 
 

Description:

The nonlinear bond style uses the potential

to define an anharmonic spring (Rector) of equilibrium length r0 and maximum extension lamda.

The following coefficients must be defined for each bond type via the bond_coeff command as in the example above, or in the data file or restart files read by the read_data or read_restart commands:

-

Restrictions: -

-

Bond styles can only be set for atom styles that allow bonds to be -defined. -

-

This bond style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the Making -LAMMPS section for more info. +

Restrictions: none

Related commands:

bond_coeff, delete_bonds

Default: none


(Rector) Rector, Van Swol, Henderson, Molecular Physics, 82, 1009 (1994).

diff --git a/doc/bond_style_nonlinear.txt b/doc/bond_style_nonlinear.txt index 79e51393b..7a3be2214 100644 --- a/doc/bond_style_nonlinear.txt +++ b/doc/bond_style_nonlinear.txt @@ -1,56 +1,49 @@ "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c :link(lws,http://lammps.sandia.gov) :link(ld,Manual.html) :link(lc,Section_commands.html#comm) :line bond_style nonlinear command :h3 [Syntax:] bond_style nonlinear :pre [Examples:] bond_style nonlinear bond_coeff 2 100.0 1.1 1.4 :pre [Description:] The {nonlinear} bond style uses the potential :c,image(Eqs/bond_nonlinear.jpg) to define an anharmonic spring "(Rector)"_#Rector of equilibrium length r0 and maximum extension lamda. The following coefficients must be defined for each bond type via the "bond_coeff"_bond_coeff.html command as in the example above, or in the data file or restart files read by the "read_data"_read_data.html or "read_restart"_read_restart.html commands: epsilon (energy) r0 (distance) lamda (distance) :ul -[Restrictions:] - -Bond styles can only be set for atom styles that allow bonds to be -defined. - -This bond style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the "Making -LAMMPS"_Section_start.html#2_2 section for more info. +[Restrictions:] none [Related commands:] "bond_coeff"_bond_coeff.html, "delete_bonds"_delete_bonds.html [Default:] none :line :link(Rector) [(Rector)] Rector, Van Swol, Henderson, Molecular Physics, 82, 1009 (1994). diff --git a/doc/bond_style_quartic.html b/doc/bond_style_quartic.html index 25ff98526..51ce7e1ac 100644 --- a/doc/bond_style_quartic.html +++ b/doc/bond_style_quartic.html @@ -1,95 +1,88 @@
LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

bond_style quartic command

Syntax:

bond_style quartic 
 

Examples:

bond_style quartic
 bond_coeff 2 1200 -0.55 0.25 1.3 34.6878 
 

Description:

The quartic bond style uses the potential

to define a bond that can be broken as the simulation proceeds (e.g. due to a polymer being stretched). The sigma and epsilon used in the LJ portion of the formula are both set equal to 1.0 by LAMMPS.

The following coefficients must be defined for each bond type via the bond_coeff command as in the example above, or in the data file or restart files read by the read_data or read_restart commands:

This potential was constructed to mimic the FENE bond potential for coarse-grained polymer chains. When monomers with sigma = epsilon = 1.0 are used, the following choice of parameters gives a quartic potential that looks nearly like the FENE potential: K = 1200, B1 = -0.55, B2 = 0.25, Rc = 1.3, and U0 = 34.6878. Different parameters can be specified using the bond_coeff command, but you will need to choose them carefully so they form a suitable bond potential.

Rc is the cutoff length at which the bond potential goes smoothly to a local maximium. If a bond length ever becomes > Rc, LAMMPS "breaks" the bond, which means two things. First, the bond potential is turned off by setting its type to 0, and is no longer computed. Second, a pairwise interaction between the two atoms is turned on, since they are no longer bonded.

LAMMPS does the second task via a computational sleight-of-hand. It subtracts the pairwise interaction as part of the bond computation. When the bond breaks, the subtraction stops. For this to work, the pairwise interaction must always be computed by the pair_style command, whether the bond is broken or not. This means that special_bonds must be set to 1,1,1, as indicated as a restriction below.

Note that when bonds are dumped to a file via dump bond, bonds with type 0 are not included. The delete_bonds command can also be used to query the status of broken bonds or permanently delete them, e.g.:

delete_bonds all stats
 delete_bonds all bond 0 remove 
 

Restrictions:

-

Bond styles can only be set for atom styles that allow bonds to be -defined. -

The quartic style requires that special_bonds parameters be set to 1,1,1. Three- and four-body interactions (angle, dihedral, etc) cannot be used with quartic bonds.

-

This bond style is part of the "molecular" package. It is only enabled -if LAMMPS was built with that package. See the Making -LAMMPS section for more info. -

Related commands:

bond_coeff, delete_bonds

Default: none

diff --git a/doc/bond_style_quartic.txt b/doc/bond_style_quartic.txt index 15ac94b52..20baf5d15 100644 --- a/doc/bond_style_quartic.txt +++ b/doc/bond_style_quartic.txt @@ -1,90 +1,83 @@ "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c :link(lws,http://lammps.sandia.gov) :link(ld,Manual.html) :link(lc,Section_commands.html#comm) :line bond_style quartic command :h3 [Syntax:] bond_style quartic :pre [Examples:] bond_style quartic bond_coeff 2 1200 -0.55 0.25 1.3 34.6878 :pre [Description:] The {quartic} bond style uses the potential :c,image(Eqs/bond_quartic.jpg) to define a bond that can be broken as the simulation proceeds (e.g. due to a polymer being stretched). The sigma and epsilon used in the LJ portion of the formula are both set equal to 1.0 by LAMMPS. The following coefficients must be defined for each bond type via the "bond_coeff"_bond_coeff.html command as in the example above, or in the data file or restart files read by the "read_data"_read_data.html or "read_restart"_read_restart.html commands: K (energy/distance^2) B1 (distance) B2 (distance) Rc (distance) U0 (energy) :ul This potential was constructed to mimic the FENE bond potential for coarse-grained polymer chains. When monomers with sigma = epsilon = 1.0 are used, the following choice of parameters gives a quartic potential that looks nearly like the FENE potential: K = 1200, B1 = -0.55, B2 = 0.25, Rc = 1.3, and U0 = 34.6878. Different parameters can be specified using the "bond_coeff"_bond_coeff.html command, but you will need to choose them carefully so they form a suitable bond potential. Rc is the cutoff length at which the bond potential goes smoothly to a local maximium. If a bond length ever becomes > Rc, LAMMPS "breaks" the bond, which means two things. First, the bond potential is turned off by setting its type to 0, and is no longer computed. Second, a pairwise interaction between the two atoms is turned on, since they are no longer bonded. LAMMPS does the second task via a computational sleight-of-hand. It subtracts the pairwise interaction as part of the bond computation. When the bond breaks, the subtraction stops. For this to work, the pairwise interaction must always be computed by the "pair_style"_pair_style.html command, whether the bond is broken or not. This means that "special_bonds"_special_bonds.html must be set to 1,1,1, as indicated as a restriction below. Note that when bonds are dumped to a file via "dump bond"_dump.html, bonds with type 0 are not included. The "delete_bonds"_delete_bonds.html command can also be used to query the status of broken bonds or permanently delete them, e.g.: delete_bonds all stats delete_bonds all bond 0 remove :pre [Restrictions:] -Bond styles can only be set for atom styles that allow bonds to be -defined. - The {quartic} style requires that "special_bonds"_special_bonds.html parameters be set to 1,1,1. Three- and four-body interactions (angle, dihedral, etc) cannot be used with {quartic} bonds. -This bond style is part of the "molecular" package. It is only enabled -if LAMMPS was built with that package. See the "Making -LAMMPS"_Section_start.html#2_2 section for more info. - [Related commands:] "bond_coeff"_bond_coeff.html, "delete_bonds"_delete_bonds.html [Default:] none diff --git a/doc/dihedral_style.html b/doc/dihedral_style.html index 0cf7b1d3d..139abc23c 100644 --- a/doc/dihedral_style.html +++ b/doc/dihedral_style.html @@ -1,98 +1,99 @@
LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

dihedral_style command

Syntax:

dihedral_style style 
 

Examples:

dihedral_style harmonic
 dihedral_style multi/harmonic
 dihedral_style hybrid harmonic charmm 
 

Description:

Set the formula(s) LAMMPS uses to compute dihedral interactions between quadruplets of atoms, which remain in force for the duration of the simulation. The list of dihedral quadruplets is read in by a read_data or read_restart command from a data or restart file.

Hybrid models where dihedrals are computed using different dihedral potentials can be setup using the hybrid dihedral style.

The coefficients associated with a dihedral style can be specified in a data or restart file or via the dihedral_coeff command.

In the formulas listed for each dihedral style, phi is the torsional angle defined by the quadruplet of atoms.

Note that when both an dihedral and pair style is defined, the special_bond command often needs to be used to turn off (or weight) the pairwise interactions that would otherwise exist between the 4 bonded atoms.

Here are some important points to take note of when defining the LAMMPS dihedral coefficients in the formulas that follow so that they are compatible with other force fields:


Here is an alphabetic list of dihedral styles defined in LAMMPS. Click on the style to display the formula it computes and coefficients specified by the associated dihedral_coeff command:


Restrictions:

Dihedral styles can only be set for atom styles that allow dihedrals to be defined.

-

Dihedral styles are part of the "molecular" package. They are only -enabled if LAMMPS was built with that package. See the Making +

Dihedral styles are part of the "molecular" package or other packages +as noted in their documentation. They are only enabled if LAMMPS was +built with that package. See the Making LAMMPS section for more info.

Related commands:

dihedral_coeff

Default:

dihedral_style none

diff --git a/doc/dihedral_style.txt b/doc/dihedral_style.txt index 01d744b8f..97b5c905b 100644 --- a/doc/dihedral_style.txt +++ b/doc/dihedral_style.txt @@ -1,94 +1,95 @@ "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c :link(lws,http://lammps.sandia.gov) :link(ld,Manual.html) :link(lc,Section_commands.html#comm) :line dihedral_style command :h3 [Syntax:] dihedral_style style :pre style = {none} or {hybrid} or {charmm} or {class2} or {harmonic} or {helix} or \ {multi/harmonic} or {opls} :ul [Examples:] dihedral_style harmonic dihedral_style multi/harmonic dihedral_style hybrid harmonic charmm :pre [Description:] Set the formula(s) LAMMPS uses to compute dihedral interactions between quadruplets of atoms, which remain in force for the duration of the simulation. The list of dihedral quadruplets is read in by a "read_data"_read_data.html or "read_restart"_read_restart.html command from a data or restart file. Hybrid models where dihedrals are computed using different dihedral potentials can be setup using the {hybrid} dihedral style. The coefficients associated with a dihedral style can be specified in a data or restart file or via the "dihedral_coeff"_dihedral_coeff.html command. In the formulas listed for each dihedral style, {phi} is the torsional angle defined by the quadruplet of atoms. Note that when both an dihedral and pair style is defined, the "special_bond"_special_bond.html command often needs to be used to turn off (or weight) the pairwise interactions that would otherwise exist between the 4 bonded atoms. Here are some important points to take note of when defining the LAMMPS dihedral coefficients in the formulas that follow so that they are compatible with other force fields: The LAMMPS convention is that the trans position = 180 degrees, while in some force fields trans = 0 degrees. :ulb,l Some force fields reverse the sign convention on {d}. :l Some force fields divide/multiply {K} by the number of multiple torsions that contain the j-k bond in an i-j-k-l torsion. :l Some force fields let {n} be positive or negative which corresponds to {d} = 1 or -1 for the harmonic style. :ule,l :line Here is an alphabetic list of dihedral styles defined in LAMMPS. Click on the style to display the formula it computes and coefficients specified by the associated "dihedral_coeff"_dihedral_coeff.html command: "dihedral_style none"_dihedral_style_none.html - turn off dihedral interactions "dihedral_style hybrid"_dihedral_style_hybrid.html - define multiple styles of dihedral interactions :ul "dihedral_style charmm"_dihedral_style_charmm.html - CHARMM dihedral "dihedral_style class2"_dihedral_style_class2.html - COMPASS (class 2) dihedral "dihedral_style harmonic"_dihedral_style_harmonic.html - harmonic dihedral "dihedral_style helix"_dihedral_style_helix.html - helix dihedral "dihedral_style multi/harmonic"_dihedral_style_multi_harmonic.html - multi-harmonic dihedral "dihedral_style opls"_dihedral_style_opls.html - OPLS dihedral :ul :line [Restrictions:] Dihedral styles can only be set for atom styles that allow dihedrals to be defined. -Dihedral styles are part of the "molecular" package. They are only -enabled if LAMMPS was built with that package. See the "Making +Dihedral styles are part of the "molecular" package or other packages +as noted in their documentation. They are only enabled if LAMMPS was +built with that package. See the "Making LAMMPS"_Section_start.html#2_2 section for more info. [Related commands:] "dihedral_coeff"_dihedral_coeff.html [Default:] dihedral_style none diff --git a/doc/dihedral_style_charmm.html b/doc/dihedral_style_charmm.html index 9e60fbc64..2dc5e0c25 100644 --- a/doc/dihedral_style_charmm.html +++ b/doc/dihedral_style_charmm.html @@ -1,63 +1,66 @@
LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

dihedral_style charmm command

Syntax:

dihedral_style charmm 
 

Examples:

dihedral_style charmm
 dihedral_coeff 1 120.0 1 60 0.5 
 

Description:

The charmm dihedral style uses the potential

+

See (MacKerell) for a description of the CHARMM force +field. +

The following coefficients must be defined for each dihedral type via the dihedral_coeff command as in the example above, or in the data file or restart files read by the read_data or read_restart commands:

The weighting factor is applied to pairwise interaction between the 1st and 4th atoms in the dihedral. Note that this weighting factor is unrelated to the weighting factor specified by the special bonds command which applies to all 1-4 interactions in the system. For CHARMM force fields, the latter should typically be set to 0.0, else the 1-4 interactions in a dihedral will be computed twice (once by the pair potential, and once by the dihedral/charmm potential).

-

Restrictions: -

-

Dihedral styles can only be set for atom styles that allow dihedrals to be -defined. -

-

This dihedral style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the Making -LAMMPS section for more info. +

Restrictions: none

Related commands:

dihedral_coeff

Default: none

+
+ + + +

(MacKerell) MacKerell, Bashford, Bellott, Dunbrack, Evanseck, Field, +Fischer, Gao, Guo, Ha, et al, J Phys Chem, 102, 3586 (1998). +

diff --git a/doc/dihedral_style_charmm.txt b/doc/dihedral_style_charmm.txt index 90a5e8bf7..788bd79ce 100644 --- a/doc/dihedral_style_charmm.txt +++ b/doc/dihedral_style_charmm.txt @@ -1,58 +1,60 @@ "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c :link(lws,http://lammps.sandia.gov) :link(ld,Manual.html) :link(lc,Section_commands.html#comm) :line dihedral_style charmm command :h3 [Syntax:] dihedral_style charmm :pre [Examples:] dihedral_style charmm dihedral_coeff 1 120.0 1 60 0.5 :pre [Description:] The {charmm} dihedral style uses the potential :c,image(Eqs/dihedral_charmm.jpg) +See "(MacKerell)"_#MacKerell for a description of the CHARMM force +field. + The following coefficients must be defined for each dihedral type via the "dihedral_coeff"_dihedral_coeff.html command as in the example above, or in the data file or restart files read by the "read_data"_read_data.html or "read_restart"_read_restart.html commands: K (energy) n (integer >= 0) d (integer value of degrees) weighting factor (0.0 to 1.0) :ul The weighting factor is applied to pairwise interaction between the 1st and 4th atoms in the dihedral. Note that this weighting factor is unrelated to the weighting factor specified by the "special bonds"_doc/special_bonds.html command which applies to all 1-4 interactions in the system. For CHARMM force fields, the latter should typically be set to 0.0, else the 1-4 interactions in a dihedral will be computed twice (once by the pair potential, and once by the dihedral/charmm potential). -[Restrictions:] - -Dihedral styles can only be set for atom styles that allow dihedrals to be -defined. - -This dihedral style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the "Making -LAMMPS"_Section_start.html#2_2 section for more info. +[Restrictions:] none [Related commands:] "dihedral_coeff"_dihedral_coeff.html [Default:] none + +:line + +:link(MacKerell) +[(MacKerell)] MacKerell, Bashford, Bellott, Dunbrack, Evanseck, Field, +Fischer, Gao, Guo, Ha, et al, J Phys Chem, 102, 3586 (1998). diff --git a/doc/dihedral_style_class2.html b/doc/dihedral_style_class2.html index b6e90971c..64825020c 100644 --- a/doc/dihedral_style_class2.html +++ b/doc/dihedral_style_class2.html @@ -1,117 +1,122 @@
LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

dihedral_style class2 command

Syntax:

dihedral_style class2 
 

Examples:

dihedral_style class2
 dihedral_coeff 1 100 75 100 70 80 60 
 

Description:

The class2 dihedral style uses the potential

where Ed is the dihedral term, Embt is a middle-bond-torsion term, Eebt is an end-bond-torsion term, Eat is an angle-torsion term, Eaat is an angle-angle-torsion term, and Ebb13 is a bond-bond-13 term.

Theta1 and theta2 are equilibrium angles and r1 r2 r3 are equilibrium bond lengths.

+

See (Sun) for a description of the COMPASS class2 force field. +

For this style, only coefficients for the Ed formula can be specified in the input script. These are the 6 coefficients:

Coefficients for all the other formulas must be specified in the data file.

For the Embt formula, the coefficients are listed under a "MiddleBondTorsion Coeffs" heading and each line lists 4 coefficients:

For the Eebt formula, the coefficients are listed under a "EndBondTorsion Coeffs" heading and each line lists 8 coefficients:

For the Eat formula, the coefficients are listed under a "AngleTorsion Coeffs" heading and each line lists 8 coefficients:

Theta1 and theta2 are specified in degrees, but LAMMPS converts them to radians internally; hence the units of D and E are in energy/radian.

For the Eaat formula, the coefficients are listed under a "AngleAngleTorsion Coeffs" heading and each line lists 3 coefficients:

Theta1 and theta2 are specified in degrees, but LAMMPS converts them to radians internally; hence the units of M are in energy/radian^2.

For the Ebb13 formula, the coefficients are listed under a "BondBond13 Coeffs" heading and each line lists 3 coefficients:

Restrictions:

-

Dihedral styles can only be set for atom styles that allow dihedrals to be -defined. -

This dihedral style is part of the "class2" package. It is only enabled if LAMMPS was built with that package. See the Making LAMMPS section for more info.

Related commands:

dihedral_coeff

Default: none

+
+ + + +

(Sun) Sun, J Phys Chem B 102, 7338-7364 (1998). +

diff --git a/doc/dihedral_style_class2.txt b/doc/dihedral_style_class2.txt index e22071934..a638f976e 100644 --- a/doc/dihedral_style_class2.txt +++ b/doc/dihedral_style_class2.txt @@ -1,112 +1,116 @@ "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c :link(lws,http://lammps.sandia.gov) :link(ld,Manual.html) :link(lc,Section_commands.html#comm) :line dihedral_style class2 command :h3 [Syntax:] dihedral_style class2 :pre [Examples:] dihedral_style class2 dihedral_coeff 1 100 75 100 70 80 60 :pre [Description:] The {class2} dihedral style uses the potential :c,image(Eqs/dihedral_class2.jpg) where Ed is the dihedral term, Embt is a middle-bond-torsion term, Eebt is an end-bond-torsion term, Eat is an angle-torsion term, Eaat is an angle-angle-torsion term, and Ebb13 is a bond-bond-13 term. Theta1 and theta2 are equilibrium angles and r1 r2 r3 are equilibrium bond lengths. +See "(Sun)"_#Sun for a description of the COMPASS class2 force field. + For this style, only coefficients for the Ed formula can be specified in the input script. These are the 6 coefficients: K1 (energy) phi1 (degrees) K2 (energy) phi2 (degrees) K3 (energy) phi3 (degrees) :ul Coefficients for all the other formulas must be specified in the data file. For the Embt formula, the coefficients are listed under a "MiddleBondTorsion Coeffs" heading and each line lists 4 coefficients: A1 (energy/distance) A2 (energy/distance) A3 (energy/distance) r2 (distance) :ul For the Eebt formula, the coefficients are listed under a "EndBondTorsion Coeffs" heading and each line lists 8 coefficients: B1 (energy/distance) B2 (energy/distance) B3 (energy/distance) C1 (energy/distance) C2 (energy/distance) C3 (energy/distance) r1 (distance) r3 (distance) :ul For the Eat formula, the coefficients are listed under a "AngleTorsion Coeffs" heading and each line lists 8 coefficients: D1 (energy/radian) D2 (energy/radian) D3 (energy/radian) E1 (energy/radian) E2 (energy/radian) E3 (energy/radian) theta1 (degrees) theta2 (degrees) :ul Theta1 and theta2 are specified in degrees, but LAMMPS converts them to radians internally; hence the units of D and E are in energy/radian. For the Eaat formula, the coefficients are listed under a "AngleAngleTorsion Coeffs" heading and each line lists 3 coefficients: M (energy/radian^2) theta1 (degrees) theta2 (degrees) :ul Theta1 and theta2 are specified in degrees, but LAMMPS converts them to radians internally; hence the units of M are in energy/radian^2. For the Ebb13 formula, the coefficients are listed under a "BondBond13 Coeffs" heading and each line lists 3 coefficients: N (energy/distance^2) r1 (distance) r3 (distance) :ul [Restrictions:] -Dihedral styles can only be set for atom styles that allow dihedrals to be -defined. - This dihedral style is part of the "class2" package. It is only enabled if LAMMPS was built with that package. See the "Making LAMMPS"_Section_start.html#2_2 section for more info. [Related commands:] "dihedral_coeff"_dihedral_coeff.html [Default:] none + +:line + +:link(Sun) +[(Sun)] Sun, J Phys Chem B 102, 7338-7364 (1998). diff --git a/doc/dihedral_style_harmonic.html b/doc/dihedral_style_harmonic.html index c0be74e65..a1e80cdcb 100644 --- a/doc/dihedral_style_harmonic.html +++ b/doc/dihedral_style_harmonic.html @@ -1,53 +1,46 @@
LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

dihedral_style harmonic command

Syntax:

dihedral_style harmonic 
 

Examples:

dihedral_style harmonic
 dihedral_coeff 1 80.0 1 2 
 

Description:

The harmonic dihedral style uses the potential

The following coefficients must be defined for each dihedral type via the dihedral_coeff command as in the example above, or in the data file or restart files read by the read_data or read_restart commands:

-

Restrictions: -

-

Dihedral styles can only be set for atom styles that allow dihedrals to be -defined. -

-

This dihedral style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the Making -LAMMPS section for more info. +

Restrictions: none

Related commands:

dihedral_coeff

Default: none

diff --git a/doc/dihedral_style_harmonic.txt b/doc/dihedral_style_harmonic.txt index d576e0e93..ecae8a111 100644 --- a/doc/dihedral_style_harmonic.txt +++ b/doc/dihedral_style_harmonic.txt @@ -1,48 +1,41 @@ "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c :link(lws,http://lammps.sandia.gov) :link(ld,Manual.html) :link(lc,Section_commands.html#comm) :line dihedral_style harmonic command :h3 [Syntax:] dihedral_style harmonic :pre [Examples:] dihedral_style harmonic dihedral_coeff 1 80.0 1 2 :pre [Description:] The {harmonic} dihedral style uses the potential :c,image(Eqs/dihedral_harmonic.jpg) The following coefficients must be defined for each dihedral type via the "dihedral_coeff"_dihedral_coeff.html command as in the example above, or in the data file or restart files read by the "read_data"_read_data.html or "read_restart"_read_restart.html commands: K (energy) d (+1 or -1) n (integer >= 0) :ul -[Restrictions:] - -Dihedral styles can only be set for atom styles that allow dihedrals to be -defined. - -This dihedral style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the "Making -LAMMPS"_Section_start.html#2_2 section for more info. +[Restrictions:] none [Related commands:] "dihedral_coeff"_dihedral_coeff.html [Default:] none diff --git a/doc/dihedral_style_helix.html b/doc/dihedral_style_helix.html index 9005246b5..ace3fd3c2 100644 --- a/doc/dihedral_style_helix.html +++ b/doc/dihedral_style_helix.html @@ -1,67 +1,60 @@
LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

dihedral_style helix command

Syntax:

dihedral_style helix 
 

Examples:

dihedral_style helix
 dihedral_coeff 1 80.0 100.0 40.0 
 

Description:

The helix dihedral style uses the potential

This coarse-grain dihedral potential is described in (Guo). For dihedral angles in the helical region, the energy function is represented by a standard potential consisting of three minima, one corresponding to the trans (t) state and the other to gauche states (g+ and g-). The paper describes how the A,B,C parameters are chosen so as to balance secondary (largely driven by local interactions) and tertiary structure (driven by long-range interactions).

The following coefficients must be defined for each dihedral type via the dihedral_coeff command as in the example above, or in the data file or restart files read by the read_data or read_restart commands:

-

Restrictions: -

-

Dihedral styles can only be set for atom styles that allow dihedrals to be -defined. -

-

This dihedral style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the Making -LAMMPS section for more info. +

Restrictions: none

Related commands:

dihedral_coeff

Default: none


(Guo) Guo and Thirumalai, Journal of Molecular Biology, 263, 323-43 (1996).

diff --git a/doc/dihedral_style_helix.txt b/doc/dihedral_style_helix.txt index 91271cfcb..7827c65c0 100644 --- a/doc/dihedral_style_helix.txt +++ b/doc/dihedral_style_helix.txt @@ -1,61 +1,54 @@ "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c :link(lws,http://lammps.sandia.gov) :link(ld,Manual.html) :link(lc,Section_commands.html#comm) :line dihedral_style helix command :h3 [Syntax:] dihedral_style helix :pre [Examples:] dihedral_style helix dihedral_coeff 1 80.0 100.0 40.0 :pre [Description:] The {helix} dihedral style uses the potential :c,image(Eqs/dihedral_helix.jpg) This coarse-grain dihedral potential is described in "(Guo)"_#Guo. For dihedral angles in the helical region, the energy function is represented by a standard potential consisting of three minima, one corresponding to the trans (t) state and the other to gauche states (g+ and g-). The paper describes how the A,B,C parameters are chosen so as to balance secondary (largely driven by local interactions) and tertiary structure (driven by long-range interactions). The following coefficients must be defined for each dihedral type via the "dihedral_coeff"_dihedral_coeff.html command as in the example above, or in the data file or restart files read by the "read_data"_read_data.html or "read_restart"_read_restart.html commands: A (energy) B (energy) C (energy) :ul -[Restrictions:] - -Dihedral styles can only be set for atom styles that allow dihedrals to be -defined. - -This dihedral style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the "Making -LAMMPS"_Section_start.html#2_2 section for more info. +[Restrictions:] none [Related commands:] "dihedral_coeff"_dihedral_coeff.html [Default:] none :line :link(Guo) [(Guo)] Guo and Thirumalai, Journal of Molecular Biology, 263, 323-43 (1996). diff --git a/doc/dihedral_style_hybrid.html b/doc/dihedral_style_hybrid.html index d3fab5b61..09fff4cc0 100644 --- a/doc/dihedral_style_hybrid.html +++ b/doc/dihedral_style_hybrid.html @@ -1,59 +1,56 @@
LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

dihedral_style hybrid command

Syntax:

dihedral_style hybrid style1 style2 ... 
 

Examples:

dihedral_style hybrid harmonic helix
 dihedral_coeff 1 harmonic 6.0 1 3
 dihedral_coeff 2 helix 10 10 10 
 

Description:

The hybrid style enables the use of multiple dihedral styles in one simulation. An dihedral style is assigned to each dihedral type. For example, dihedrals in a polymer flow (of dihedral type 1) could be computed with a harmonic potential and dihedrals in the wall boundary (of dihedral type 2) could be computed with a helix potential. The assignment of dihedral type to style is made via the dihedral_coeff command or in the data file.

In the dihedral_coeff command, the first coefficient sets the dihedral style and the remaining coefficients are those appropriate to that style. In the example above, the 2 dihedral_coeff commands would set dihedrals of dihedral type 1 to be computed with a harmonic potential with coefficients 80.0, 1.2 for K, d, n. Dihedral type 2 would be computed with a helix potential with coefficients 10.0, 10.0, 10.0 for A, B, C.

-

Restrictions: +

A dihedral style of none can be specified as an argument to +dihedral_style hybrid and the corresponding dihedral_coeff commands, +if you desire to turn off certain dihedral types.

-

Dihedral styles can only be set for atom styles that allow dihedrals to be -defined. -

-

This dihedral style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the Making -LAMMPS section for more info. +

Restrictions: none

Related commands:

dihedral_coeff

Default: none

diff --git a/doc/dihedral_style_hybrid.txt b/doc/dihedral_style_hybrid.txt index 4260b749f..c5969e11f 100644 --- a/doc/dihedral_style_hybrid.txt +++ b/doc/dihedral_style_hybrid.txt @@ -1,54 +1,51 @@ "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c :link(lws,http://lammps.sandia.gov) :link(ld,Manual.html) :link(lc,Section_commands.html#comm) :line dihedral_style hybrid command :h3 [Syntax:] dihedral_style hybrid style1 style2 ... :pre style1,style2 = list of one or more dihedral styles :ul [Examples:] dihedral_style hybrid harmonic helix dihedral_coeff 1 harmonic 6.0 1 3 dihedral_coeff 2 helix 10 10 10 :pre [Description:] The {hybrid} style enables the use of multiple dihedral styles in one simulation. An dihedral style is assigned to each dihedral type. For example, dihedrals in a polymer flow (of dihedral type 1) could be computed with a {harmonic} potential and dihedrals in the wall boundary (of dihedral type 2) could be computed with a {helix} potential. The assignment of dihedral type to style is made via the "dihedral_coeff"_dihedral_coeff.html command or in the data file. In the dihedral_coeff command, the first coefficient sets the dihedral style and the remaining coefficients are those appropriate to that style. In the example above, the 2 dihedral_coeff commands would set dihedrals of dihedral type 1 to be computed with a {harmonic} potential with coefficients 80.0, 1.2 for K, d, n. Dihedral type 2 would be computed with a {helix} potential with coefficients 10.0, 10.0, 10.0 for A, B, C. -[Restrictions:] +A dihedral style of {none} can be specified as an argument to +dihedral_style hybrid and the corresponding dihedral_coeff commands, +if you desire to turn off certain dihedral types. -Dihedral styles can only be set for atom styles that allow dihedrals to be -defined. - -This dihedral style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the "Making -LAMMPS"_Section_start.html#2_2 section for more info. +[Restrictions:] none [Related commands:] "dihedral_coeff"_dihedral_coeff.html [Default:] none diff --git a/doc/dihedral_style_multi_harmonic.html b/doc/dihedral_style_multi_harmonic.html index 5cdd2b600..bbeb4c7ff 100644 --- a/doc/dihedral_style_multi_harmonic.html +++ b/doc/dihedral_style_multi_harmonic.html @@ -1,55 +1,48 @@
LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

dihedral_style multi/harmonic command

Syntax:

dihedral_style multi/harmonic 
 

Examples:

dihedral_style multi/harmonic
 dihedral_coeff 1 20 20 20 20 20 
 

Description:

The multi/harmonic dihedral style uses the potential

The following coefficients must be defined for each dihedral type via the dihedral_coeff command as in the example above, or in the data file or restart files read by the read_data or read_restart commands:

-

Restrictions: -

-

Dihedral styles can only be set for atom styles that allow dihedrals to be -defined. -

-

This dihedral style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the Making -LAMMPS section for more info. +

Restrictions: none

Related commands:

dihedral_coeff

Default: none

diff --git a/doc/dihedral_style_multi_harmonic.txt b/doc/dihedral_style_multi_harmonic.txt index 7cb4819ed..53fffc0bf 100644 --- a/doc/dihedral_style_multi_harmonic.txt +++ b/doc/dihedral_style_multi_harmonic.txt @@ -1,50 +1,43 @@ "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c :link(lws,http://lammps.sandia.gov) :link(ld,Manual.html) :link(lc,Section_commands.html#comm) :line dihedral_style multi/harmonic command :h3 [Syntax:] dihedral_style multi/harmonic :pre [Examples:] dihedral_style multi/harmonic dihedral_coeff 1 20 20 20 20 20 :pre [Description:] The {multi/harmonic} dihedral style uses the potential :c,image(Eqs/dihedral_multi_harmonic.jpg) The following coefficients must be defined for each dihedral type via the "dihedral_coeff"_dihedral_coeff.html command as in the example above, or in the data file or restart files read by the "read_data"_read_data.html or "read_restart"_read_restart.html commands: A1 (energy) A2 (energy) A3 (energy) A4 (energy) A5 (energy) :ul -[Restrictions:] - -Dihedral styles can only be set for atom styles that allow dihedrals to be -defined. - -This dihedral style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the "Making -LAMMPS"_Section_start.html#2_2 section for more info. +[Restrictions:] none [Related commands:] "dihedral_coeff"_dihedral_coeff.html [Default:] none diff --git a/doc/dihedral_style_none.html b/doc/dihedral_style_none.html index fc0a01419..439ab7703 100644 --- a/doc/dihedral_style_none.html +++ b/doc/dihedral_style_none.html @@ -1,37 +1,34 @@
LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

dihedral_style none command

Syntax:

dihedral_style none 
 

Examples:

dihedral_style none 
 

Description:

Using an dihedral style of none means dihedral forces are not computed, even if quadruplets of dihedral atoms were listed in the data file read by the read_data command.

-

Restrictions: -

-

Dihedral styles can only be set for atom styles that allow dihedrals -to be defined. +

Restrictions: none

Related commands: none

Default: none

diff --git a/doc/dihedral_style_none.txt b/doc/dihedral_style_none.txt index bf002923e..1f6650928 100644 --- a/doc/dihedral_style_none.txt +++ b/doc/dihedral_style_none.txt @@ -1,32 +1,29 @@ "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c :link(lws,http://lammps.sandia.gov) :link(ld,Manual.html) :link(lc,Section_commands.html#comm) :line dihedral_style none command :h3 [Syntax:] dihedral_style none :pre [Examples:] dihedral_style none :pre [Description:] Using an dihedral style of none means dihedral forces are not computed, even if quadruplets of dihedral atoms were listed in the data file read by the "read_data"_read_data.html command. -[Restrictions:] - -Dihedral styles can only be set for atom styles that allow dihedrals -to be defined. +[Restrictions:] none [Related commands:] none [Default:] none diff --git a/doc/dihedral_style_opls.html b/doc/dihedral_style_opls.html index 6bfb3fed7..bf7ec1fbc 100644 --- a/doc/dihedral_style_opls.html +++ b/doc/dihedral_style_opls.html @@ -1,65 +1,58 @@
LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

dihedral_style opls command

Syntax:

dihedral_style opls 
 

Examples:

dihedral_style opls
 dihedral_coeff 1 90.0 90.0 90.0 70.0 
 

Description:

The opls dihedral style uses the potential

Note that the usual 1/2 factor is not included in the K values.

This dihedral potential is used in the OPLS force field and is described in (Watkins).

The following coefficients must be defined for each dihedral type via the dihedral_coeff command as in the example above, or in the data file or restart files read by the read_data or read_restart commands:

-

Restrictions: -

-

Dihedral styles can only be set for atom styles that allow dihedrals to be -defined. -

-

This dihedral style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the Making -LAMMPS section for more info. +

Restrictions: none

Related commands:

dihedral_coeff

Default: none


(Watkins) Watkins and Jorgensen, J Phys Chem A, 105, 4118-4125 (2001).

diff --git a/doc/dihedral_style_opls.txt b/doc/dihedral_style_opls.txt index b0b5b9dea..639e3a3f3 100644 --- a/doc/dihedral_style_opls.txt +++ b/doc/dihedral_style_opls.txt @@ -1,59 +1,52 @@ "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c :link(lws,http://lammps.sandia.gov) :link(ld,Manual.html) :link(lc,Section_commands.html#comm) :line dihedral_style opls command :h3 [Syntax:] dihedral_style opls :pre [Examples:] dihedral_style opls dihedral_coeff 1 90.0 90.0 90.0 70.0 :pre [Description:] The {opls} dihedral style uses the potential :c,image(Eqs/dihedral_opls.jpg) Note that the usual 1/2 factor is not included in the K values. This dihedral potential is used in the OPLS force field and is described in "(Watkins)"_#Watkins. The following coefficients must be defined for each dihedral type via the "dihedral_coeff"_dihedral_coeff.html command as in the example above, or in the data file or restart files read by the "read_data"_read_data.html or "read_restart"_read_restart.html commands: K1 (energy) K2 (energy) K3 (energy) K4 (energy) :ul -[Restrictions:] - -Dihedral styles can only be set for atom styles that allow dihedrals to be -defined. - -This dihedral style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the "Making -LAMMPS"_Section_start.html#2_2 section for more info. +[Restrictions:] none [Related commands:] "dihedral_coeff"_dihedral_coeff.html [Default:] none :line :link(Watkins) [(Watkins)] Watkins and Jorgensen, J Phys Chem A, 105, 4118-4125 (2001). diff --git a/doc/improper_style.html b/doc/improper_style.html index 892a90245..f5ef04378 100644 --- a/doc/improper_style.html +++ b/doc/improper_style.html @@ -1,77 +1,78 @@
LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

improper_style command

Syntax:

improper_style style 
 

Examples:

improper_style harmonic
 improper_style cvff
 improper_style hybrid cvff harmonic 
 

Description:

Set the formula(s) LAMMPS uses to compute improper interactions between quadruplets of atoms, which remain in force for the duration of the simulation. The list of improper quadruplets is read in by a read_data or read_restart command from a data or restart file.

Hybrid models where impropers are computed using different improper potentials can be setup using the hybrid improper style.

The coefficients associated with a improper style can be specified in a data or restart file or via the improper_coeff command.

Note that when both an improper and pair style is defined, the special_bond command often needs to be used to turn off (or weight) the pairwise interactions that would otherwise exist between the 4 bonded atoms.


Here is an alphabetic list of improper styles defined in LAMMPS. Click on the style to display the formula it computes and coefficients specified by the associated improper_coeff command:


Restrictions:

Improper styles can only be set for atom_style choices that allow impropers to be defined.

-

Improper styles are part of the "molecular" package. They are only -enabled if LAMMPS was built with that package. See the Making +

Improper styles are part of the "molecular" package or other packages +as noted in their documentation. They are only enabled if LAMMPS was +built with that package. See the Making LAMMPS section for more info.

Related commands:

improper_coeff

Default:

improper_style none 
 
diff --git a/doc/improper_style.txt b/doc/improper_style.txt index 746cf40c8..bbeb13611 100644 --- a/doc/improper_style.txt +++ b/doc/improper_style.txt @@ -1,72 +1,73 @@ "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c :link(lws,http://lammps.sandia.gov) :link(ld,Manual.html) :link(lc,Section_commands.html#comm) :line improper_style command :h3 [Syntax:] improper_style style :pre style = {none} or {hybrid} or {class2} or {cvff} or {harmonic} :ul [Examples:] improper_style harmonic improper_style cvff improper_style hybrid cvff harmonic :pre [Description:] Set the formula(s) LAMMPS uses to compute improper interactions between quadruplets of atoms, which remain in force for the duration of the simulation. The list of improper quadruplets is read in by a "read_data"_read_data.html or "read_restart"_read_restart.html command from a data or restart file. Hybrid models where impropers are computed using different improper potentials can be setup using the {hybrid} improper style. The coefficients associated with a improper style can be specified in a data or restart file or via the "improper_coeff"_improper_coeff.html command. Note that when both an improper and pair style is defined, the "special_bond"_special_bond.html command often needs to be used to turn off (or weight) the pairwise interactions that would otherwise exist between the 4 bonded atoms. :line Here is an alphabetic list of improper styles defined in LAMMPS. Click on the style to display the formula it computes and coefficients specified by the associated "improper_coeff"_improper_coeff.html command: "improper_style none"_improper_style_none.html - turn off improper interactions "improper_style hybrid"_improper_style_hybrid.html - define multiple styles of improper interactions :ul "improper_style class2"_improper_style_class2.html - COMPASS (class 2) improper "improper_style cvff"_improper_style_cvff.html - CVFF improper "improper_style harmonic"_improper_style_harmonic.html - harmonic improper :ul :line [Restrictions:] Improper styles can only be set for atom_style choices that allow impropers to be defined. -Improper styles are part of the "molecular" package. They are only -enabled if LAMMPS was built with that package. See the "Making +Improper styles are part of the "molecular" package or other packages +as noted in their documentation. They are only enabled if LAMMPS was +built with that package. See the "Making LAMMPS"_Section_start.html#2_2 section for more info. [Related commands:] "improper_coeff"_improper_coeff.html [Default:] improper_style none :pre diff --git a/doc/improper_style_class2.html b/doc/improper_style_class2.html index 3d4afed28..c8b54dd8b 100644 --- a/doc/improper_style_class2.html +++ b/doc/improper_style_class2.html @@ -1,78 +1,83 @@
LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

improper_style class2 command

Syntax:

improper_style class2 
 

Examples:

improper_style class2
 improper_coeff 1 100.0 0 
 

Description:

The class2 improper style uses the potential

where Ei is the improper term and Eaa is an angle-angle term. The chi used in Ei is an average over 3 possible chi orientations. The subscripts on the various theta's refer to different combinations of atoms i,j,k,l used to form the angle; theta1, theta2, theta3 are the equilibrium positions of those angles.

+

See (Sun) for a description of the COMPASS class2 force field. +

The following coefficients must be defined for each improper type via the improper_coeff command as in the example above, or in the data file or restart files read by the read_data or read_restart commands:

For this style, only coefficients for the Ei formula can be specified in the input script. These are the 2 coefficients:

X0 is specified in degrees, but LAMMPS converts it to radians internally; hence the units of K are in energy/radian^2.

Coefficients for the Eaa formula must be specified in the data file. For the Eaa formula, the coefficients are listed under a "AngleAngle Coeffs" heading and each line lists 6 coefficients:

The theta values are specified in degrees, but LAMMPS converts them to radians internally; hence the units of M are in energy/radian^2.

Restrictions:

-

Improper styles can only be set for atom styles that allow impropers to be -defined. -

This improper style is part of the "class2" package. It is only enabled if LAMMPS was built with that package. See the Making LAMMPS section for more info.

Related commands:

improper_coeff

Default: none

+
+ + + +

(Sun) Sun, J Phys Chem B 102, 7338-7364 (1998). +

diff --git a/doc/improper_style_class2.txt b/doc/improper_style_class2.txt index fc8207a64..f5390e56a 100644 --- a/doc/improper_style_class2.txt +++ b/doc/improper_style_class2.txt @@ -1,73 +1,77 @@ "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c :link(lws,http://lammps.sandia.gov) :link(ld,Manual.html) :link(lc,Section_commands.html#comm) :line improper_style class2 command :h3 [Syntax:] improper_style class2 :pre [Examples:] improper_style class2 improper_coeff 1 100.0 0 :pre [Description:] The {class2} improper style uses the potential :c,image(Eqs/improper_class2.jpg) where Ei is the improper term and Eaa is an angle-angle term. The chi used in Ei is an average over 3 possible chi orientations. The subscripts on the various theta's refer to different combinations of atoms i,j,k,l used to form the angle; theta1, theta2, theta3 are the equilibrium positions of those angles. +See "(Sun)"_#Sun for a description of the COMPASS class2 force field. + The following coefficients must be defined for each improper type via the "improper_coeff"_improper_coeff.html command as in the example above, or in the data file or restart files read by the "read_data"_read_data.html or "read_restart"_read_restart.html commands: For this style, only coefficients for the Ei formula can be specified in the input script. These are the 2 coefficients: K (energy/radian^2) X0 (degrees) :ul X0 is specified in degrees, but LAMMPS converts it to radians internally; hence the units of K are in energy/radian^2. Coefficients for the Eaa formula must be specified in the data file. For the Eaa formula, the coefficients are listed under a "AngleAngle Coeffs" heading and each line lists 6 coefficients: M1 (energy/distance) M2 (energy/distance) M3 (energy/distance) theta1 (degrees) theta2 (degrees) theta3 (degrees) :ul The theta values are specified in degrees, but LAMMPS converts them to radians internally; hence the units of M are in energy/radian^2. [Restrictions:] -Improper styles can only be set for atom styles that allow impropers to be -defined. - This improper style is part of the "class2" package. It is only enabled if LAMMPS was built with that package. See the "Making LAMMPS"_Section_start.html#2_2 section for more info. [Related commands:] "improper_coeff"_improper_coeff.html [Default:] none + +:line + +:link(Sun) +[(Sun)] Sun, J Phys Chem B 102, 7338-7364 (1998). diff --git a/doc/improper_style_cvff.html b/doc/improper_style_cvff.html index 9dc176217..08f25a974 100644 --- a/doc/improper_style_cvff.html +++ b/doc/improper_style_cvff.html @@ -1,55 +1,48 @@
LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

improper_style cvff command

Syntax:

improper_style cvff 
 

Examples:

improper_style cvff
 improper_coeff 1 80.0 -1 4 
 

Description:

The cvff improper style uses the potential

where phi is the Wilson out-of-plane angle.

The following coefficients must be defined for each improper type via the improper_coeff command as in the example above, or in the data file or restart files read by the read_data or read_restart commands:

-

Restrictions: -

-

Improper styles can only be set for atom styles that allow impropers to be -defined. -

-

This improper style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the Making -LAMMPS section for more info. +

Restrictions: none

Related commands:

improper_coeff

Default: none

diff --git a/doc/improper_style_cvff.txt b/doc/improper_style_cvff.txt index 98b08502b..d47660d79 100644 --- a/doc/improper_style_cvff.txt +++ b/doc/improper_style_cvff.txt @@ -1,50 +1,43 @@ "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c :link(lws,http://lammps.sandia.gov) :link(ld,Manual.html) :link(lc,Section_commands.html#comm) :line improper_style cvff command :h3 [Syntax:] improper_style cvff :pre [Examples:] improper_style cvff improper_coeff 1 80.0 -1 4 :pre [Description:] The {cvff} improper style uses the potential :c,image(Eqs/improper_cvff.jpg) where phi is the Wilson out-of-plane angle. The following coefficients must be defined for each improper type via the "improper_coeff"_improper_coeff.html command as in the example above, or in the data file or restart files read by the "read_data"_read_data.html or "read_restart"_read_restart.html commands: K (energy) d (+1 or -1) n (0,1,2,3,4,6) :ul -[Restrictions:] - -Improper styles can only be set for atom styles that allow impropers to be -defined. - -This improper style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the "Making -LAMMPS"_Section_start.html#2_2 section for more info. +[Restrictions:] none [Related commands:] "improper_coeff"_improper_coeff.html [Default:] none diff --git a/doc/improper_style_harmonic.html b/doc/improper_style_harmonic.html index 683a31601..52bb2c403 100644 --- a/doc/improper_style_harmonic.html +++ b/doc/improper_style_harmonic.html @@ -1,58 +1,51 @@
LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

improper_style harmonic command

Syntax:

improper_style harmonic 
 

Examples:

improper_style harmonic
 improper_coeff 1 100.0 0 
 

Description:

The harmonic improper style uses the potential

where X is the improper angle, X0 is its equilibrium value, and K is a prefactor. Note that the usual 1/2 factor is included in K.

The following coefficients must be defined for each improper type via the improper_coeff command as in the example above, or in the data file or restart files read by the read_data or read_restart commands:

X0 is specified in degrees, but LAMMPS converts it to radians internally; hence the units of K are in energy/radian^2.

-

Restrictions: -

-

Improper styles can only be set for atom styles that allow impropers to be -defined. -

-

This improper style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the Making -LAMMPS section for more info. +

Restrictions: none

Related commands:

improper_coeff

Default: none

diff --git a/doc/improper_style_harmonic.txt b/doc/improper_style_harmonic.txt index c32fff67d..a5567428e 100644 --- a/doc/improper_style_harmonic.txt +++ b/doc/improper_style_harmonic.txt @@ -1,53 +1,46 @@ "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c :link(lws,http://lammps.sandia.gov) :link(ld,Manual.html) :link(lc,Section_commands.html#comm) :line improper_style harmonic command :h3 [Syntax:] improper_style harmonic :pre [Examples:] improper_style harmonic improper_coeff 1 100.0 0 :pre [Description:] The {harmonic} improper style uses the potential :c,image(Eqs/improper_harmonic.jpg) where X is the improper angle, X0 is its equilibrium value, and K is a prefactor. Note that the usual 1/2 factor is included in K. The following coefficients must be defined for each improper type via the "improper_coeff"_improper_coeff.html command as in the example above, or in the data file or restart files read by the "read_data"_read_data.html or "read_restart"_read_restart.html commands: K (energy/radian^2) X0 (degrees) :ul X0 is specified in degrees, but LAMMPS converts it to radians internally; hence the units of K are in energy/radian^2. -[Restrictions:] - -Improper styles can only be set for atom styles that allow impropers to be -defined. - -This improper style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the "Making -LAMMPS"_Section_start.html#2_2 section for more info. +[Restrictions:] none [Related commands:] "improper_coeff"_improper_coeff.html [Default:] none diff --git a/doc/improper_style_hybrid.html b/doc/improper_style_hybrid.html index 51987990b..8b43845a8 100644 --- a/doc/improper_style_hybrid.html +++ b/doc/improper_style_hybrid.html @@ -1,59 +1,56 @@
LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

improper_style hybrid command

Syntax:

improper_style hybrid style1 style2 ... 
 

Examples:

improper_style hybrid harmonic helix
 improper_coeff 1 harmonic 120.0 30
 improper_coeff 2 cvff 20.0 -1 2 
 

Description:

The hybrid style enables the use of multiple improper styles in one simulation. An improper style is assigned to each improper type. For example, impropers in a polymer flow (of improper type 1) could be computed with a harmonic potential and impropers in the wall boundary (of improper type 2) could be computed with a cvff potential. The assignment of improper type to style is made via the improper_coeff command or in the data file.

In the improper_coeff command, the first coefficient sets the improper style and the remaining coefficients are those appropriate to that style. In the example above, the 2 improper_coeff commands would set impropers of improper type 1 to be computed with a harmonic potential with coefficients 120.0, 30 for K, X0. Improper type 2 would be computed with a cvff potential with coefficients 20.0, -1, 2 for K, d, n.

-

Restrictions: +

An improper style of none can be specified as an argument to +improper_style hybrid and the corresponding improper_coeff commands, +if you desire to turn off certain improper types.

-

Improper styles can only be set for atom styles that allow impropers to be -defined. -

-

This improper style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the Making -LAMMPS section for more info. +

Restrictions: none

Related commands:

improper_coeff

Default: none

diff --git a/doc/improper_style_hybrid.txt b/doc/improper_style_hybrid.txt index 8d8414742..db84e51e0 100644 --- a/doc/improper_style_hybrid.txt +++ b/doc/improper_style_hybrid.txt @@ -1,54 +1,51 @@ "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c :link(lws,http://lammps.sandia.gov) :link(ld,Manual.html) :link(lc,Section_commands.html#comm) :line improper_style hybrid command :h3 [Syntax:] improper_style hybrid style1 style2 ... :pre style1,style2 = list of one or more improper styles :ul [Examples:] improper_style hybrid harmonic helix improper_coeff 1 harmonic 120.0 30 improper_coeff 2 cvff 20.0 -1 2 :pre [Description:] The {hybrid} style enables the use of multiple improper styles in one simulation. An improper style is assigned to each improper type. For example, impropers in a polymer flow (of improper type 1) could be computed with a {harmonic} potential and impropers in the wall boundary (of improper type 2) could be computed with a {cvff} potential. The assignment of improper type to style is made via the "improper_coeff"_improper_coeff.html command or in the data file. In the improper_coeff command, the first coefficient sets the improper style and the remaining coefficients are those appropriate to that style. In the example above, the 2 improper_coeff commands would set impropers of improper type 1 to be computed with a {harmonic} potential with coefficients 120.0, 30 for K, X0. Improper type 2 would be computed with a {cvff} potential with coefficients 20.0, -1, 2 for K, d, n. -[Restrictions:] +An improper style of {none} can be specified as an argument to +improper_style hybrid and the corresponding improper_coeff commands, +if you desire to turn off certain improper types. -Improper styles can only be set for atom styles that allow impropers to be -defined. - -This improper style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the "Making -LAMMPS"_Section_start.html#2_2 section for more info. +[Restrictions:] none [Related commands:] "improper_coeff"_improper_coeff.html [Default:] none diff --git a/doc/improper_style_none.html b/doc/improper_style_none.html index f1afc52f6..bfd664f38 100644 --- a/doc/improper_style_none.html +++ b/doc/improper_style_none.html @@ -1,37 +1,34 @@
LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

improper_style none command

Syntax:

improper_style none 
 

Examples:

improper_style none 
 

Description:

Using an improper style of none means improper forces are not computed, even if quadruplets of improper atoms were listed in the data file read by the read_data command.

-

Restrictions: -

-

Improper styles can only be set for atom styles that allow impropers -to be defined. +

Restrictions: none

Related commands: none

Default: none

diff --git a/doc/improper_style_none.txt b/doc/improper_style_none.txt index 5b8ced32a..803cc23b0 100644 --- a/doc/improper_style_none.txt +++ b/doc/improper_style_none.txt @@ -1,32 +1,29 @@ "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c :link(lws,http://lammps.sandia.gov) :link(ld,Manual.html) :link(lc,Section_commands.html#comm) :line improper_style none command :h3 [Syntax:] improper_style none :pre [Examples:] improper_style none :pre [Description:] Using an improper style of none means improper forces are not computed, even if quadruplets of improper atoms were listed in the data file read by the "read_data"_read_data.html command. -[Restrictions:] - -Improper styles can only be set for atom styles that allow impropers -to be defined. +[Restrictions:] none [Related commands:] none [Default:] none diff --git a/doc/next.html b/doc/next.html index 3dd5f42b0..d7f15d691 100644 --- a/doc/next.html +++ b/doc/next.html @@ -1,99 +1,101 @@
LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

next command

Syntax:

next variables 
 
-