From 813ffdc80dcffed099655f3274b752c277fddf1b Mon Sep 17 00:00:00 2001 From: sjplimp Date: Fri, 20 May 2011 23:25:17 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@6198 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- doc/Section_start.html | 28 +++++++++++++++------------- doc/Section_start.txt | 28 +++++++++++++++------------- doc/accelerator.html | 21 +++++++++++---------- doc/accelerator.txt | 21 +++++++++++---------- 4 files changed, 52 insertions(+), 46 deletions(-) diff --git a/doc/Section_start.html b/doc/Section_start.html index 999bb8b732..55e6bb352d 100644 --- a/doc/Section_start.html +++ b/doc/Section_start.html @@ -806,19 +806,21 @@ one-letter abbreviation can be used:

Use accelerated variants of various styles if they exist. The style can be opt or gpu or cuda. The variant styles are part of optional packages that LAMMPS can be built with, as described above in -Section 2.3. The "opt" style corrsponds to the OPT package, -the "gpu" style to the GPU package, and the "cuda" style to the -USER-CUDA package. For example, all of the packages provide a -pair_style lj/cut variant, with styles lj/cut/opt or -lj/cut/gpu or lj/cut/cuda. These styles can be specified explicitly -in your input script, e.g. pair_style lj/cut/gpu. But if the --accelerator switch is used, you do not need to modify your input -script. The accelerator suffix (opt,gpu,cuda) is automatically -appended when the style is created. The suffix is applied to atom, -pair, fix, compute, and integrate styles. If an accelerated version -does not exist, the standard version is created. See the -accelerator command for info on how to turn off -this option. +Section 2.3. Also see the acclerator +command doc page. The "opt" style corrsponds to the OPT package, the +"gpu" style to the GPU package, and the "cuda" style to the USER-CUDA +package. For example, all of the packages provide a pair_style +lj/cut variant, with style names lj/cut/opt or +lj/cut/gpu or lj/cut/cuda. +

+

These accelerated styles can be specified explicitly in your input +script, e.g. pair_style lj/cut/gpu. If the -accelerator switch is +used, you do not need to modify your input script. The accelerator +suffix (opt,gpu,cuda) is automatically appended when the style is +created for atom, pair, fix, compute, and integrate styles. If an +accelerated version does not exist, the standard version is created. +See the accelerator command for info on how to +temporarily turn off this option.

-echo style 
 
diff --git a/doc/Section_start.txt b/doc/Section_start.txt index 57bb2a8975..ea0462ae9a 100644 --- a/doc/Section_start.txt +++ b/doc/Section_start.txt @@ -796,19 +796,21 @@ Here are the details on the options: Use accelerated variants of various styles if they exist. The style can be {opt} or {gpu} or {cuda}. The variant styles are part of optional packages that LAMMPS can be built with, as described above in -"Section 2.3"_#2_3. The "opt" style corrsponds to the OPT package, -the "gpu" style to the GPU package, and the "cuda" style to the -USER-CUDA package. For example, all of the packages provide a -"pair_style lj/cut"_pair_lj.html variant, with styles lj/cut/opt or -lj/cut/gpu or lj/cut/cuda. These styles can be specified explicitly -in your input script, e.g. pair_style lj/cut/gpu. But if the --accelerator switch is used, you do not need to modify your input -script. The accelerator suffix (opt,gpu,cuda) is automatically -appended when the style is created. The suffix is applied to atom, -pair, fix, compute, and integrate styles. If an accelerated version -does not exist, the standard version is created. See the -"accelerator"_accelerator.html command for info on how to turn off -this option. +"Section 2.3"_#2_3. Also see the "acclerator"_accelerator.html +command doc page. The "opt" style corrsponds to the OPT package, the +"gpu" style to the GPU package, and the "cuda" style to the USER-CUDA +package. For example, all of the packages provide a "pair_style +lj/cut"_pair_lj.html variant, with style names lj/cut/opt or +lj/cut/gpu or lj/cut/cuda. + +These accelerated styles can be specified explicitly in your input +script, e.g. pair_style lj/cut/gpu. If the -accelerator switch is +used, you do not need to modify your input script. The accelerator +suffix (opt,gpu,cuda) is automatically appended when the style is +created for atom, pair, fix, compute, and integrate styles. If an +accelerated version does not exist, the standard version is created. +See the "accelerator"_accelerator.html command for info on how to +temporarily turn off this option. -echo style :pre diff --git a/doc/accelerator.html b/doc/accelerator.html index d53813863f..ff6eca3ec0 100644 --- a/doc/accelerator.html +++ b/doc/accelerator.html @@ -49,21 +49,22 @@ styles. instructions on how to build LAMMPS with any of these packages.

These styles can be specified explicitly in your input script, -e.g. pair_style lj/cut/gpu. If the -accelerator command-line switch -is used, you do not need to modify your input script, as discussed in -this section of the manual. The command-line -suffix (opt,gpu,cuda) is automatically appended when the style is -created for atom, pair, fix, compute, and integrate styles. If an -accelerated version does not exist, the standard version is created. +e.g. pair_style lj/cut/gpu. If the -accelerator +command-line switch is used, you do not need to modify your input +script, as discussed in this section of the +manual. The command-line suffix (opt,gpu,cuda) is automatically +appended when the style is created for atom, pair, fix, compute, and +integrate styles. If an accelerated version does not exist, the +standard version is created.

If the -accelerator command-line switch is used, you may wish to -disable it for one or more input script commands, so that the -accelerated version of the style is not used, but rather the standard -version. This can be useful for performance testing or debugging. +disable it for one or more input script commands, so that the standard +version of the style is used instead of the accelerated one. This can +be useful for performance testing or debugging.

The off style allows you to do this. The effect of the -accelerator command-line switch is effectively turned off until another -accelerator command with the on style is used. The on style can +accelerator command is used with the on style. The on style can only be used if the -accelerator command-line switch was used.

The cuda style invokes options associated with the use of the diff --git a/doc/accelerator.txt b/doc/accelerator.txt index c71f57c0a4..6f93f33a45 100644 --- a/doc/accelerator.txt +++ b/doc/accelerator.txt @@ -43,21 +43,22 @@ See "this section"_Section_start.html#2_3 of the manual for instructions on how to build LAMMPS with any of these packages. These styles can be specified explicitly in your input script, -e.g. pair_style lj/cut/gpu. If the -accelerator command-line switch -is used, you do not need to modify your input script, as discussed in -"this section"_Section_start.html#2_6 of the manual. The command-line -suffix (opt,gpu,cuda) is automatically appended when the style is -created for atom, pair, fix, compute, and integrate styles. If an -accelerated version does not exist, the standard version is created. +e.g. "pair_style lj/cut/gpu"_pair_lj.html. If the -accelerator +command-line switch is used, you do not need to modify your input +script, as discussed in "this section"_Section_start.html#2_6 of the +manual. The command-line suffix (opt,gpu,cuda) is automatically +appended when the style is created for atom, pair, fix, compute, and +integrate styles. If an accelerated version does not exist, the +standard version is created. If the -accelerator command-line switch is used, you may wish to -disable it for one or more input script commands, so that the -accelerated version of the style is not used, but rather the standard -version. This can be useful for performance testing or debugging. +disable it for one or more input script commands, so that the standard +version of the style is used instead of the accelerated one. This can +be useful for performance testing or debugging. The {off} style allows you to do this. The effect of the -accelerator command-line switch is effectively turned off until another -accelerator command with the {on} style is used. The {on} style can +accelerator command is used with the {on} style. The {on} style can only be used if the -accelerator command-line switch was used. The {cuda} style invokes options associated with the use of the