Page MenuHomec4science

log.html
No OneTemporary

File Metadata

Created
Mon, Aug 26, 10:21

log.html

<HTML>
<CENTER><A HREF = "http://lammps.sandia.gov">LAMMPS WWW Site</A> - <A HREF = "Manual.html">LAMMPS Documentation</A> - <A HREF = "Section_commands.html#comm">LAMMPS Commands</A>
</CENTER>
<HR>
<H3>log command
</H3>
<P><B>Syntax:</B>
</P>
<PRE>log file keyword
</PRE>
<UL><LI>file = name of new logfile
<LI>keyword = <I>append</I> if output should be appended to logfile (optional)
</UL>
<P><B>Examples:</B>
</P>
<PRE>log log.equil
log log.equil append
</PRE>
<P><B>Description:</B>
</P>
<P>This command closes the current LAMMPS log file, opens a new file with
the specified name, and begins logging information to it. If the
specified file name is <I>none</I>, then no new log file is opened. If the
optional keyword <I>append</I> is specified, then output will be appended
to an existing log file, instead of overwriting it.
</P>
<P>If multiple processor partitions are being used, the file name should
be a variable, so that different processors do not attempt to write to
the same log file.
</P>
<P>The file "log.lammps" is the default log file for a LAMMPS run. The
name of the initial log file can also be set by the command-line
switch -log. See <A HREF = "Section_start.html#start_7">Section_start 6</A> for
details.
</P>
<P><B>Restrictions:</B> none
</P>
<P><B>Related commands:</B> none
</P>
<P><B>Default:</B>
</P>
<P>The default LAMMPS log file is named log.lammps
</P>
</HTML>

Event Timeline