lammps/doc/log.html

48 lines
1.1 KiB
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
</PRE>
<UL><LI>file = name of new logfile
</UL>
<P><B>Examples:</B>
</P>
<PRE>log log.equil
</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.
</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>