git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13941 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
sjplimp 2015-08-28 20:07:46 +00:00
parent cc7cb87584
commit c2352b946f
3 changed files with 80 additions and 3 deletions

View File

@ -387,8 +387,8 @@ in the command's documentation.
<TR ALIGN="center"><TD ><A HREF = "read_dump.html">read_dump</A></TD><TD ><A HREF = "read_restart.html">read_restart</A></TD><TD ><A HREF = "region.html">region</A></TD><TD ><A HREF = "replicate.html">replicate</A></TD><TD ><A HREF = "rerun.html">rerun</A></TD><TD ><A HREF = "reset_timestep.html">reset_timestep</A></TD></TR>
<TR ALIGN="center"><TD ><A HREF = "restart.html">restart</A></TD><TD ><A HREF = "run.html">run</A></TD><TD ><A HREF = "run_style.html">run_style</A></TD><TD ><A HREF = "set.html">set</A></TD><TD ><A HREF = "shell.html">shell</A></TD><TD ><A HREF = "special_bonds.html">special_bonds</A></TD></TR>
<TR ALIGN="center"><TD ><A HREF = "suffix.html">suffix</A></TD><TD ><A HREF = "tad.html">tad</A></TD><TD ><A HREF = "temper.html">temper</A></TD><TD ><A HREF = "thermo.html">thermo</A></TD><TD ><A HREF = "thermo_modify.html">thermo_modify</A></TD><TD ><A HREF = "thermo_style.html">thermo_style</A></TD></TR>
<TR ALIGN="center"><TD ><A HREF = "timestep.html">timestep</A></TD><TD ><A HREF = "uncompute.html">uncompute</A></TD><TD ><A HREF = "undump.html">undump</A></TD><TD ><A HREF = "unfix.html">unfix</A></TD><TD ><A HREF = "units.html">units</A></TD><TD ><A HREF = "variable.html">variable</A></TD></TR>
<TR ALIGN="center"><TD ><A HREF = "velocity.html">velocity</A></TD><TD ><A HREF = "write_data.html">write_data</A></TD><TD ><A HREF = "write_dump.html">write_dump</A></TD><TD ><A HREF = "write_restart.html">write_restart</A>
<TR ALIGN="center"><TD ><A HREF = "timer.html">timer</A></TD><TD ><A HREF = "timestep.html">timestep</A></TD><TD ><A HREF = "uncompute.html">uncompute</A></TD><TD ><A HREF = "undump.html">undump</A></TD><TD ><A HREF = "unfix.html">unfix</A></TD><TD ><A HREF = "units.html">units</A></TD></TR>
<TR ALIGN="center"><TD ><A HREF = "variable.html">variable</A></TD><TD ><A HREF = "velocity.html">velocity</A></TD><TD ><A HREF = "write_data.html">write_data</A></TD><TD ><A HREF = "write_dump.html">write_dump</A></TD><TD ><A HREF = "write_restart.html">write_restart</A>
</TD></TR></TABLE></DIV>
<P>These are additional commands in USER packages, which can be used if

View File

@ -2080,7 +2080,7 @@
</dt>
<dt><a href="timestep.html#index-0">timestep</a>
<dt><a href="timers.html#index-0">timestep</a>, <a href="timestep.html#index-0">[1]</a>
</dt>
</dl></td>

77
doc/doc2/timer.html Normal file
View File

@ -0,0 +1,77 @@
<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>timer command
</H3>
<P><B>Syntax:</B>
</P>
<PRE>timer args
</PRE>
<LI><I>args</I> = one or more of <I>off</I> or <I>loop</I> or <I>normal</I> or <I>full</I> or <I>sync</I> or <I>nosync</I>
<PRE> <I>off</I> = do not collect and print timing information
<I>loop</I> = collect only the total time for the simulation loop
<I>normal</I> = collect timer information broken down in sections (default)
<I>full</I> = like <I>normal</I> but also include CPU and thread utilzation
<I>sync</I> = explicitly synchronize MPI tasks between sections
<I>nosync</I> = do not synchronize MPI tasks when collecting timer info (default)
</PRE>
<P><B>Examples:</B>
</P>
<PRE>timer full sync
timer loop
</PRE>
<P><B>Description:</B>
</P>
<P>Select to which level of detail LAMMPS is performing internal profiling.
</P>
<P>During regular runs LAMMPS will collect information about how much
time is spent in different sections of the code and thus can provide
valuable information for determining performance and load imbalance
problems. This can be done at different levels of detail and
accuracy. For more information about the timing output, please have a
look at the <A HREF = "Section_start.html#start_8">discussion of screen output</A>.
</P>
<P>The <I>off</I> setting will turn all time measurements off. The <I>loop</I>
setting will only measure the total time of run loop and not collect
any detailed per section information. With the <I>normal</I> setting,
timing information for individual sections of the code are collected
and also information about load imbalances inside those sections
presented. The <I>full</I> setting adds information about CPU utilization
and thread utilization, when multi-threading is enabled.
</P>
<P>With the <I>sync</I> setting, all MPI tasks are synchronized at each timer
call and thus allowing to study load imbalance more accuractly, but
this usually has some performance impact. Using the <I>nosync</I> setting
this can be turned off (which is the default).
</P>
<P>Multiple keywords can be provided and for keywords that are mutually
exclusive, the last one in that group is taking effect.
</P>
<P>IMPORTANT NOTE: Using the <I>full</I> and <I>sync</I> options provides the most
detailed and accurate timing information, but also can have a
significant negative performance impact due to the overhead of the
many required system calls. It is thus recommended to use these
settings only when making tests to identify the performance. For
calculations with few atoms or a very large number of performance,
even using the <I>normal</I> setting can have a measurable performance
impact. In those cases just use the <I>loop</I> or <I>off</I> setting.
</P>
<P><B>Restrictions:</B> none
</P>
<P><B>Related commands:</B>
<A HREF = "run.html">run post no</A>, <A HREF = "kspace_modify.html">kspace_modify fftbench</A>
</P>
<P><B>Default:</B>
</P>
<P>timer normal nosync
</P>
</HTML>