diff --git a/doc/Section_accelerate.html b/doc/Section_accelerate.html index 62cd9bb9e3..4541dc170a 100644 --- a/doc/Section_accelerate.html +++ b/doc/Section_accelerate.html @@ -106,6 +106,13 @@ to 20% savings.
Additional requirements in your input script to run the styles with a +gpu suffix are as follows: +
+The newton pair setting must be off and the fix +gpu command must be used. The fix controls the GPU +selection and initialization steps. +
The GPU package was developed by Mike Brown at ORNL.
A few LAMMPS pair styles can be run on graphical diff --git a/doc/Section_accelerate.txt b/doc/Section_accelerate.txt index 30da7758ee..3ff91a6a47 100644 --- a/doc/Section_accelerate.txt +++ b/doc/Section_accelerate.txt @@ -102,6 +102,15 @@ to 20% savings. 10.2 GPU package :h4,link(10_2) +Additional requirements in your input script to run the styles with a +{gpu} suffix are as follows: + +The "newton pair"_newton.html setting must be {off} and the "fix +gpu"_fix_gpu.html command must be used. The fix controls the GPU +selection and initialization steps. + + + The GPU package was developed by Mike Brown at ORNL. A few LAMMPS "pair styles"_pair_style.html can be run on graphical diff --git a/doc/kspace_style.html b/doc/kspace_style.html index 9fd64e1164..e5f118b8c7 100644 --- a/doc/kspace_style.html +++ b/doc/kspace_style.html @@ -76,9 +76,6 @@ long-range potentials.
Currently, only the ewald/n style can be used with non-orthogonal (triclinic symmetry) simulation boxes.
-The pppm/gpu/single and pppm/gpu/double styles are GPU-enabled -version of pppm. See more details below. -
When a kspace style is used, a pair style that includes the @@ -99,23 +96,30 @@ options of the K-space solvers that can be set.
The pppm/gpu/single style performs single precision charge -assignment and force interpolation calculations on the GPU. The -pppm/gpu/double style performs the mesh calculations on the GPU in -double precision. In both cases, FFT solves are calculated on the CPU. -If either pppm/gpu/single or pppm/gpu/double are used with a -GPU-enabled pair style, part of the PPPM calculation can be performed -concurrently on the GPU while other calculations for non-bonded and -bonded force calculation are performed on the CPU. +
Styles with a cuda, gpu/single, gpu/double, or opt suffix are +functionally the same as the corresponding style without the suffix. +They have been optimized to run faster, depending on your available +hardware, as discussed in this section of +the manual. The accelerated styles take the same arguments and should +produce the same results, except for round-off and precision issues.
-See this section of the manual for more -details. +
More specifically, the pppm/gpu/single style performs single +precision charge assignment and force interpolation calculations on +the GPU. The pppm/gpu/double style performs the mesh calculations +on the GPU in double precision. In both cases, FFT solves are +calculated on the CPU. If either pppm/gpu/single or +pppm/gpu/double are used with a GPU-enabled pair style, part of the +PPPM calculation can be performed concurrently on the GPU while other +calculations for non-bonded and bonded force calculation are performed +on the CPU.
-Additional requirements in your input script to run with GPU-enabled -PPPM styles are as follows: +
These accelerated styles are part of the "user-cuda", "gpu", and "opt" +packages respectively. They are only enabled if LAMMPS was built with +those packages. See the Making LAMMPS +section for more info.
-The fix gpu command must be used. The fix controls the -GPU selection and initialization steps. +
See this section of the manual for more +instructions on how to use the accelerated styles effectively.
Restrictions:
@@ -132,11 +136,6 @@ LAMMPS section for more info. enabled if LAMMPS was built with that package. See the Making LAMMPS section for more info. -The pppm/gpu/single and pppm/gpu/double styles are part of the -"gpu" package. They are only enabled if LAMMPS was built with that -package. See the Making LAMMPS section for -more info. -
When using a long-range pairwise TIP4P potential, you must use kspace style pppm/tip4p and vice versa.
diff --git a/doc/kspace_style.txt b/doc/kspace_style.txt index eeef55b267..6a5032a4c8 100644 --- a/doc/kspace_style.txt +++ b/doc/kspace_style.txt @@ -71,9 +71,6 @@ long-range potentials. Currently, only the {ewald/n} style can be used with non-orthogonal (triclinic symmetry) simulation boxes. -The {pppm/gpu/single} and {pppm/gpu/double} styles are GPU-enabled -version of {pppm}. See more details below. - :line When a kspace style is used, a pair style that includes the @@ -94,23 +91,30 @@ options of the K-space solvers that can be set. :line -The {pppm/gpu/single} style performs single precision charge -assignment and force interpolation calculations on the GPU. The -{pppm/gpu/double} style performs the mesh calculations on the GPU in -double precision. In both cases, FFT solves are calculated on the CPU. -If either {pppm/gpu/single} or {pppm/gpu/double} are used with a -GPU-enabled pair style, part of the PPPM calculation can be performed -concurrently on the GPU while other calculations for non-bonded and -bonded force calculation are performed on the CPU. +Styles with a {cuda}, {gpu/single}, {gpu/double}, or {opt} suffix are +functionally the same as the corresponding style without the suffix. +They have been optimized to run faster, depending on your available +hardware, as discussed in "this section"_Section_accelerate.html of +the manual. The accelerated styles take the same arguments and should +produce the same results, except for round-off and precision issues. -See "this section"_doc/Section_accerate.html of the manual for more -details. +More specifically, the {pppm/gpu/single} style performs single +precision charge assignment and force interpolation calculations on +the GPU. The {pppm/gpu/double} style performs the mesh calculations +on the GPU in double precision. In both cases, FFT solves are +calculated on the CPU. If either {pppm/gpu/single} or +{pppm/gpu/double} are used with a GPU-enabled pair style, part of the +PPPM calculation can be performed concurrently on the GPU while other +calculations for non-bonded and bonded force calculation are performed +on the CPU. -Additional requirements in your input script to run with GPU-enabled -PPPM styles are as follows: +These accelerated styles are part of the "user-cuda", "gpu", and "opt" +packages respectively. They are only enabled if LAMMPS was built with +those packages. See the "Making LAMMPS"_Section_start.html#2_3 +section for more info. -The "fix gpu"_fix_gpu.html command must be used. The fix controls the -GPU selection and initialization steps. +See "this section"_Section_accelerate.html of the manual for more +instructions on how to use the accelerated styles effectively. [Restrictions:] @@ -127,11 +131,6 @@ The {ewald/n} style is part of the "user-ewaldn" package. It is only enabled if LAMMPS was built with that package. See the "Making LAMMPS"_Section_start.html#2_3 section for more info. -The {pppm/gpu/single} and {pppm/gpu/double} styles are part of the -"gpu" package. They are only enabled if LAMMPS was built with that -package. See the "Making LAMMPS"_Section_start.html#2_3 section for -more info. - When using a long-range pairwise TIP4P potential, you must use kspace style {pppm/tip4p} and vice versa. diff --git a/doc/pair_charmm.html b/doc/pair_charmm.html index 87a58f778f..fe4d0342a6 100644 --- a/doc/pair_charmm.html +++ b/doc/pair_charmm.html @@ -23,7 +23,7 @@pair_style style args-
lj/charmm/coul/charmm args = inner outer (inner2) (outer2)
@@ -33,9 +33,6 @@
inner, outer = global switching cutoffs for LJ (and Coulombic if only 2 args)
inner2, outer2 = global switching cutoffs for Coulombic (optional)
lj/charmm/coul/long args = inner outer (cutoff)
- inner, outer = global switching cutoffs for LJ (and Coulombic if only 2 args)
- cutoff = global cutoff for Coulombic (optional, outer is Coulombic cutoff if only 2 args)
- lj/charmm/coul/long/gpu args = inner outer (cutoff)
inner, outer = global switching cutoffs for LJ (and Coulombic if only 2 args)
cutoff = global cutoff for Coulombic (optional, outer is Coulombic cutoff if only 2 args)
@@ -52,8 +49,6 @@ pair_coeff * * 100.0 2.0
pair_coeff 1 1 100.0 2.0 150.0 3.5
pair_style lj/charmm/coul/long 8.0 10.0 -pair_style lj/charmm/coul/long/gpu 8.0 10.0 -pair_style lj/charmm/coul/long/opt 8.0 10.0 pair_style lj/charmm/coul/long 8.0 10.0 9.0 pair_coeff * * 100.0 2.0 pair_coeff 1 1 100.0 2.0 150.0 3.5 @@ -92,12 +87,6 @@ applied to the Coulombic term, as in the discussion for pair style command, then the outer LJ cutoff is used as the single Coulombic cutoff. -Style lj/charmm/coul/long/gpu is a GPU-enabled version of style -lj/charmm/coul/long. See more details below. -
-Style lj/charmm/coul/long/opt is an optimized version of style -lj/charmm/coul/long. See more details below. -
The following coefficients must be defined for each pair of atoms types via the pair_coeff command as in the examples above, or in the data file or restart files read by the @@ -122,23 +111,25 @@ the pair_style command.
-The styles with an opt suffix are identical to the corresponding -styles without the suffix, except that it is written in an optimized -fashion for faster CPU execution. See this -section of the manual for more details. +
Styles with a cuda, gpu, or opt suffix are functionally the same +as the corresponding style without the suffix. They have been +optimized to run faster, depending on your available hardware, as +discussed in this section of the manual. +The accelerated styles take the same arguments and should produce the +same results, except for round-off and precision issues.
-The styles with a gpu suffix are identical to the corresponding -styles without the suffix, except that each processor off-loads its -pairwise calculations to a GPU. Depending on the hardware available -on your system this can provide a speed-up. See this -section of the manual for more details. +
These accelerated styles are part of the "user-cuda", "gpu", and "opt" +packages respectively. They are only enabled if LAMMPS was built with +those packages. See the Making LAMMPS +section for more info.
-Additional requirements in your input script to run the styles with a -gpu suffix are as follows: +
You can specify the accelerated styles explicitly in your input script +by including their suffix, or you can use the -suffix command-line +switch when you invoke LAMMPS, or you can use +the suffix command in your input script.
-The newton pair setting must be off and the fix -gpu command must be used. The fix controls the GPU -selection and initialization steps. +
See this section of the manual for more +instructions on how to use the accelerated styles effectively.
@@ -154,10 +145,9 @@ command for details. pair_modify shift option, since the Lennard-Jones portion of the pair interaction is smoothed to 0.0 at the cutoff. -The lj/charmm/coul/long and lj/charmm/coul/long/opt pair styles -support the pair_modify table option since they can -tabulate the short-range portion of the long-range Coulombic -interaction. +
The lj/charmm/coul/long style supports the +pair_modify table option since it can tabulate the +short-range portion of the long-range Coulombic interaction.
None of the lj/charmm pair styles support the pair_modify tail option for adding long-range tail @@ -181,9 +171,8 @@ support the pair keyword of run_style respa. See the
The lj/charmm/coul/charmm and lj/charmm/coul/charmm/implicit styles are part of the "molecule" package. The lj/charmm/coul/long -style is part of the "kspace" package. The styles with an opt or -gpu suffix are part of the "opt" or "gpu" packages. They are only -enabled if LAMMPS was built with those packages. See the Making +style is part of the "kspace" package. They are only enabled if +LAMMPS was built with those packages. See the Making LAMMPS section for more info. Note that the molecule and kspace packages are installed by default.
diff --git a/doc/pair_charmm.txt b/doc/pair_charmm.txt index 052ba3338d..d798431b4a 100644 --- a/doc/pair_charmm.txt +++ b/doc/pair_charmm.txt @@ -16,7 +16,7 @@ pair_style lj/charmm/coul/long/opt command :h3 pair_style style args :pre -style = {lj/charmm/coul/charmm} or {lj/charmm/coul/charmm/implicit} or {lj/charmm/coul/long} or {lj/charmm/coul/long/gpu} or {lj/charmm/coul/long/opt} +style = {lj/charmm/coul/charmm} or {lj/charmm/coul/charmm/implicit} or {lj/charmm/coul/long} args = list of arguments for a particular style :ul {lj/charmm/coul/charmm} args = inner outer (inner2) (outer2) inner, outer = global switching cutoffs for Lennard Jones (and Coulombic if only 2 args) @@ -25,9 +25,6 @@ args = list of arguments for a particular style :ul inner, outer = global switching cutoffs for LJ (and Coulombic if only 2 args) inner2, outer2 = global switching cutoffs for Coulombic (optional) {lj/charmm/coul/long} args = inner outer (cutoff) - inner, outer = global switching cutoffs for LJ (and Coulombic if only 2 args) - cutoff = global cutoff for Coulombic (optional, outer is Coulombic cutoff if only 2 args) - {lj/charmm/coul/long/gpu} args = inner outer (cutoff) inner, outer = global switching cutoffs for LJ (and Coulombic if only 2 args) cutoff = global cutoff for Coulombic (optional, outer is Coulombic cutoff if only 2 args) :pre @@ -44,8 +41,6 @@ pair_coeff * * 100.0 2.0 pair_coeff 1 1 100.0 2.0 150.0 3.5 :pre pair_style lj/charmm/coul/long 8.0 10.0 -pair_style lj/charmm/coul/long/gpu 8.0 10.0 -pair_style lj/charmm/coul/long/opt 8.0 10.0 pair_style lj/charmm/coul/long 8.0 10.0 9.0 pair_coeff * * 100.0 2.0 pair_coeff 1 1 100.0 2.0 150.0 3.5 :pre @@ -84,12 +79,6 @@ applied to the Coulombic term, as in the discussion for pair style command, then the outer LJ cutoff is used as the single Coulombic cutoff. -Style {lj/charmm/coul/long/gpu} is a GPU-enabled version of style -{lj/charmm/coul/long}. See more details below. - -Style {lj/charmm/coul/long/opt} is an optimized version of style -{lj/charmm/coul/long}. See more details below. - The following coefficients must be defined for each pair of atoms types via the "pair_coeff"_pair_coeff.html command as in the examples above, or in the data file or restart files read by the @@ -114,23 +103,25 @@ the pair_style command. :line -The styles with an {opt} suffix are identical to the corresponding -styles without the suffix, except that it is written in an optimized -fashion for faster CPU execution. See "this -section"_doc/Section_accerate.html of the manual for more details. +Styles with a {cuda}, {gpu}, or {opt} suffix are functionally the same +as the corresponding style without the suffix. They have been +optimized to run faster, depending on your available hardware, as +discussed in "this section"_Section_accelerate.html of the manual. +The accelerated styles take the same arguments and should produce the +same results, except for round-off and precision issues. -The styles with a {gpu} suffix are identical to the corresponding -styles without the suffix, except that each processor off-loads its -pairwise calculations to a GPU. Depending on the hardware available -on your system this can provide a speed-up. See "this -section"_doc/Section_accerate.html of the manual for more details. +These accelerated styles are part of the "user-cuda", "gpu", and "opt" +packages respectively. They are only enabled if LAMMPS was built with +those packages. See the "Making LAMMPS"_Section_start.html#2_3 +section for more info. -Additional requirements in your input script to run the styles with a -{gpu} suffix are as follows: +You can specify the accelerated styles explicitly in your input script +by including their suffix, or you can use the "-suffix command-line +switch"_Section_start.html#2_6 when you invoke LAMMPS, or you can use +the "suffix"_suffix.html command in your input script. -The "newton pair"_newton.html setting must be {off} and the "fix -gpu"_fix_gpu.html command must be used. The fix controls the GPU -selection and initialization steps. +See "this section"_Section_accelerate.html of the manual for more +instructions on how to use the accelerated styles effectively. :line @@ -146,10 +137,9 @@ None of the lj/charmm pair styles support the "pair_modify"_pair_modify.html shift option, since the Lennard-Jones portion of the pair interaction is smoothed to 0.0 at the cutoff. -The {lj/charmm/coul/long} and {lj/charmm/coul/long/opt} pair styles -support the "pair_modify"_pair_modify.html table option since they can -tabulate the short-range portion of the long-range Coulombic -interaction. +The {lj/charmm/coul/long} style supports the +"pair_modify"_pair_modify.html table option since it can tabulate the +short-range portion of the long-range Coulombic interaction. None of the lj/charmm pair styles support the "pair_modify"_pair_modify.html tail option for adding long-range tail @@ -173,9 +163,8 @@ support the {pair} keyword of run_style respa. See the The {lj/charmm/coul/charmm} and {lj/charmm/coul/charmm/implicit} styles are part of the "molecule" package. The {lj/charmm/coul/long} -style is part of the "kspace" package. The styles with an {opt} or -{gpu} suffix are part of the "opt" or "gpu" packages. They are only -enabled if LAMMPS was built with those packages. See the "Making +style is part of the "kspace" package. They are only enabled if +LAMMPS was built with those packages. See the "Making LAMMPS"_Section_start.html#2_3 section for more info. Note that the molecule and kspace packages are installed by default. diff --git a/doc/pair_class2.html b/doc/pair_class2.html index c91e5a3ce3..f060f65814 100644 --- a/doc/pair_class2.html +++ b/doc/pair_class2.html @@ -23,7 +23,7 @@pair_style style args-
lj/class2 args = cutoff @@ -38,7 +38,6 @@Examples:
pair_style lj/class2 10.0 -pair_style lj/class2/gpu 10.0 pair_coeff * * 100.0 2.5 pair_coeff 1 2* 100.0 2.5 9.0@@ -49,7 +48,6 @@ pair_coeff 1 1 100.0 3.5 9.0 pair_coeff 1 1 100.0 3.5 9.0 9.0
pair_style lj/class2/coul/long 10.0 -pair_style lj/class2/coul/long/gpu 10.0 pair_style lj/class2/coul/long 10.0 8.0 pair_coeff * * 100.0 3.0 pair_coeff 1 1 100.0 3.5 9.0 @@ -62,16 +60,10 @@ pair_coeff 1 1 100.0 3.5 9.0Rc is the cutoff.
-Style lj/class2/gpu is a GPU-enabled version of style lj/class2. -See more details below. -
The lj/class2/coul/cut and lj/class2/coul/long styles add a Coulombic term as described for the lj/cut pair styles.
-Style lj/class2/coul/long/gpu is a GPU-enabled version of style -lj/class2/coul/long. See more details below. -
See (Sun) for a description of the COMPASS class2 force field.
The following coefficients must be defined for each pair of atoms @@ -110,18 +102,25 @@ cutoff distance.
-The styles with a gpu suffix are identical to the corresponding -styles without the suffix, except that each processor off-loads its -pairwise calculations to a GPU. Depending on the hardware available -on your system this can provide a speed-up. See this -section of the manual for more details. +
Styles with a cuda, gpu, or opt suffix are functionally the same +as the corresponding style without the suffix. They have been +optimized to run faster, depending on your available hardware, as +discussed in this section of the manual. +The accelerated styles take the same arguments and should produce the +same results, except for round-off and precision issues.
-Additional requirements in your input script to run the styles with a -gpu suffix are as follows: +
These accelerated styles are part of the "user-cuda", "gpu", and "opt" +packages respectively. They are only enabled if LAMMPS was built with +those packages. See the Making LAMMPS +section for more info.
-The newton pair setting must be off and the fix -gpu command must be used. The fix controls the GPU -selection and initialization steps. +
You can specify the accelerated styles explicitly in your input script +by including their suffix, or you can use the -suffix command-line +switch when you invoke LAMMPS, or you can use +the suffix command in your input script. +
+See this section of the manual for more +instructions on how to use the accelerated styles effectively.
Mixing, shift, table, tail correction, restart, rRESPA info:
@@ -155,11 +154,9 @@ support the inner, middle, outer keywords.Restrictions:
-All of these pair styles, except those ending in "gpu", are part of -the "class2" package. They are only enabled if LAMMPS was built with -that package. The styles with a gpu suffix are part of the "gpu" -package. They are only enabled if LAMMPS was built with that package. -See the Making LAMMPS section for more info. +
These styles are part of the "class2" package. They are only enabled +if LAMMPS was built with that package. See the Making +LAMMPS section for more info.
Related commands:
diff --git a/doc/pair_class2.txt b/doc/pair_class2.txt index 7e908767b8..1fec8f5db6 100644 --- a/doc/pair_class2.txt +++ b/doc/pair_class2.txt @@ -16,7 +16,7 @@ pair_style lj/class2/coul/long/gpu command :h3 pair_style style args :pre -style = {lj/class2} or {lj/class2/gpu} or {lj/class2/coul/cut} or {lj/class2/coul/long} or {lj/class2/coul/long/gpu} +style = {lj/class2} or {lj/class2/coul/cut} or {lj/class2/coul/long} args = list of arguments for a particular style :ul {lj/class2} args = cutoff cutoff = global cutoff for class 2 interactions (distance units) @@ -30,7 +30,6 @@ args = list of arguments for a particular style :ul [Examples:] pair_style lj/class2 10.0 -pair_style lj/class2/gpu 10.0 pair_coeff * * 100.0 2.5 pair_coeff 1 2* 100.0 2.5 9.0 :pre @@ -41,7 +40,6 @@ pair_coeff 1 1 100.0 3.5 9.0 pair_coeff 1 1 100.0 3.5 9.0 9.0 :pre pair_style lj/class2/coul/long 10.0 -pair_style lj/class2/coul/long/gpu 10.0 pair_style lj/class2/coul/long 10.0 8.0 pair_coeff * * 100.0 3.0 pair_coeff 1 1 100.0 3.5 9.0 :pre @@ -54,16 +52,10 @@ The {lj/class2} styles compute a 6/9 Lennard-Jones potential given by Rc is the cutoff. -Style {lj/class2/gpu} is a GPU-enabled version of style {lj/class2}. -See more details below. - The {lj/class2/coul/cut} and {lj/class2/coul/long} styles add a Coulombic term as described for the "lj/cut"_pair_lj.html pair styles. -Style {lj/class2/coul/long/gpu} is a GPU-enabled version of style -{lj/class2/coul/long}. See more details below. - See "(Sun)"_#Sun for a description of the COMPASS class2 force field. The following coefficients must be defined for each pair of atoms @@ -102,18 +94,25 @@ cutoff distance. :line -The styles with a {gpu} suffix are identical to the corresponding -styles without the suffix, except that each processor off-loads its -pairwise calculations to a GPU. Depending on the hardware available -on your system this can provide a speed-up. See "this -section"_doc/Section_accerate.html of the manual for more details. +Styles with a {cuda}, {gpu}, or {opt} suffix are functionally the same +as the corresponding style without the suffix. They have been +optimized to run faster, depending on your available hardware, as +discussed in "this section"_Section_accelerate.html of the manual. +The accelerated styles take the same arguments and should produce the +same results, except for round-off and precision issues. -Additional requirements in your input script to run the styles with a -{gpu} suffix are as follows: +These accelerated styles are part of the "user-cuda", "gpu", and "opt" +packages respectively. They are only enabled if LAMMPS was built with +those packages. See the "Making LAMMPS"_Section_start.html#2_3 +section for more info. -The "newton pair"_newton.html setting must be {off} and the "fix -gpu"_fix_gpu.html command must be used. The fix controls the GPU -selection and initialization steps. +You can specify the accelerated styles explicitly in your input script +by including their suffix, or you can use the "-suffix command-line +switch"_Section_start.html#2_6 when you invoke LAMMPS, or you can use +the "suffix"_suffix.html command in your input script. + +See "this section"_Section_accelerate.html of the manual for more +instructions on how to use the accelerated styles effectively. [Mixing, shift, table, tail correction, restart, rRESPA info]: @@ -147,11 +146,9 @@ support the {inner}, {middle}, {outer} keywords. [Restrictions:] -All of these pair styles, except those ending in "gpu", are part of -the "class2" package. They are only enabled if LAMMPS was built with -that package. The styles with a {gpu} suffix are part of the "gpu" -package. They are only enabled if LAMMPS was built with that package. -See the "Making LAMMPS"_Section_start.html#2_3 section for more info. +These styles are part of the "class2" package. They are only enabled +if LAMMPS was built with that package. See the "Making +LAMMPS"_Section_start.html#2_3 section for more info. [Related commands:] diff --git a/doc/pair_cmm.html b/doc/pair_cmm.html index 1c88a13329..76fbb900f1 100644 --- a/doc/pair_cmm.html +++ b/doc/pair_cmm.html @@ -23,13 +23,11 @@pair_style style args-
cg/cmm args = cutoff
cutoff = global cutoff for Lennard Jones interactions (distance units)
- cg/cmm/gpu args = cutoff
- cutoff = global cutoff for Lennard Jones interactions (distance units)
cg/cmm/coul/cut args = cutoff (cutoff2) (kappa)
cutoff = global cutoff for LJ (and Coulombic if only 1 arg) (distance units)
cutoff2 = global cutoff for Coulombic (optional) (distance units)
@@ -38,10 +36,6 @@
cutoff = global cutoff for LJ (and Coulombic if only 1 arg) (distance units)
cutoff2 = global cutoff for Coulombic (optional) (distance units)
-cg/cmm/coul/long/gpu args = cutoff (cutoff2) - cutoff = global cutoff for LJ (and Coulombic if only 1 arg) (distance units) - cutoff2 = global cutoff for Coulombic (optional) (distance units) -
Examples:
pair_style cg/cmm 2.5 @@ -65,9 +59,6 @@ given byas required for the CMM Coarse-grained MD parametrization discussed in (Shinoda) and (DeVane). Rc is the cutoff.
-Style cg/cmm/gpu is a GPU-enabled version of style cg/cmm. See -more details below. -
Style cg/cmm/coul/cut adds a Coulombic pairwise interaction given by
@@ -96,9 +87,6 @@ option. The Coulombic cutoff specified for this style means that pairwise interactions within this distance are computed directly; interactions outside that distance are computed in reciprocal space. -
Style cg/cmm/coul/long/gpu is a GPU-enabled version of style -cg/cmm/coul/long. See more details below. -
The following coefficients must be defined for each pair of atoms types via the pair_coeff command as in the examples above, or in the data file or restart files read by the @@ -129,18 +117,25 @@ pair_style command.
-The styles with a gpu suffix are identical to the corresponding -styles without the suffix, except that each processor off-loads its -pairwise calculations to a GPU. Depending on the hardware available -on your system this can provide a speed-up. See this -section of the manual for more details. +
Styles with a cuda, gpu, or opt suffix are functionally the same +as the corresponding style without the suffix. They have been +optimized to run faster, depending on your available hardware, as +discussed in this section of the manual. +The accelerated styles take the same arguments and should produce the +same results, except for round-off and precision issues.
-Additional requirements in your input script to run the styles with a -gpu suffix are as follows: +
These accelerated styles are part of the "user-cuda", "gpu", and "opt" +packages respectively. They are only enabled if LAMMPS was built with +those packages. See the Making LAMMPS +section for more info.
-The newton pair setting must be off and the fix -gpu command must be used. The fix controls the GPU -selection and initialization steps. +
You can specify the accelerated styles explicitly in your input script +by including their suffix, or you can use the -suffix command-line +switch when you invoke LAMMPS, or you can use +the suffix command in your input script. +
+See this section of the manual for more +instructions on how to use the accelerated styles effectively.
@@ -175,12 +170,10 @@ See the run_style command for details.Restrictions:
-All of the cg/cmm pair styles are part of the "user-cg-cmm" -package. They are only enabled if LAMMPS was built with that package. +
All of the cg/cmm pair styles are part of the "user-cg-cmm" package. The cg/cmm/coul/long style also requires the "kspace" package to be -built (which is enabled by default). The styles with a gpu suffix -are part of the "gpu" package. They are only enabled if LAMMPS was -built with that package. See the Making +built (which is enabled by default). They are only enabled if LAMMPS +was built with that package. See the Making LAMMPS section for more info.
Related commands: diff --git a/doc/pair_cmm.txt b/doc/pair_cmm.txt index a11f01cb04..0fd0cd8759 100644 --- a/doc/pair_cmm.txt +++ b/doc/pair_cmm.txt @@ -16,12 +16,10 @@ pair_style cg/cmm/coul/long/gpu command :h3 pair_style style args :pre -style = {cg/cmm} or {cg/cmm/gpu} or {cg/cmm/coul/cut} or {cg/cmm/coul/long} or {cg/cmm/coul/long/gpu} +style = {cg/cmm} or {cg/cmm/coul/cut} or {cg/cmm/coul/long} args = list of arguments for a particular style :ul {cg/cmm} args = cutoff cutoff = global cutoff for Lennard Jones interactions (distance units) - {cg/cmm/gpu} args = cutoff - cutoff = global cutoff for Lennard Jones interactions (distance units) {cg/cmm/coul/cut} args = cutoff (cutoff2) (kappa) cutoff = global cutoff for LJ (and Coulombic if only 1 arg) (distance units) cutoff2 = global cutoff for Coulombic (optional) (distance units) @@ -29,9 +27,6 @@ args = list of arguments for a particular style :ul {cg/cmm/coul/long} args = cutoff (cutoff2) cutoff = global cutoff for LJ (and Coulombic if only 1 arg) (distance units) cutoff2 = global cutoff for Coulombic (optional) (distance units) :pre - {cg/cmm/coul/long/gpu} args = cutoff (cutoff2) - cutoff = global cutoff for LJ (and Coulombic if only 1 arg) (distance units) - cutoff2 = global cutoff for Coulombic (optional) (distance units) :pre [Examples:] @@ -56,9 +51,6 @@ given by as required for the CMM Coarse-grained MD parametrization discussed in "(Shinoda)"_#Shinoda and "(DeVane)"_#DeVane. Rc is the cutoff. -Style {cg/cmm/gpu} is a GPU-enabled version of style {cg/cmm}. See -more details below. - Style {cg/cmm/coul/cut} adds a Coulombic pairwise interaction given by :c,image(Eqs/pair_coulomb.jpg) @@ -87,9 +79,6 @@ option. The Coulombic cutoff specified for this style means that pairwise interactions within this distance are computed directly; interactions outside that distance are computed in reciprocal space. -Style {cg/cmm/coul/long/gpu} is a GPU-enabled version of style -{cg/cmm/coul/long}. See more details below. - The following coefficients must be defined for each pair of atoms types via the "pair_coeff"_pair_coeff.html command as in the examples above, or in the data file or restart files read by the @@ -120,18 +109,25 @@ pair_style command. :line -The styles with a {gpu} suffix are identical to the corresponding -styles without the suffix, except that each processor off-loads its -pairwise calculations to a GPU. Depending on the hardware available -on your system this can provide a speed-up. See "this -section"_doc/Section_accerate.html of the manual for more details. +Styles with a {cuda}, {gpu}, or {opt} suffix are functionally the same +as the corresponding style without the suffix. They have been +optimized to run faster, depending on your available hardware, as +discussed in "this section"_Section_accelerate.html of the manual. +The accelerated styles take the same arguments and should produce the +same results, except for round-off and precision issues. -Additional requirements in your input script to run the styles with a -{gpu} suffix are as follows: +These accelerated styles are part of the "user-cuda", "gpu", and "opt" +packages respectively. They are only enabled if LAMMPS was built with +those packages. See the "Making LAMMPS"_Section_start.html#2_3 +section for more info. -The "newton pair"_newton.html setting must be {off} and the "fix -gpu"_fix_gpu.html command must be used. The fix controls the GPU -selection and initialization steps. +You can specify the accelerated styles explicitly in your input script +by including their suffix, or you can use the "-suffix command-line +switch"_Section_start.html#2_6 when you invoke LAMMPS, or you can use +the "suffix"_suffix.html command in your input script. + +See "this section"_Section_accelerate.html of the manual for more +instructions on how to use the accelerated styles effectively. :line @@ -166,12 +162,10 @@ See the "run_style"_run_style.html command for details. [Restrictions:] -All of the cg/cmm pair styles are part of the "user-cg-cmm" -package. They are only enabled if LAMMPS was built with that package. +All of the cg/cmm pair styles are part of the "user-cg-cmm" package. The {cg/cmm/coul/long} style also requires the "kspace" package to be -built (which is enabled by default). The styles with a {gpu} suffix -are part of the "gpu" package. They are only enabled if LAMMPS was -built with that package. See the "Making +built (which is enabled by default). They are only enabled if LAMMPS +was built with that package. See the "Making LAMMPS"_Section_start.html#2_3 section for more info. [Related commands:] diff --git a/doc/pair_eam.html b/doc/pair_eam.html index 6dbc2238d6..e84e9dc4b8 100644 --- a/doc/pair_eam.html +++ b/doc/pair_eam.html @@ -27,24 +27,21 @@
pair_style style-
- style = eam or eam/alloy or eam/cd or eam/fs or eam/opt or eam/alloy/opt or eam/fs/opt +
- style = eam or eam/alloy or eam/cd or eam/fs
Examples:
pair_style eam -pair_style eam/opt pair_coeff * * cuu3 pair_coeff 1*3 1*3 niu3.eampair_style eam/alloy -pair_style eam/alloy/opt pair_coeff * * ../potentials/NiAlH_jea.eam.alloy Ni Al Ni Nipair_style eam/cd pair_coeff * * ../potentials/FeCr.cdeam Fe Crpair_style eam/fs -pair_style eam/fs/opt pair_coeff * * NiAlH_jea.eam.fs Ni Al Ni NiDescription: @@ -62,9 +59,6 @@ nature of the EAM potential is a result of the embedding energy term. Both summations in the formula are over all neighbors J of atom I within the cutoff distance.
-Style (eam/opt is an optimized version of style eam. See -more details below. -
The cutoff distance and the tabulated values of the functionals F, rho, and phi are listed in one or more files which are specified by the pair_coeff command. These are ASCII text files @@ -183,9 +177,6 @@ above, setfl files contain explicit tabulated values for alloy interactions. Thus they allow more generality than funcfl files for modeling alloys.
-Style (eam/alloy/opt is an optimized version of style eam/alloy. -See more details below. -
For style eam/alloy, potential values are read from a file that is in the DYNAMO multi-element setfl format, except that element names (Ni, Cu, etc) are added to one of the lines in the file. If the @@ -306,9 +297,6 @@ so that different elements can contribute differently to the total electron density at an atomic site depending on the identity of the element at that atomic site.
-Style (eam/fs/opt is an optimized version of style eam/fs. See -more details below. -
The associated pair_coeff command for style eam/fs reads a DYNAMO setfl file that has been extended to include additional rho_alpha_beta arrays of tabulated values. A discussion of @@ -371,10 +359,25 @@ are listed.
-The styles with an opt suffix are identical to the corresponding -styles without the suffix, except that it is written in an optimized -fashion for faster CPU execution. See this -section of the manual for more details. +
Styles with a cuda, gpu, or opt suffix are functionally the same +as the corresponding style without the suffix. They have been +optimized to run faster, depending on your available hardware, as +discussed in this section of the manual. +The accelerated styles take the same arguments and should produce the +same results, except for round-off and precision issues. +
+These accelerated styles are part of the "user-cuda", "gpu", and "opt" +packages respectively. They are only enabled if LAMMPS was built with +those packages. See the Making LAMMPS +section for more info. +
+You can specify the accelerated styles explicitly in your input script +by including their suffix, or you can use the -suffix command-line +switch when you invoke LAMMPS, or you can use +the suffix command in your input script. +
+See this section of the manual for more +instructions on how to use the accelerated styles effectively.
@@ -401,11 +404,9 @@ an input script that reads a restart file.Restrictions:
-All of these styles except those ending in opt and the eam/cd -style are part of the "manybody" package. They are only enabled if -LAMMPS was built with that package (which it is by default). The -styles with an opt suffix are part of the "opt" package. They are -only enabled if LAMMPS was built with that packages. See the Making +
All of these styles except the eam/cd style are part of the +"manybody" package. They are only enabled if LAMMPS was built with +that package (which it is by default). See the Making LAMMPS section for more info.
The eam/cd style is part of the "user-cd-eam" package and also diff --git a/doc/pair_eam.txt b/doc/pair_eam.txt index d3cfb7f20c..45020a0538 100644 --- a/doc/pair_eam.txt +++ b/doc/pair_eam.txt @@ -18,24 +18,21 @@ pair_style eam/fs/opt command :h3 pair_style style :pre -style = {eam} or {eam/alloy} or {eam/cd} or {eam/fs} or {eam/opt} or {eam/alloy/opt} or {eam/fs/opt} :ul +style = {eam} or {eam/alloy} or {eam/cd} or {eam/fs} :ul [Examples:] pair_style eam -pair_style eam/opt pair_coeff * * cuu3 pair_coeff 1*3 1*3 niu3.eam :pre pair_style eam/alloy -pair_style eam/alloy/opt pair_coeff * * ../potentials/NiAlH_jea.eam.alloy Ni Al Ni Ni :pre pair_style eam/cd pair_coeff * * ../potentials/FeCr.cdeam Fe Cr :pre pair_style eam/fs -pair_style eam/fs/opt pair_coeff * * NiAlH_jea.eam.fs Ni Al Ni Ni :pre [Description:] @@ -53,9 +50,6 @@ nature of the EAM potential is a result of the embedding energy term. Both summations in the formula are over all neighbors J of atom I within the cutoff distance. -Style (eam/opt} is an optimized version of style {eam}. See -more details below. - The cutoff distance and the tabulated values of the functionals F, rho, and phi are listed in one or more files which are specified by the "pair_coeff"_pair_coeff.html command. These are ASCII text files @@ -174,9 +168,6 @@ above, {setfl} files contain explicit tabulated values for alloy interactions. Thus they allow more generality than {funcfl} files for modeling alloys. -Style (eam/alloy/opt} is an optimized version of style {eam/alloy}. -See more details below. - For style {eam/alloy}, potential values are read from a file that is in the DYNAMO multi-element {setfl} format, except that element names (Ni, Cu, etc) are added to one of the lines in the file. If the @@ -297,9 +288,6 @@ so that different elements can contribute differently to the total electron density at an atomic site depending on the identity of the element at that atomic site. -Style (eam/fs/opt} is an optimized version of style {eam/fs}. See -more details below. - The associated "pair_coeff"_pair_coeff.html command for style {eam/fs} reads a DYNAMO {setfl} file that has been extended to include additional rho_alpha_beta arrays of tabulated values. A discussion of @@ -362,10 +350,25 @@ are listed. :line -The styles with an {opt} suffix are identical to the corresponding -styles without the suffix, except that it is written in an optimized -fashion for faster CPU execution. See "this -section"_doc/Section_accerate.html of the manual for more details. +Styles with a {cuda}, {gpu}, or {opt} suffix are functionally the same +as the corresponding style without the suffix. They have been +optimized to run faster, depending on your available hardware, as +discussed in "this section"_Section_accelerate.html of the manual. +The accelerated styles take the same arguments and should produce the +same results, except for round-off and precision issues. + +These accelerated styles are part of the "user-cuda", "gpu", and "opt" +packages respectively. They are only enabled if LAMMPS was built with +those packages. See the "Making LAMMPS"_Section_start.html#2_3 +section for more info. + +You can specify the accelerated styles explicitly in your input script +by including their suffix, or you can use the "-suffix command-line +switch"_Section_start.html#2_6 when you invoke LAMMPS, or you can use +the "suffix"_suffix.html command in your input script. + +See "this section"_Section_accelerate.html of the manual for more +instructions on how to use the accelerated styles effectively. :line @@ -392,11 +395,9 @@ The eam pair styles can only be used via the {pair} keyword of the [Restrictions:] -All of these styles except those ending in {opt} and the {eam/cd} -style are part of the "manybody" package. They are only enabled if -LAMMPS was built with that package (which it is by default). The -styles with an {opt} suffix are part of the "opt" package. They are -only enabled if LAMMPS was built with that packages. See the "Making +All of these styles except the {eam/cd} style are part of the +"manybody" package. They are only enabled if LAMMPS was built with +that package (which it is by default). See the "Making LAMMPS"_Section_start.html#2_3 section for more info. The {eam/cd} style is part of the "user-cd-eam" package and also diff --git a/doc/pair_gayberne.html b/doc/pair_gayberne.html index aa9dccee5f..274f807699 100644 --- a/doc/pair_gayberne.html +++ b/doc/pair_gayberne.html @@ -17,10 +17,7 @@
pair_style gayberne gamma upsilon mu cutoff-pair_style gayberne/gpu gamma upsilon mu cutoff --
- style = gayberne or gayberne/gpu -
- gamma = shift for potential minimum (typically 1) +
- gamma = shift for potential minimum (typically 1)
- upsilon = exponent for eta orientation-dependent energy function
- mu = exponent for chi orientation-dependent energy function
- cutoff = global cutoff for interactions (distance units) @@ -28,7 +25,6 @@
Examples:
pair_style gayberne 1.0 1.0 1.0 10.0 -pair_style gayberne/gpu 1.0 1.0 1.0 10.0 pair_coeff * * 1.0 1.7 1.7 3.4 3.4 1.0 1.0 1.0Description: @@ -48,9 +44,6 @@ both particles are spherical, the formula reduces to the usual Lennard-Jones interaction (see details below for when Gay-Berne treats a particle as "spherical").
-Style gayberne/gpu is a GPU-enabled version of style gayberne. -See more details below. -
For large uniform molecules it has been shown that the energy parameters are approximately representable in terms of local contact curvatures (Everaers): @@ -139,18 +132,25 @@ pair_coeff sigma to 1.0 as well.
-The styles with a gpu suffix are identical to the corresponding -styles without the suffix, except that each processor off-loads its -pairwise calculations to a GPU. Depending on the hardware available -on your system this can provide a speed-up. See this -section of the manual for more details. +
Styles with a cuda, gpu, or opt suffix are functionally the same +as the corresponding style without the suffix. They have been +optimized to run faster, depending on your available hardware, as +discussed in this section of the manual. +The accelerated styles take the same arguments and should produce the +same results, except for round-off and precision issues.
-Additional requirements in your input script to run the styles with a -gpu suffix are as follows: +
These accelerated styles are part of the "user-cuda", "gpu", and "opt" +packages respectively. They are only enabled if LAMMPS was built with +those packages. See the Making LAMMPS +section for more info.
-The newton pair setting must be off and the fix -gpu command must be used. The fix controls the GPU -selection and initialization steps. +
You can specify the accelerated styles explicitly in your input script +by including their suffix, or you can use the -suffix command-line +switch when you invoke LAMMPS, or you can use +the suffix command in your input script. +
+See this section of the manual for more +instructions on how to use the accelerated styles effectively.
@@ -185,9 +185,8 @@ to be specified in an input script that reads a restart file.Restrictions:
-The gayberne style is part of the "asphere" package. The styles -with a gpu suffix are part of the "gpu" package. They are only -enabled if LAMMPS was built with those packages. See the Making +
The gayberne style is part of the "asphere" package. It is only +enabled if LAMMPS was built with that package. See the Making LAMMPS section for more info.
These pair style require that atoms store torque and a quaternion to diff --git a/doc/pair_gayberne.txt b/doc/pair_gayberne.txt index 8b8705cc71..ffa6f9ad50 100755 --- a/doc/pair_gayberne.txt +++ b/doc/pair_gayberne.txt @@ -12,9 +12,7 @@ pair_style gayberne/gpu command :h3 [Syntax:] pair_style gayberne gamma upsilon mu cutoff :pre -pair_style gayberne/gpu gamma upsilon mu cutoff :pre -style = {gayberne} or {gayberne/gpu} gamma = shift for potential minimum (typically 1) upsilon = exponent for eta orientation-dependent energy function mu = exponent for chi orientation-dependent energy function @@ -23,7 +21,6 @@ cutoff = global cutoff for interactions (distance units) :ul [Examples:] pair_style gayberne 1.0 1.0 1.0 10.0 -pair_style gayberne/gpu 1.0 1.0 1.0 10.0 pair_coeff * * 1.0 1.7 1.7 3.4 3.4 1.0 1.0 1.0 :pre [Description:] @@ -43,9 +40,6 @@ both particles are spherical, the formula reduces to the usual Lennard-Jones interaction (see details below for when Gay-Berne treats a particle as "spherical"). -Style {gayberne/gpu} is a GPU-enabled version of style {gayberne}. -See more details below. - For large uniform molecules it has been shown that the energy parameters are approximately representable in terms of local contact curvatures "(Everaers)"_#Everaers: @@ -134,18 +128,25 @@ pair_coeff sigma to 1.0 as well. :line -The styles with a {gpu} suffix are identical to the corresponding -styles without the suffix, except that each processor off-loads its -pairwise calculations to a GPU. Depending on the hardware available -on your system this can provide a speed-up. See "this -section"_doc/Section_accerate.html of the manual for more details. +Styles with a {cuda}, {gpu}, or {opt} suffix are functionally the same +as the corresponding style without the suffix. They have been +optimized to run faster, depending on your available hardware, as +discussed in "this section"_Section_accelerate.html of the manual. +The accelerated styles take the same arguments and should produce the +same results, except for round-off and precision issues. -Additional requirements in your input script to run the styles with a -{gpu} suffix are as follows: +These accelerated styles are part of the "user-cuda", "gpu", and "opt" +packages respectively. They are only enabled if LAMMPS was built with +those packages. See the "Making LAMMPS"_Section_start.html#2_3 +section for more info. -The "newton pair"_newton.html setting must be {off} and the "fix -gpu"_fix_gpu.html command must be used. The fix controls the GPU -selection and initialization steps. +You can specify the accelerated styles explicitly in your input script +by including their suffix, or you can use the "-suffix command-line +switch"_Section_start.html#2_6 when you invoke LAMMPS, or you can use +the "suffix"_suffix.html command in your input script. + +See "this section"_Section_accelerate.html of the manual for more +instructions on how to use the accelerated styles effectively. :line @@ -180,9 +181,8 @@ This pair style can only be used via the {pair} keyword of the [Restrictions:] -The {gayberne} style is part of the "asphere" package. The styles -with a {gpu} suffix are part of the "gpu" package. They are only -enabled if LAMMPS was built with those packages. See the "Making +The {gayberne} style is part of the "asphere" package. It is only +enabled if LAMMPS was built with that package. See the "Making LAMMPS"_Section_start.html#2_3 section for more info. These pair style require that atoms store torque and a quaternion to diff --git a/doc/pair_lj.html b/doc/pair_lj.html index 30cca3f1ce..27ab951478 100644 --- a/doc/pair_lj.html +++ b/doc/pair_lj.html @@ -31,21 +31,14 @@
pair_style style args-
- style = lj/cut or lj/cut/gpu or lj/cut/opt or lj/cut/coul/cut or lj/cut/coul/debye or lj/cut/coul/long or lj/cut/coul/long/tip4p +
- style = lj/cut or lj/cut/coul/cut or lj/cut/coul/debye or lj/cut/coul/long or lj/cut/coul/long/tip4p
- args = list of arguments for a particular style
lj/cut args = cutoff cutoff = global cutoff for Lennard Jones interactions (distance units) - lj/cut/gpu args = cutoff - cutoff = global cutoff for Lennard Jones interactions (distance units) - lj/cut/opt args = cutoff - cutoff = global cutoff for Lennard Jones interactions (distance units) lj/cut/coul/cut args = cutoff (cutoff2) cutoff = global cutoff for LJ (and Coulombic if only 1 arg) (distance units) cutoff2 = global cutoff for Coulombic (optional) (distance units) - lj/cut/coul/cut/gpu args = cutoff (cutoff2) - cutoff = global cutoff for LJ (and Coulombic if only 1 arg) (distance units) - cutoff2 = global cutoff for Coulombic (optional) (distance units) lj/cut/coul/debye args = kappa cutoff (cutoff2) kappa = Debye length (inverse distance units) cutoff = global cutoff for LJ (and Coulombic if only 1 arg) (distance units) @@ -53,9 +46,6 @@ lj/cut/coul/long args = cutoff (cutoff2) cutoff = global cutoff for LJ (and Coulombic if only 1 arg) (distance units) cutoff2 = global cutoff for Coulombic (optional) (distance units) - lj/cut/coul/long/gpu args = cutoff (cutoff2) - cutoff = global cutoff for LJ (and Coulombic if only 1 arg) (distance units) - cutoff2 = global cutoff for Coulombic (optional) (distance units) lj/cut/coul/long/tip4p args = otype htype btype atype qdist cutoff (cutoff2) otype,htype = atom types for TIP4P O and H btype,atype = bond and angle types for TIP4P waters @@ -66,13 +56,10 @@Examples:
pair_style lj/cut 2.5 -pair_style lj/cut/gpu 2.5 -pair_style lj/cut/opt 2.5 pair_coeff * * 1 1 pair_coeff 1 1 1 1.1 2.8pair_style lj/cut/coul/cut 10.0 -pair_style lj/cut/coul/cut/gpu 10.0 pair_style lj/cut/coul/cut 10.0 8.0 pair_coeff * * 100.0 3.0 pair_coeff 1 1 100.0 3.5 9.0 @@ -85,7 +72,6 @@ pair_coeff 1 1 1.0 1.5 2.5 pair_coeff 1 1 1.0 1.5 2.5 5.0pair_style lj/cut/coul/long 10.0 -pair_style lj/cut/coul/long/gpu 10.0 pair_style lj/cut/coul/long 10.0 8.0 pair_coeff * * 100.0 3.0 pair_coeff 1 1 100.0 3.5 9.0 @@ -104,12 +90,6 @@ given byRc is the cutoff.
-Style lj/cut/gpu is a GPU-enabled version of style lj/cut. -See more details below. -
-Style lj/cut/opt is an optimized version of style lj/cut. See -more details below. -
Style lj/cut/coul/cut adds a Coulombic pairwise interaction given by
@@ -121,9 +101,6 @@ specified in the pair_style command, it is used for both the LJ and Coulombic terms. If two cutoffs are specified, they are used as cutoffs for the LJ and Coulombic terms respectively. -
Style lj/cut/coul/cut/gpu is a GPU-enabled version of style -lj/cut/coul/cut. See more details below. -
Style lj/cut/coul/debye adds an additional exp() damping factor to the Coulombic term, given by
@@ -140,9 +117,6 @@ option. The Coulombic cutoff specified for this style means that pairwise interactions within this distance are computed directly; interactions outside that distance are computed in reciprocal space. -Style lj/cut/coul/long/gpu is a GPU-enabled version of style -lj/cut/coul/long. See more details below. -
Style lj/cut/coul/long/tip4p implements the TIP4P water model of (Jorgensen), which introduces a massless site located a short distance away from the oxygen atom along the bisector of the HOH @@ -189,23 +163,25 @@ Coulombic cutoff specified in the pair_style command.
-The styles with an opt suffix are identical to the corresponding -styles without the suffix, except that it is written in an optimized -fashion for faster CPU execution. See this -section of the manual for more details. +
Styles with a cuda, gpu, or opt suffix are functionally the same +as the corresponding style without the suffix. They have been +optimized to run faster, depending on your available hardware, as +discussed in this section of the manual. +The accelerated styles take the same arguments and should produce the +same results, except for round-off and precision issues.
-The styles with a gpu suffix are identical to the corresponding -styles without the suffix, except that each processor off-loads its -pairwise calculations to a GPU. Depending on the hardware available -on your system this can provide a speed-up. See this -section of the manual for more details. +
These accelerated styles are part of the "user-cuda", "gpu", and "opt" +packages respectively. They are only enabled if LAMMPS was built with +those packages. See the Making LAMMPS +section for more info.
-Additional requirements in your input script to run the styles with a -gpu suffix are as follows: +
You can specify the accelerated styles explicitly in your input script +by including their suffix, or you can use the -suffix command-line +switch when you invoke LAMMPS, or you can use +the suffix command in your input script.
-The newton pair setting must be off and the fix -gpu command must be used. The fix controls the GPU -selection and initialization steps. +
See this section of the manual for more +instructions on how to use the accelerated styles effectively.
@@ -246,11 +222,10 @@ See the run_style command for details.Restrictions:
The lj/cut/coul/long and lj/cut/coul/long/tip4p styles are part of -the "kspace" package. The styles with an opt or gpu suffix are -part of the "opt" or "gpu" packages. They are only enabled if LAMMPS -was built with those packages. See the Making -LAMMPS section for more info. Note that the -kspace package is installed by default. +the "kspace" package. They are only enabled if LAMMPS was built with +those packages. See the Making LAMMPS +section for more info. Note that the kspace package is installed by +default.
Related commands:
diff --git a/doc/pair_lj.txt b/doc/pair_lj.txt index b504138ffe..9ae74fe21b 100644 --- a/doc/pair_lj.txt +++ b/doc/pair_lj.txt @@ -20,21 +20,13 @@ pair_style lj/cut/coul/long/tip4p command :h3 pair_style style args :pre -style = {lj/cut} or {lj/cut/gpu} or {lj/cut/opt} or {lj/cut/coul/cut} \ - or {lj/cut/coul/debye} or {lj/cut/coul/long} or {lj/cut/coul/long/tip4p} +style = {lj/cut} or {lj/cut/coul/cut} or {lj/cut/coul/debye} or {lj/cut/coul/long} or {lj/cut/coul/long/tip4p} args = list of arguments for a particular style :ul {lj/cut} args = cutoff cutoff = global cutoff for Lennard Jones interactions (distance units) - {lj/cut/gpu} args = cutoff - cutoff = global cutoff for Lennard Jones interactions (distance units) - {lj/cut/opt} args = cutoff - cutoff = global cutoff for Lennard Jones interactions (distance units) {lj/cut/coul/cut} args = cutoff (cutoff2) cutoff = global cutoff for LJ (and Coulombic if only 1 arg) (distance units) cutoff2 = global cutoff for Coulombic (optional) (distance units) - {lj/cut/coul/cut/gpu} args = cutoff (cutoff2) - cutoff = global cutoff for LJ (and Coulombic if only 1 arg) (distance units) - cutoff2 = global cutoff for Coulombic (optional) (distance units) {lj/cut/coul/debye} args = kappa cutoff (cutoff2) kappa = Debye length (inverse distance units) cutoff = global cutoff for LJ (and Coulombic if only 1 arg) (distance units) @@ -42,9 +34,6 @@ args = list of arguments for a particular style :ul {lj/cut/coul/long} args = cutoff (cutoff2) cutoff = global cutoff for LJ (and Coulombic if only 1 arg) (distance units) cutoff2 = global cutoff for Coulombic (optional) (distance units) - {lj/cut/coul/long/gpu} args = cutoff (cutoff2) - cutoff = global cutoff for LJ (and Coulombic if only 1 arg) (distance units) - cutoff2 = global cutoff for Coulombic (optional) (distance units) {lj/cut/coul/long/tip4p} args = otype htype btype atype qdist cutoff (cutoff2) otype,htype = atom types for TIP4P O and H btype,atype = bond and angle types for TIP4P waters @@ -55,13 +44,10 @@ args = list of arguments for a particular style :ul [Examples:] pair_style lj/cut 2.5 -pair_style lj/cut/gpu 2.5 -pair_style lj/cut/opt 2.5 pair_coeff * * 1 1 pair_coeff 1 1 1 1.1 2.8 :pre pair_style lj/cut/coul/cut 10.0 -pair_style lj/cut/coul/cut/gpu 10.0 pair_style lj/cut/coul/cut 10.0 8.0 pair_coeff * * 100.0 3.0 pair_coeff 1 1 100.0 3.5 9.0 @@ -74,7 +60,6 @@ pair_coeff 1 1 1.0 1.5 2.5 pair_coeff 1 1 1.0 1.5 2.5 5.0 :pre pair_style lj/cut/coul/long 10.0 -pair_style lj/cut/coul/long/gpu 10.0 pair_style lj/cut/coul/long 10.0 8.0 pair_coeff * * 100.0 3.0 pair_coeff 1 1 100.0 3.5 9.0 :pre @@ -93,12 +78,6 @@ given by Rc is the cutoff. -Style {lj/cut/gpu} is a GPU-enabled version of style {lj/cut}. -See more details below. - -Style {lj/cut/opt} is an optimized version of style {lj/cut}. See -more details below. - Style {lj/cut/coul/cut} adds a Coulombic pairwise interaction given by :c,image(Eqs/pair_coulomb.jpg) @@ -110,9 +89,6 @@ specified in the pair_style command, it is used for both the LJ and Coulombic terms. If two cutoffs are specified, they are used as cutoffs for the LJ and Coulombic terms respectively. -Style {lj/cut/coul/cut/gpu} is a GPU-enabled version of style -{lj/cut/coul/cut}. See more details below. - Style {lj/cut/coul/debye} adds an additional exp() damping factor to the Coulombic term, given by @@ -129,9 +105,6 @@ option. The Coulombic cutoff specified for this style means that pairwise interactions within this distance are computed directly; interactions outside that distance are computed in reciprocal space. -Style {lj/cut/coul/long/gpu} is a GPU-enabled version of style -{lj/cut/coul/long}. See more details below. - Style {lj/cut/coul/long/tip4p} implements the TIP4P water model of "(Jorgensen)"_#Jorgensen, which introduces a massless site located a short distance away from the oxygen atom along the bisector of the HOH @@ -178,23 +151,25 @@ Coulombic cutoff specified in the pair_style command. :line -The styles with an {opt} suffix are identical to the corresponding -styles without the suffix, except that it is written in an optimized -fashion for faster CPU execution. See "this -section"_doc/Section_accerate.html of the manual for more details. +Styles with a {cuda}, {gpu}, or {opt} suffix are functionally the same +as the corresponding style without the suffix. They have been +optimized to run faster, depending on your available hardware, as +discussed in "this section"_Section_accelerate.html of the manual. +The accelerated styles take the same arguments and should produce the +same results, except for round-off and precision issues. -The styles with a {gpu} suffix are identical to the corresponding -styles without the suffix, except that each processor off-loads its -pairwise calculations to a GPU. Depending on the hardware available -on your system this can provide a speed-up. See "this -section"_doc/Section_accerate.html of the manual for more details. +These accelerated styles are part of the "user-cuda", "gpu", and "opt" +packages respectively. They are only enabled if LAMMPS was built with +those packages. See the "Making LAMMPS"_Section_start.html#2_3 +section for more info. -Additional requirements in your input script to run the styles with a -{gpu} suffix are as follows: +You can specify the accelerated styles explicitly in your input script +by including their suffix, or you can use the "-suffix command-line +switch"_Section_start.html#2_6 when you invoke LAMMPS, or you can use +the "suffix"_suffix.html command in your input script. -The "newton pair"_newton.html setting must be {off} and the "fix -gpu"_fix_gpu.html command must be used. The fix controls the GPU -selection and initialization steps. +See "this section"_Section_accelerate.html of the manual for more +instructions on how to use the accelerated styles effectively. :line @@ -235,11 +210,10 @@ See the "run_style"_run_style.html command for details. [Restrictions:] The {lj/cut/coul/long} and {lj/cut/coul/long/tip4p} styles are part of -the "kspace" package. The styles with an {opt} or {gpu} suffix are -part of the "opt" or "gpu" packages. They are only enabled if LAMMPS -was built with those packages. See the "Making -LAMMPS"_Section_start.html#2_3 section for more info. Note that the -kspace package is installed by default. +the "kspace" package. They are only enabled if LAMMPS was built with +those packages. See the "Making LAMMPS"_Section_start.html#2_3 +section for more info. Note that the kspace package is installed by +default. [Related commands:] diff --git a/doc/pair_lj96_cut.html b/doc/pair_lj96_cut.html index 61a93078fc..ccced703d1 100644 --- a/doc/pair_lj96_cut.html +++ b/doc/pair_lj96_cut.html @@ -15,15 +15,13 @@Syntax:
-pair_style style cutoff +pair_style lj96/cut cutoff-
- style = lj96/cut or lj96/cut/gpu -
- cutoff = global cutoff for lj96/cut interactions (distance units) +
- cutoff = global cutoff for lj96/cut interactions (distance units)
Examples:
pair_style lj96/cut 2.5 -pair_style lj96/cut/gpu 2.5 pair_coeff * * 1.0 1.0 4.0 pair_coeff 1 1 1.0 1.0@@ -36,9 +34,6 @@ of the standard 12/6 potential, given byRc is the cutoff.
-Style lj96/cut/gpu is a GPU-enabled version of style lj96/cut. -See more details below. -
The following coefficients must be defined for each pair of atoms types via the pair_coeff command as in the examples above, or in the data file or restart files read by the @@ -54,18 +49,25 @@ cutoff specified in the pair_style command is used.
-The styles with a gpu suffix are identical to the corresponding -styles without the suffix, except that each processor off-loads its -pairwise calculations to a GPU. Depending on the hardware available -on your system this can provide a speed-up. See this -section of the manual for more details. +
Styles with a cuda, gpu, or opt suffix are functionally the same +as the corresponding style without the suffix. They have been +optimized to run faster, depending on your available hardware, as +discussed in this section of the manual. +The accelerated styles take the same arguments and should produce the +same results, except for round-off and precision issues.
-Additional requirements in your input script to run the styles with a -gpu suffix are as follows: +
These accelerated styles are part of the "user-cuda", "gpu", and "opt" +packages respectively. They are only enabled if LAMMPS was built with +those packages. See the Making LAMMPS +section for more info.
-The newton pair setting must be off and the fix -gpu command must be used. The fix controls the GPU -selection and initialization steps. +
You can specify the accelerated styles explicitly in your input script +by including their suffix, or you can use the -suffix command-line +switch when you invoke LAMMPS, or you can use +the suffix command in your input script. +
+See this section of the manual for more +instructions on how to use the accelerated styles effectively.
@@ -98,11 +100,7 @@ details.
-Restrictions: -
-The styles with a gpu suffix are part of the "gpu" package. They -are only enabled if LAMMPS was built with those packages. See the -Making LAMMPS section for more info. +
Restrictions: none
Related commands:
diff --git a/doc/pair_lj96_cut.txt b/doc/pair_lj96_cut.txt index 6064d8fd93..271ccaafc0 100644 --- a/doc/pair_lj96_cut.txt +++ b/doc/pair_lj96_cut.txt @@ -11,15 +11,13 @@ pair_style lj96/cut/gpu command :h3 [Syntax:] -pair_style style cutoff :pre +pair_style lj96/cut cutoff :pre -style = {lj96/cut} or {lj96/cut/gpu} cutoff = global cutoff for lj96/cut interactions (distance units) :ul [Examples:] pair_style lj96/cut 2.5 -pair_style lj96/cut/gpu 2.5 pair_coeff * * 1.0 1.0 4.0 pair_coeff 1 1 1.0 1.0 :pre @@ -32,9 +30,6 @@ of the standard 12/6 potential, given by Rc is the cutoff. -Style {lj96/cut/gpu} is a GPU-enabled version of style {lj96/cut}. -See more details below. - The following coefficients must be defined for each pair of atoms types via the "pair_coeff"_pair_coeff.html command as in the examples above, or in the data file or restart files read by the @@ -50,18 +45,25 @@ cutoff specified in the pair_style command is used. :line -The styles with a {gpu} suffix are identical to the corresponding -styles without the suffix, except that each processor off-loads its -pairwise calculations to a GPU. Depending on the hardware available -on your system this can provide a speed-up. See "this -section"_doc/Section_accerate.html of the manual for more details. +Styles with a {cuda}, {gpu}, or {opt} suffix are functionally the same +as the corresponding style without the suffix. They have been +optimized to run faster, depending on your available hardware, as +discussed in "this section"_Section_accelerate.html of the manual. +The accelerated styles take the same arguments and should produce the +same results, except for round-off and precision issues. -Additional requirements in your input script to run the styles with a -{gpu} suffix are as follows: +These accelerated styles are part of the "user-cuda", "gpu", and "opt" +packages respectively. They are only enabled if LAMMPS was built with +those packages. See the "Making LAMMPS"_Section_start.html#2_3 +section for more info. -The "newton pair"_newton.html setting must be {off} and the "fix -gpu"_fix_gpu.html command must be used. The fix controls the GPU -selection and initialization steps. +You can specify the accelerated styles explicitly in your input script +by including their suffix, or you can use the "-suffix command-line +switch"_Section_start.html#2_6 when you invoke LAMMPS, or you can use +the "suffix"_suffix.html command in your input script. + +See "this section"_Section_accelerate.html of the manual for more +instructions on how to use the accelerated styles effectively. :line @@ -94,11 +96,7 @@ details. :line -[Restrictions:] - -The styles with a {gpu} suffix are part of the "gpu" package. They -are only enabled if LAMMPS was built with those packages. See the -"Making LAMMPS"_Section_start.html#2_3 section for more info. +[Restrictions:] none [Related commands:] diff --git a/doc/pair_lj_expand.html b/doc/pair_lj_expand.html index bf10e1fd45..6c63064f38 100644 --- a/doc/pair_lj_expand.html +++ b/doc/pair_lj_expand.html @@ -17,8 +17,6 @@pair_style lj/expand cutoff-pair_style lj/expand/gpu cutoff -
Examples: @@ -53,23 +51,27 @@ commands, or by mixing as described below:
The delta values can be positive or negative. The last coefficient is optional. If not specified, the global LJ cutoff is used.
-Style lj/expand/gpu is a GPU-enabled version of style lj/expand. -See more details below. -
The styles with a gpu suffix are identical to the corresponding -styles without the suffix, except that each processor off-loads its -pairwise calculations to a GPU. Depending on the hardware available -on your system this can provide a speed-up. See this -section of the manual for more details. +
Styles with a cuda, gpu, or opt suffix are functionally the same +as the corresponding style without the suffix. They have been +optimized to run faster, depending on your available hardware, as +discussed in this section of the manual. +The accelerated styles take the same arguments and should produce the +same results, except for round-off and precision issues.
-Additional requirements in your input script to run the styles with a -gpu suffix are as follows: +
These accelerated styles are part of the "user-cuda", "gpu", and "opt" +packages respectively. They are only enabled if LAMMPS was built with +those packages. See the Making LAMMPS +section for more info.
-The newton pair setting must be off and the fix -gpu command must be used. The fix controls the GPU -selection and initialization steps. +
You can specify the accelerated styles explicitly in your input script +by including their suffix, or you can use the -suffix command-line +switch when you invoke LAMMPS, or you can use +the suffix command in your input script. +
+See this section of the manual for more +instructions on how to use the accelerated styles effectively.
Restrictions: -
-The styles with a gpu suffix are part of the "gpu" package. They -are only enabled if LAMMPS was built with those packages. See the -Making LAMMPS section for more info. +
Restrictions: none
Related commands:
diff --git a/doc/pair_lj_expand.txt b/doc/pair_lj_expand.txt index 3a5cc80bf2..18a52b9479 100644 --- a/doc/pair_lj_expand.txt +++ b/doc/pair_lj_expand.txt @@ -12,7 +12,6 @@ pair_style lj/expand/gpu command :h3 [Syntax:] pair_style lj/expand cutoff :pre -pair_style lj/expand/gpu cutoff :pre cutoff = global cutoff for lj/expand interactions (distance units) :ul @@ -48,23 +47,27 @@ cutoff (distance units) :ul The delta values can be positive or negative. The last coefficient is optional. If not specified, the global LJ cutoff is used. -Style {lj/expand/gpu} is a GPU-enabled version of style {lj/expand}. -See more details below. - :line -The styles with a {gpu} suffix are identical to the corresponding -styles without the suffix, except that each processor off-loads its -pairwise calculations to a GPU. Depending on the hardware available -on your system this can provide a speed-up. See "this -section"_doc/Section_accerate.html of the manual for more details. +Styles with a {cuda}, {gpu}, or {opt} suffix are functionally the same +as the corresponding style without the suffix. They have been +optimized to run faster, depending on your available hardware, as +discussed in "this section"_Section_accelerate.html of the manual. +The accelerated styles take the same arguments and should produce the +same results, except for round-off and precision issues. -Additional requirements in your input script to run the styles with a -{gpu} suffix are as follows: +These accelerated styles are part of the "user-cuda", "gpu", and "opt" +packages respectively. They are only enabled if LAMMPS was built with +those packages. See the "Making LAMMPS"_Section_start.html#2_3 +section for more info. -The "newton pair"_newton.html setting must be {off} and the "fix -gpu"_fix_gpu.html command must be used. The fix controls the GPU -selection and initialization steps. +You can specify the accelerated styles explicitly in your input script +by including their suffix, or you can use the "-suffix command-line +switch"_Section_start.html#2_6 when you invoke LAMMPS, or you can use +the "suffix"_suffix.html command in your input script. + +See "this section"_Section_accelerate.html of the manual for more +instructions on how to use the accelerated styles effectively. :line @@ -97,11 +100,7 @@ This pair style can only be used via the {pair} keyword of the :line -[Restrictions:] - -The styles with a {gpu} suffix are part of the "gpu" package. They -are only enabled if LAMMPS was built with those packages. See the -"Making LAMMPS"_Section_start.html#2_3 section for more info. +[Restrictions:] none [Related commands:] diff --git a/doc/pair_morse.html b/doc/pair_morse.html index 108731ef4b..4ddab3f7c0 100644 --- a/doc/pair_morse.html +++ b/doc/pair_morse.html @@ -19,16 +19,11 @@pair_style morse cutoff-
pair_style morse/gpu cutoff --
pair_style morse/opt cutoff -
Examples:
pair_style morse 2.5 -pair_style morse/opt 2.5 pair_coeff * * 100.0 2.0 1.5 pair_coeff 1 1 100.0 2.0 1.5 3.0@@ -54,31 +49,27 @@ commands:
The last coefficient is optional. If not specified, the global morse cutoff is used.
-Style (morse/opt is an optimized version of style eam. See -more details below. -
-Style morse/gpu is a GPU-enabled version of style morse. -See more details below. -
The styles with an opt suffix are identical to the corresponding -styles without the suffix, except that it is written in an optimized -fashion for faster CPU execution. See this -section of the manual for more details. +
Styles with a cuda, gpu, or opt suffix are functionally the same +as the corresponding style without the suffix. They have been +optimized to run faster, depending on your available hardware, as +discussed in this section of the manual. +The accelerated styles take the same arguments and should produce the +same results, except for round-off and precision issues.
-The styles with a gpu suffix are identical to the corresponding -styles without the suffix, except that each processor off-loads its -pairwise calculations to a GPU. Depending on the hardware available -on your system this can provide a speed-up. See this -section of the manual for more details. +
These accelerated styles are part of the "user-cuda", "gpu", and "opt" +packages respectively. They are only enabled if LAMMPS was built with +those packages. See the Making LAMMPS +section for more info.
-Additional requirements in your input script to run the styles with a -gpu suffix are as follows: +
You can specify the accelerated styles explicitly in your input script +by including their suffix, or you can use the -suffix command-line +switch when you invoke LAMMPS, or you can use +the suffix command in your input script.
-The newton pair setting must be off and the fix -gpu command must be used. The fix controls the GPU -selection and initialization steps. +
See this section of the manual for more +instructions on how to use the accelerated styles effectively.
Restrictions: -
-The styles with an opt or gpu suffix are part of the "opt" or -"gpu" packages. They are only enabled if LAMMPS was built with those -packages. See the Making LAMMPS section for -more info. +
Restrictions: none
Related commands:
diff --git a/doc/pair_morse.txt b/doc/pair_morse.txt index d8a5d6bc5e..bce8a79a17 100644 --- a/doc/pair_morse.txt +++ b/doc/pair_morse.txt @@ -13,15 +13,12 @@ pair_style morse/opt command :h3 [Syntax:] pair_style morse cutoff :pre -pair_style morse/gpu cutoff :pre -pair_style morse/opt cutoff :pre cutoff = global cutoff for Morse interactions (distance units) :ul [Examples:] pair_style morse 2.5 -pair_style morse/opt 2.5 pair_coeff * * 100.0 2.0 1.5 pair_coeff 1 1 100.0 2.0 1.5 3.0 :pre @@ -47,31 +44,27 @@ cutoff (distance units) :ul The last coefficient is optional. If not specified, the global morse cutoff is used. -Style (morse/opt} is an optimized version of style {eam}. See -more details below. - -Style {morse/gpu} is a GPU-enabled version of style {morse}. -See more details below. - :line -The styles with an {opt} suffix are identical to the corresponding -styles without the suffix, except that it is written in an optimized -fashion for faster CPU execution. See "this -section"_doc/Section_accerate.html of the manual for more details. +Styles with a {cuda}, {gpu}, or {opt} suffix are functionally the same +as the corresponding style without the suffix. They have been +optimized to run faster, depending on your available hardware, as +discussed in "this section"_Section_accelerate.html of the manual. +The accelerated styles take the same arguments and should produce the +same results, except for round-off and precision issues. -The styles with a {gpu} suffix are identical to the corresponding -styles without the suffix, except that each processor off-loads its -pairwise calculations to a GPU. Depending on the hardware available -on your system this can provide a speed-up. See "this -section"_doc/Section_accerate.html of the manual for more details. +These accelerated styles are part of the "user-cuda", "gpu", and "opt" +packages respectively. They are only enabled if LAMMPS was built with +those packages. See the "Making LAMMPS"_Section_start.html#2_3 +section for more info. -Additional requirements in your input script to run the styles with a -{gpu} suffix are as follows: +You can specify the accelerated styles explicitly in your input script +by including their suffix, or you can use the "-suffix command-line +switch"_Section_start.html#2_6 when you invoke LAMMPS, or you can use +the "suffix"_suffix.html command in your input script. -The "newton pair"_newton.html setting must be {off} and the "fix -gpu"_fix_gpu.html command must be used. The fix controls the GPU -selection and initialization steps. +See "this section"_Section_accelerate.html of the manual for more +instructions on how to use the accelerated styles effectively. :line @@ -100,12 +93,7 @@ These pair styles can only be used via the {pair} keyword of the :line -[Restrictions:] - -The styles with an {opt} or {gpu} suffix are part of the "opt" or -"gpu" packages. They are only enabled if LAMMPS was built with those -packages. See the "Making LAMMPS"_Section_start.html#2_3 section for -more info. +[Restrictions:] none [Related commands:] diff --git a/doc/pair_resquared.html b/doc/pair_resquared.html index 2d91cae16d..5d46cb66ff 100644 --- a/doc/pair_resquared.html +++ b/doc/pair_resquared.html @@ -15,15 +15,13 @@Syntax:
-pair_style style cutoff +pair_style resquared cutoff-
Examples:
pair_style resquared 10.0 -pair_style resquared/gpu 10.0 pair_coeff * * 1.0 1.0 1.7 3.4 3.4 1.0 1.0 1.0
Description: @@ -36,9 +34,6 @@ of small spheres of size sigma. LJ particles are a single sphere of size sigma. The distinction is made to allow the pair style to make efficient calculations of ellipsoid/solvent interactions.
-Style resquared/gpu is a GPU-enabled version of style resquared. -See more details below. -
Details for the equations used are given in the references below and in this supplementary document.
@@ -150,18 +145,25 @@ specified in the pair_style command is used.The styles with a gpu suffix are identical to the corresponding -styles without the suffix, except that each processor off-loads its -pairwise calculations to a GPU. Depending on the hardware available -on your system this can provide a speed-up. See this -section of the manual for more details. +
Styles with a cuda, gpu, or opt suffix are functionally the same +as the corresponding style without the suffix. They have been +optimized to run faster, depending on your available hardware, as +discussed in this section of the manual. +The accelerated styles take the same arguments and should produce the +same results, except for round-off and precision issues.
-Additional requirements in your input script to run the styles with a -gpu suffix are as follows: +
These accelerated styles are part of the "user-cuda", "gpu", and "opt" +packages respectively. They are only enabled if LAMMPS was built with +those packages. See the Making LAMMPS +section for more info.
-The newton pair setting must be off and the fix -gpu command must be used. The fix controls the GPU -selection and initialization steps. +
You can specify the accelerated styles explicitly in your input script +by including their suffix, or you can use the -suffix command-line +switch when you invoke LAMMPS, or you can use +the suffix command in your input script. +
+See this section of the manual for more +instructions on how to use the accelerated styles effectively.
Restrictions:
-This style is part of the "asphere" package. The styles with a gpu
-suffix are part of the "gpu" package. They are only enabled if LAMMPS
-was built with those packages. See the Making
+ This style is part of the "asphere" package. It is only enabled if
+LAMMPS was built with that package. See the Making
LAMMPS section for more info.
This pair style requires that atoms be ellipsoids as defined by the
diff --git a/doc/pair_resquared.txt b/doc/pair_resquared.txt
index 213dbd3a90..dfd330c722 100755
--- a/doc/pair_resquared.txt
+++ b/doc/pair_resquared.txt
@@ -11,15 +11,13 @@ pair_style resquared/gpu command :h3
[Syntax:]
-pair_style style cutoff :pre
+pair_style resquared cutoff :pre
-style = {resquared} or {resquared/gpu}
cutoff = global cutoff for interactions (distance units) :ul
[Examples:]
pair_style resquared 10.0
-pair_style resquared/gpu 10.0
pair_coeff * * 1.0 1.0 1.7 3.4 3.4 1.0 1.0 1.0 :pre
[Description:]
@@ -32,9 +30,6 @@ of small spheres of size sigma. LJ particles are a single sphere of
size sigma. The distinction is made to allow the pair style to make
efficient calculations of ellipsoid/solvent interactions.
-Style {resquared/gpu} is a GPU-enabled version of style {resquared}.
-See more details below.
-
Details for the equations used are given in the references below and
in "this supplementary document"_PDF/pair_resquared_extra.pdf.
@@ -146,18 +141,25 @@ specified in the pair_style command is used.
:line
-The styles with a {gpu} suffix are identical to the corresponding
-styles without the suffix, except that each processor off-loads its
-pairwise calculations to a GPU. Depending on the hardware available
-on your system this can provide a speed-up. See "this
-section"_doc/Section_accerate.html of the manual for more details.
+Styles with a {cuda}, {gpu}, or {opt} suffix are functionally the same
+as the corresponding style without the suffix. They have been
+optimized to run faster, depending on your available hardware, as
+discussed in "this section"_Section_accelerate.html of the manual.
+The accelerated styles take the same arguments and should produce the
+same results, except for round-off and precision issues.
-Additional requirements in your input script to run the styles with a
-{gpu} suffix are as follows:
+These accelerated styles are part of the "user-cuda", "gpu", and "opt"
+packages respectively. They are only enabled if LAMMPS was built with
+those packages. See the "Making LAMMPS"_Section_start.html#2_3
+section for more info.
-The "newton pair"_newton.html setting must be {off} and the "fix
-gpu"_fix_gpu.html command must be used. The fix controls the GPU
-selection and initialization steps.
+You can specify the accelerated styles explicitly in your input script
+by including their suffix, or you can use the "-suffix command-line
+switch"_Section_start.html#2_6 when you invoke LAMMPS, or you can use
+the "suffix"_suffix.html command in your input script.
+
+See "this section"_Section_accelerate.html of the manual for more
+instructions on how to use the accelerated styles effectively.
:line
@@ -199,9 +201,8 @@ command"_run_style.html.
[Restrictions:]
-This style is part of the "asphere" package. The styles with a {gpu}
-suffix are part of the "gpu" package. They are only enabled if LAMMPS
-was built with those packages. See the "Making
+This style is part of the "asphere" package. It is only enabled if
+LAMMPS was built with that package. See the "Making
LAMMPS"_Section_start.html#2_3 section for more info.
This pair style requires that atoms be ellipsoids as defined by the