diff --git a/doc/Section_accelerate.html b/doc/Section_accelerate.html index ebbd6a21ef..27b80f3d63 100644 --- a/doc/Section_accelerate.html +++ b/doc/Section_accelerate.html @@ -145,12 +145,12 @@ such as when using a barostat.

Accelerated versions of various pair_style, fixes, computes, and other commands have been added to LAMMPS, which will typically run faster than the -standard non-accelerated versions, if you have the appropriate -hardware on your system. +standard non-accelerated versions. Some require appropriate hardware +on your system, e.g. GPUs or Intel Xeon Phi chips.

-

All of these commands are in packages. -Currently, there are 6 such accelerator packages in LAMMPS, either as -standard or user packages: +

All of these commands are in packages provided with LAMMPS, as +explained here. Currently, there are 6 such +accelerator packages in LAMMPS, either as standard or user packages:

@@ -177,20 +177,34 @@ Lennard-Jones pair_style lj/cut:
  • pair_style lj/cut/omp
  • pair_style lj/cut/opt -

    Assuming LAMMPS was built with the appropriate package, these styles -can be invoked by specifying them explicitly in your input script. Or -the -suffix command-line switch can be -used to automatically invoke the accelerated versions, without -changing the input script. Use of the suffix command -allows a suffix to be set explicitly and to be turned off and back on -at various points within an input script. +

    Assuming LAMMPS was built with the appropriate package, a simulation +using accelerated styles from the package can be run without modifying +your input script, by specifying command-line +switches. The details of how to do this +vary from package to package and are explained below. There is also a +suffix command and a package command that +accomplish the same thing and can be used within an input script if +preferred. The suffix command allows more precise +control of whether an accelerated or unaccelerated version of a style +is used at various points within an input script.

    To see what styles are currently available in each of the accelerated packages, see Section_commands 5 of the -manual. The doc page for each indvidual style (e.g. pair +manual. The doc page for individual commands (e.g. pair lj/cut or fix nve) also lists any accelerated variants available for that style.

    +

    The examples directory has several sub-directories with scripts and +README files for using the accelerator packages: +

    + +

    Likewise, the bench directory has FERMI and KEPLER sub-directories +with scripts and README files for using all the accelerator packages. +

    Here is a brief summary of what the various packages provide. Details are in individual sections below.

    @@ -208,8 +222,8 @@ coprocessors. This can result in additional speedup over 2x depending on the hardware configuration.
  • Styles with a "kk" suffix are part of the KOKKOS package, and can be -run using OpenMP, on an NVIDIA GPU, or on an Intel(R) Xeon Phi(TM). -The speed-up depends on a variety of factors, as discussed below. +run using OpenMP, on an NVIDIA GPU, or on an Intel Xeon Phi. The +speed-up depends on a variety of factors, as discussed below.
  • Styles with an "omp" suffix are part of the USER-OMP package and allow a pair-style to be run in multi-threaded mode using OpenMP. This can @@ -226,7 +240,7 @@ CPU.

  • USER-CUDA for NVIDIA GPUs