Compare commits
319 Commits
patch_31Au
...
subversion
| Author | SHA1 | Date | |
|---|---|---|---|
| 78533e25dc | |||
| be3cacddef | |||
| 5d3e441e59 | |||
| 43e2d2443f | |||
| 406a4da000 | |||
| 841cae3682 | |||
| 28af591168 | |||
| 20805d47b3 | |||
| 4008b967ee | |||
| c79a21970b | |||
| c771e00a1c | |||
| 507b038f41 | |||
| bd4d5bdcac | |||
| e0d0ef12cc | |||
| 43370b75a1 | |||
| 60f2b25b3f | |||
| 9a3d05a86a | |||
| 88eca7c181 | |||
| 298e62ae70 | |||
| 6ac456e751 | |||
| 02b6519599 | |||
| b471be9638 | |||
| 019d28ae7d | |||
| 062450abc8 | |||
| e13633b881 | |||
| 52c45f67f3 | |||
| 1f0e32e0ae | |||
| 465f33d3f4 | |||
| fdef2e7011 | |||
| e878b8fd52 | |||
| 460202c149 | |||
| e6adb5c2a1 | |||
| 9b01275837 | |||
| 23cfb88bb9 | |||
| 645d30dfa4 | |||
| 6dc24ea90d | |||
| 1820b6785f | |||
| 9c01b1b75f | |||
| 9619521426 | |||
| f5b8906eb6 | |||
| eb79a5f03c | |||
| 9daf579909 | |||
| 515a68d663 | |||
| 2bf46e0c11 | |||
| de83ad9df1 | |||
| 27805f36b2 | |||
| f9f2c96d17 | |||
| c093ec15a5 | |||
| 663f6403ef | |||
| f22fcaed9f | |||
| fd2bdcd5d5 | |||
| f8ee20372b | |||
| 3e5991f7da | |||
| 8423271025 | |||
| 77339b61b7 | |||
| 72c5cf7045 | |||
| fd8876234a | |||
| 2b77cb5c5d | |||
| a56413c0da | |||
| 8b3c8341e1 | |||
| 6e26482003 | |||
| 9e91ee9ffc | |||
| 171530acc1 | |||
| 58fb78379d | |||
| 102f30005c | |||
| f7bd264706 | |||
| 35a929015e | |||
| 13a8dbca4a | |||
| 5a46527886 | |||
| c0165e1261 | |||
| f55a51e1b5 | |||
| b597aa6dac | |||
| 702b480cc0 | |||
| 07c0fccf7b | |||
| d85648ae2d | |||
| 9c1de594e8 | |||
| 139a159a5d | |||
| 2854350708 | |||
| d289d195e9 | |||
| ac342f3687 | |||
| 0f819c1e25 | |||
| c28560301d | |||
| 2449e14f6d | |||
| 8486258c73 | |||
| e1b30b2787 | |||
| a47b59c303 | |||
| 4732f90521 | |||
| 7339480095 | |||
| 68a358a0f4 | |||
| 34216ead1f | |||
| 0bb23c5810 | |||
| f9f487f5ca | |||
| 44fd05c97d | |||
| 4b8b9b97cc | |||
| fbc8fa111a | |||
| c71bba1980 | |||
| 47a6449148 | |||
| e72aa59d83 | |||
| 1b7e8eb7aa | |||
| bee06997fb | |||
| 60e08ad7b7 | |||
| 104ad18e0c | |||
| 155dccacda | |||
| 35f8a9009d | |||
| 5f04559071 | |||
| 89719fb171 | |||
| 6963dd2d83 | |||
| 11e436ab43 | |||
| b0d24754a3 | |||
| 8320f9dcee | |||
| 45715f993c | |||
| abab6e8d99 | |||
| 3846395e09 | |||
| c24d10ad7c | |||
| e14a2bf12d | |||
| 2d36ae2f8d | |||
| 0d64dd3eea | |||
| 8bd4c37e0e | |||
| a70e2f6db4 | |||
| 8d7ba77ab2 | |||
| 745050a374 | |||
| c2b852f940 | |||
| 489272ed91 | |||
| a5ee9da9c5 | |||
| 7a3103c911 | |||
| ecfa2d85f5 | |||
| 9b9291b417 | |||
| fa304895ea | |||
| 64c021824a | |||
| 6a5a95d0b0 | |||
| 810a7bca52 | |||
| 09a388e5d4 | |||
| 09eb377cb8 | |||
| a70d5f71b9 | |||
| d692a47d73 | |||
| 40762e69ce | |||
| 3856965055 | |||
| a4eaf200b5 | |||
| 1a3a1b1e72 | |||
| da9bea2355 | |||
| 98b025d053 | |||
| 2af2091bd2 | |||
| 6471c2750b | |||
| 76182cb892 | |||
| dad749b37f | |||
| 0701201e03 | |||
| 80d6518602 | |||
| e81c5e3fdf | |||
| 47be003191 | |||
| 41745a3b90 | |||
| 5692ea7977 | |||
| 597f874f3d | |||
| 2b82e83d13 | |||
| 23b468e74f | |||
| 16efa68d35 | |||
| fa8d7c1d6e | |||
| 846f11db5c | |||
| 1ee5247500 | |||
| 1d8db38a75 | |||
| f378934817 | |||
| aa8cce5b06 | |||
| 57c0d77c71 | |||
| b1f7de2776 | |||
| ebe6ee813c | |||
| b222f8b946 | |||
| 6b0a8628f2 | |||
| 5c141edca7 | |||
| 3a2cea52d8 | |||
| 45f2940225 | |||
| 07bb6fe443 | |||
| b6b7c3ad67 | |||
| 55fa0f2e8a | |||
| c770e270f2 | |||
| d077a8b024 | |||
| e147701e87 | |||
| cc0be86470 | |||
| 34966b3a38 | |||
| 9197eea89b | |||
| b682c8d98a | |||
| c7d3af81f1 | |||
| 8ded262792 | |||
| 7830537091 | |||
| e24fff05b3 | |||
| 30e14c7f37 | |||
| 5ffdbc1a97 | |||
| 639b22cd56 | |||
| 8e0b69478a | |||
| dd296bf237 | |||
| 8de4680898 | |||
| ef4dc21c15 | |||
| ceff3565d6 | |||
| 41f666db52 | |||
| f2df16e0f0 | |||
| 4475897049 | |||
| 02ae428e37 | |||
| 21887831ff | |||
| 7a13d54a0d | |||
| 01209d450c | |||
| bc250ab7b9 | |||
| 0270a33ab4 | |||
| 287c57daf4 | |||
| 7d3d315753 | |||
| 77fa5ee08d | |||
| 0fd26f7b9d | |||
| f092df34d4 | |||
| e517e5a5a5 | |||
| 79250a7916 | |||
| 3de6f5b9c3 | |||
| b42db824da | |||
| c587a3106f | |||
| d7304c5843 | |||
| 8ed519045f | |||
| 18b452c9c2 | |||
| 8770adf78a | |||
| 2a07f06924 | |||
| bb78ea0248 | |||
| bfdaa09a72 | |||
| a1cb91486b | |||
| b9fc540733 | |||
| c0b98f5299 | |||
| 5d076bafea | |||
| 51e7c77aec | |||
| 8fa049edda | |||
| 218ab76d0b | |||
| 09a3a259c2 | |||
| aab7de9579 | |||
| 616724091e | |||
| 252c52b9b8 | |||
| 3089edfce1 | |||
| 82badf85a4 | |||
| 6d759f1b6f | |||
| 2babec1b38 | |||
| 15dbceee76 | |||
| 49f6e138e6 | |||
| 773aec0f1c | |||
| a9b065ca3a | |||
| bc43acd4e9 | |||
| 95ed575b66 | |||
| 4f1ea743bd | |||
| 9a6dc87fa6 | |||
| daf719470f | |||
| fdd61cf314 | |||
| 3593ca7f48 | |||
| d58e86625b | |||
| 06fa6ce105 | |||
| c3c2587fef | |||
| 115d67c1a0 | |||
| 011568fae3 | |||
| 0f1c56d0fc | |||
| 2f98f4ad98 | |||
| 0145275cd2 | |||
| 1ce8f1479e | |||
| 5661aea6d5 | |||
| 6ec1550081 | |||
| c660a813e4 | |||
| 96eaa5d59f | |||
| 409fe28ee9 | |||
| ab2998e4dd | |||
| fb4cbf1a4a | |||
| 1d501f05e4 | |||
| a6ceebf5b1 | |||
| 338f6ae70a | |||
| 7e37c5aecb | |||
| e710053de6 | |||
| 7a4da54a71 | |||
| d1145f14ee | |||
| b195d32105 | |||
| 66b073415b | |||
| 6888a80d7d | |||
| 59215db1a3 | |||
| dcdb53cc79 | |||
| b31b4093ca | |||
| c4ab7c8245 | |||
| c35d0d77e0 | |||
| fda969f1c9 | |||
| 50ea9d151f | |||
| 325aa50c67 | |||
| 3b67310233 | |||
| 5c8fb1d55c | |||
| 94ebde04e3 | |||
| 720c352a08 | |||
| 65585e69a6 | |||
| cd8d18dc71 | |||
| 5bc562b095 | |||
| 2a52034786 | |||
| b35352153c | |||
| 4f01a3055a | |||
| 44ef94958c | |||
| 54413ce1b7 | |||
| 2d6f118846 | |||
| 47b3de2554 | |||
| e51650664f | |||
| df0694e4e5 | |||
| a227a63ddb | |||
| 3f7821ba1f | |||
| 2a93bca2a6 | |||
| f9ff3bd0bd | |||
| 9327eb756d | |||
| 8a8c9fa8e8 | |||
| f4948ad5ff | |||
| f86f711115 | |||
| 26da91a157 | |||
| 82cac1a0e6 | |||
| ce665801ea | |||
| 28f88a6085 | |||
| 44a8d082e8 | |||
| 998c5b7d2d | |||
| 05c027fcaf | |||
| 57dfa51b97 | |||
| dc2bd269d6 | |||
| d86416aee3 | |||
| 58f1297b61 | |||
| 87540fbac0 | |||
| 0311121190 | |||
| 49e66858ab | |||
| 40ec180798 | |||
| bcd4dad2f1 | |||
| f60331a5fb | |||
| d7bb53e4d2 |
@ -1,4 +1,4 @@
|
|||||||
LAMMPS (15 Feb 2016)
|
LAMMPS (6 Oct 2016)
|
||||||
# FENE beadspring benchmark
|
# FENE beadspring benchmark
|
||||||
|
|
||||||
units lj
|
units lj
|
||||||
@ -43,25 +43,25 @@ Neighbor list info ...
|
|||||||
master list distance cutoff = 1.52
|
master list distance cutoff = 1.52
|
||||||
ghost atom cutoff = 1.52
|
ghost atom cutoff = 1.52
|
||||||
binsize = 0.76 -> bins = 45 45 45
|
binsize = 0.76 -> bins = 45 45 45
|
||||||
Memory usage per processor = 11.5189 Mbytes
|
Memory usage per processor = 12.0423 Mbytes
|
||||||
Step Temp E_pair E_mol TotEng Press
|
Step Temp E_pair E_mol TotEng Press
|
||||||
0 0.97029772 0.44484087 20.494523 22.394765 4.6721833
|
0 0.97029772 0.44484087 20.494523 22.394765 4.6721833
|
||||||
100 0.9729966 0.4361122 20.507698 22.40326 4.6548819
|
100 0.9729966 0.4361122 20.507698 22.40326 4.6548819
|
||||||
Loop time of 0.978585 on 1 procs for 100 steps with 32000 atoms
|
Loop time of 0.977647 on 1 procs for 100 steps with 32000 atoms
|
||||||
|
|
||||||
Performance: 105948.895 tau/day, 102.188 timesteps/s
|
Performance: 106050.541 tau/day, 102.286 timesteps/s
|
||||||
100.0% CPU use with 1 MPI tasks x no OpenMP threads
|
99.9% CPU use with 1 MPI tasks x no OpenMP threads
|
||||||
|
|
||||||
MPI task timing breakdown:
|
MPI task timing breakdown:
|
||||||
Section | min time | avg time | max time |%varavg| %total
|
Section | min time | avg time | max time |%varavg| %total
|
||||||
---------------------------------------------------------------
|
---------------------------------------------------------------
|
||||||
Pair | 0.19562 | 0.19562 | 0.19562 | 0.0 | 19.99
|
Pair | 0.19421 | 0.19421 | 0.19421 | 0.0 | 19.86
|
||||||
Bond | 0.087475 | 0.087475 | 0.087475 | 0.0 | 8.94
|
Bond | 0.08741 | 0.08741 | 0.08741 | 0.0 | 8.94
|
||||||
Neigh | 0.44861 | 0.44861 | 0.44861 | 0.0 | 45.84
|
Neigh | 0.45791 | 0.45791 | 0.45791 | 0.0 | 46.84
|
||||||
Comm | 0.032932 | 0.032932 | 0.032932 | 0.0 | 3.37
|
Comm | 0.032649 | 0.032649 | 0.032649 | 0.0 | 3.34
|
||||||
Output | 0.00010395 | 0.00010395 | 0.00010395 | 0.0 | 0.01
|
Output | 0.00012207 | 0.00012207 | 0.00012207 | 0.0 | 0.01
|
||||||
Modify | 0.19413 | 0.19413 | 0.19413 | 0.0 | 19.84
|
Modify | 0.18071 | 0.18071 | 0.18071 | 0.0 | 18.48
|
||||||
Other | | 0.01972 | | | 2.02
|
Other | | 0.02464 | | | 2.52
|
||||||
|
|
||||||
Nlocal: 32000 ave 32000 max 32000 min
|
Nlocal: 32000 ave 32000 max 32000 min
|
||||||
Histogram: 1 0 0 0 0 0 0 0 0 0
|
Histogram: 1 0 0 0 0 0 0 0 0 0
|
||||||
@ -1,4 +1,4 @@
|
|||||||
LAMMPS (15 Feb 2016)
|
LAMMPS (6 Oct 2016)
|
||||||
# FENE beadspring benchmark
|
# FENE beadspring benchmark
|
||||||
|
|
||||||
units lj
|
units lj
|
||||||
@ -43,25 +43,25 @@ Neighbor list info ...
|
|||||||
master list distance cutoff = 1.52
|
master list distance cutoff = 1.52
|
||||||
ghost atom cutoff = 1.52
|
ghost atom cutoff = 1.52
|
||||||
binsize = 0.76 -> bins = 45 45 45
|
binsize = 0.76 -> bins = 45 45 45
|
||||||
Memory usage per processor = 3.91518 Mbytes
|
Memory usage per processor = 4.14663 Mbytes
|
||||||
Step Temp E_pair E_mol TotEng Press
|
Step Temp E_pair E_mol TotEng Press
|
||||||
0 0.97029772 0.44484087 20.494523 22.394765 4.6721833
|
0 0.97029772 0.44484087 20.494523 22.394765 4.6721833
|
||||||
100 0.97145835 0.43803883 20.502691 22.397872 4.626988
|
100 0.97145835 0.43803883 20.502691 22.397872 4.626988
|
||||||
Loop time of 0.271187 on 4 procs for 100 steps with 32000 atoms
|
Loop time of 0.269205 on 4 procs for 100 steps with 32000 atoms
|
||||||
|
|
||||||
Performance: 382319.453 tau/day, 368.749 timesteps/s
|
Performance: 385133.446 tau/day, 371.464 timesteps/s
|
||||||
99.6% CPU use with 4 MPI tasks x no OpenMP threads
|
99.8% CPU use with 4 MPI tasks x no OpenMP threads
|
||||||
|
|
||||||
MPI task timing breakdown:
|
MPI task timing breakdown:
|
||||||
Section | min time | avg time | max time |%varavg| %total
|
Section | min time | avg time | max time |%varavg| %total
|
||||||
---------------------------------------------------------------
|
---------------------------------------------------------------
|
||||||
Pair | 0.048621 | 0.050076 | 0.051229 | 0.4 | 18.47
|
Pair | 0.049383 | 0.049756 | 0.049988 | 0.1 | 18.48
|
||||||
Bond | 0.022254 | 0.022942 | 0.023567 | 0.3 | 8.46
|
Bond | 0.022701 | 0.022813 | 0.022872 | 0.0 | 8.47
|
||||||
Neigh | 0.11873 | 0.11881 | 0.11887 | 0.0 | 43.81
|
Neigh | 0.11982 | 0.12002 | 0.12018 | 0.0 | 44.58
|
||||||
Comm | 0.019066 | 0.021357 | 0.024297 | 1.3 | 7.88
|
Comm | 0.020274 | 0.021077 | 0.022348 | 0.5 | 7.83
|
||||||
Output | 5.0068e-05 | 5.5015e-05 | 6.1035e-05 | 0.1 | 0.02
|
Output | 5.3167e-05 | 5.6148e-05 | 6.3181e-05 | 0.1 | 0.02
|
||||||
Modify | 0.048737 | 0.050198 | 0.051231 | 0.4 | 18.51
|
Modify | 0.046276 | 0.046809 | 0.047016 | 0.1 | 17.39
|
||||||
Other | | 0.007751 | | | 2.86
|
Other | | 0.008669 | | | 3.22
|
||||||
|
|
||||||
Nlocal: 8000 ave 8030 max 7974 min
|
Nlocal: 8000 ave 8030 max 7974 min
|
||||||
Histogram: 1 0 0 1 0 1 0 0 0 1
|
Histogram: 1 0 0 1 0 1 0 0 0 1
|
||||||
@ -1,4 +1,4 @@
|
|||||||
LAMMPS (15 Feb 2016)
|
LAMMPS (6 Oct 2016)
|
||||||
# FENE beadspring benchmark
|
# FENE beadspring benchmark
|
||||||
|
|
||||||
variable x index 1
|
variable x index 1
|
||||||
@ -59,25 +59,25 @@ Neighbor list info ...
|
|||||||
master list distance cutoff = 1.52
|
master list distance cutoff = 1.52
|
||||||
ghost atom cutoff = 1.52
|
ghost atom cutoff = 1.52
|
||||||
binsize = 0.76 -> bins = 89 89 45
|
binsize = 0.76 -> bins = 89 89 45
|
||||||
Memory usage per processor = 12.8735 Mbytes
|
Memory usage per processor = 13.2993 Mbytes
|
||||||
Step Temp E_pair E_mol TotEng Press
|
Step Temp E_pair E_mol TotEng Press
|
||||||
0 0.97027498 0.44484087 20.494523 22.394765 4.6721833
|
0 0.97027498 0.44484087 20.494523 22.394765 4.6721833
|
||||||
100 0.97682955 0.44239968 20.500229 22.407862 4.6527025
|
100 0.97682955 0.44239968 20.500229 22.407862 4.6527025
|
||||||
Loop time of 1.20889 on 4 procs for 100 steps with 128000 atoms
|
Loop time of 1.14845 on 4 procs for 100 steps with 128000 atoms
|
||||||
|
|
||||||
Performance: 85764.410 tau/day, 82.720 timesteps/s
|
Performance: 90277.919 tau/day, 87.074 timesteps/s
|
||||||
99.8% CPU use with 4 MPI tasks x no OpenMP threads
|
99.9% CPU use with 4 MPI tasks x no OpenMP threads
|
||||||
|
|
||||||
MPI task timing breakdown:
|
MPI task timing breakdown:
|
||||||
Section | min time | avg time | max time |%varavg| %total
|
Section | min time | avg time | max time |%varavg| %total
|
||||||
---------------------------------------------------------------
|
---------------------------------------------------------------
|
||||||
Pair | 0.21738 | 0.23306 | 0.23926 | 1.9 | 19.28
|
Pair | 0.2203 | 0.22207 | 0.22386 | 0.3 | 19.34
|
||||||
Bond | 0.094536 | 0.10196 | 0.10534 | 1.4 | 8.43
|
Bond | 0.094861 | 0.095302 | 0.095988 | 0.1 | 8.30
|
||||||
Neigh | 0.52311 | 0.52392 | 0.52519 | 0.1 | 43.34
|
Neigh | 0.52127 | 0.5216 | 0.52189 | 0.0 | 45.42
|
||||||
Comm | 0.090161 | 0.10022 | 0.12557 | 4.7 | 8.29
|
Comm | 0.079585 | 0.082159 | 0.084366 | 0.7 | 7.15
|
||||||
Output | 0.00012207 | 0.00017327 | 0.00019598 | 0.2 | 0.01
|
Output | 0.00013304 | 0.00015306 | 0.00018501 | 0.2 | 0.01
|
||||||
Modify | 0.19662 | 0.20262 | 0.20672 | 0.8 | 16.76
|
Modify | 0.18351 | 0.18419 | 0.1856 | 0.2 | 16.04
|
||||||
Other | | 0.04694 | | | 3.88
|
Other | | 0.04298 | | | 3.74
|
||||||
|
|
||||||
Nlocal: 32000 ave 32015 max 31983 min
|
Nlocal: 32000 ave 32015 max 31983 min
|
||||||
Histogram: 1 0 1 0 0 0 0 0 1 1
|
Histogram: 1 0 1 0 0 0 0 0 1 1
|
||||||
@ -1,4 +1,4 @@
|
|||||||
LAMMPS (15 Feb 2016)
|
LAMMPS (6 Oct 2016)
|
||||||
# LAMMPS benchmark of granular flow
|
# LAMMPS benchmark of granular flow
|
||||||
# chute flow of 32000 atoms with frozen base at 26 degrees
|
# chute flow of 32000 atoms with frozen base at 26 degrees
|
||||||
|
|
||||||
@ -47,24 +47,24 @@ Neighbor list info ...
|
|||||||
master list distance cutoff = 1.1
|
master list distance cutoff = 1.1
|
||||||
ghost atom cutoff = 1.1
|
ghost atom cutoff = 1.1
|
||||||
binsize = 0.55 -> bins = 73 37 68
|
binsize = 0.55 -> bins = 73 37 68
|
||||||
Memory usage per processor = 15.567 Mbytes
|
Memory usage per processor = 16.0904 Mbytes
|
||||||
Step Atoms KinEng 1 Volume
|
Step Atoms KinEng c_1 Volume
|
||||||
0 32000 784139.13 1601.1263 29833.783
|
0 32000 784139.13 1601.1263 29833.783
|
||||||
100 32000 784292.08 1571.0968 29834.707
|
100 32000 784292.08 1571.0968 29834.707
|
||||||
Loop time of 0.550482 on 1 procs for 100 steps with 32000 atoms
|
Loop time of 0.534174 on 1 procs for 100 steps with 32000 atoms
|
||||||
|
|
||||||
Performance: 1569.534 tau/day, 181.659 timesteps/s
|
Performance: 1617.451 tau/day, 187.205 timesteps/s
|
||||||
100.1% CPU use with 1 MPI tasks x no OpenMP threads
|
99.8% CPU use with 1 MPI tasks x no OpenMP threads
|
||||||
|
|
||||||
MPI task timing breakdown:
|
MPI task timing breakdown:
|
||||||
Section | min time | avg time | max time |%varavg| %total
|
Section | min time | avg time | max time |%varavg| %total
|
||||||
---------------------------------------------------------------
|
---------------------------------------------------------------
|
||||||
Pair | 0.33849 | 0.33849 | 0.33849 | 0.0 | 61.49
|
Pair | 0.33346 | 0.33346 | 0.33346 | 0.0 | 62.43
|
||||||
Neigh | 0.040353 | 0.040353 | 0.040353 | 0.0 | 7.33
|
Neigh | 0.043902 | 0.043902 | 0.043902 | 0.0 | 8.22
|
||||||
Comm | 0.018023 | 0.018023 | 0.018023 | 0.0 | 3.27
|
Comm | 0.018391 | 0.018391 | 0.018391 | 0.0 | 3.44
|
||||||
Output | 0.00020385 | 0.00020385 | 0.00020385 | 0.0 | 0.04
|
Output | 0.00022411 | 0.00022411 | 0.00022411 | 0.0 | 0.04
|
||||||
Modify | 0.13155 | 0.13155 | 0.13155 | 0.0 | 23.90
|
Modify | 0.11666 | 0.11666 | 0.11666 | 0.0 | 21.84
|
||||||
Other | | 0.02186 | | | 3.97
|
Other | | 0.02153 | | | 4.03
|
||||||
|
|
||||||
Nlocal: 32000 ave 32000 max 32000 min
|
Nlocal: 32000 ave 32000 max 32000 min
|
||||||
Histogram: 1 0 0 0 0 0 0 0 0 0
|
Histogram: 1 0 0 0 0 0 0 0 0 0
|
||||||
@ -1,4 +1,4 @@
|
|||||||
LAMMPS (15 Feb 2016)
|
LAMMPS (6 Oct 2016)
|
||||||
# LAMMPS benchmark of granular flow
|
# LAMMPS benchmark of granular flow
|
||||||
# chute flow of 32000 atoms with frozen base at 26 degrees
|
# chute flow of 32000 atoms with frozen base at 26 degrees
|
||||||
|
|
||||||
@ -47,24 +47,24 @@ Neighbor list info ...
|
|||||||
master list distance cutoff = 1.1
|
master list distance cutoff = 1.1
|
||||||
ghost atom cutoff = 1.1
|
ghost atom cutoff = 1.1
|
||||||
binsize = 0.55 -> bins = 73 37 68
|
binsize = 0.55 -> bins = 73 37 68
|
||||||
Memory usage per processor = 6.81783 Mbytes
|
Memory usage per processor = 7.04927 Mbytes
|
||||||
Step Atoms KinEng 1 Volume
|
Step Atoms KinEng c_1 Volume
|
||||||
0 32000 784139.13 1601.1263 29833.783
|
0 32000 784139.13 1601.1263 29833.783
|
||||||
100 32000 784292.08 1571.0968 29834.707
|
100 32000 784292.08 1571.0968 29834.707
|
||||||
Loop time of 0.13141 on 4 procs for 100 steps with 32000 atoms
|
Loop time of 0.171815 on 4 procs for 100 steps with 32000 atoms
|
||||||
|
|
||||||
Performance: 6574.833 tau/day, 760.976 timesteps/s
|
Performance: 5028.653 tau/day, 582.020 timesteps/s
|
||||||
99.3% CPU use with 4 MPI tasks x no OpenMP threads
|
99.7% CPU use with 4 MPI tasks x no OpenMP threads
|
||||||
|
|
||||||
MPI task timing breakdown:
|
MPI task timing breakdown:
|
||||||
Section | min time | avg time | max time |%varavg| %total
|
Section | min time | avg time | max time |%varavg| %total
|
||||||
---------------------------------------------------------------
|
---------------------------------------------------------------
|
||||||
Pair | 0.062505 | 0.067 | 0.07152 | 1.5 | 50.99
|
Pair | 0.093691 | 0.096898 | 0.10005 | 0.8 | 56.40
|
||||||
Neigh | 0.010041 | 0.0101 | 0.010178 | 0.1 | 7.69
|
Neigh | 0.011976 | 0.012059 | 0.012146 | 0.1 | 7.02
|
||||||
Comm | 0.012347 | 0.012895 | 0.013444 | 0.5 | 9.81
|
Comm | 0.016384 | 0.017418 | 0.018465 | 0.8 | 10.14
|
||||||
Output | 6.3896e-05 | 0.00010294 | 0.00014091 | 0.3 | 0.08
|
Output | 7.7963e-05 | 0.00010747 | 0.00013304 | 0.2 | 0.06
|
||||||
Modify | 0.031802 | 0.032348 | 0.032897 | 0.3 | 24.62
|
Modify | 0.031744 | 0.031943 | 0.032167 | 0.1 | 18.59
|
||||||
Other | | 0.008965 | | | 6.82
|
Other | | 0.01339 | | | 7.79
|
||||||
|
|
||||||
Nlocal: 8000 ave 8008 max 7992 min
|
Nlocal: 8000 ave 8008 max 7992 min
|
||||||
Histogram: 2 0 0 0 0 0 0 0 0 2
|
Histogram: 2 0 0 0 0 0 0 0 0 2
|
||||||
@ -1,4 +1,4 @@
|
|||||||
LAMMPS (15 Feb 2016)
|
LAMMPS (6 Oct 2016)
|
||||||
# LAMMPS benchmark of granular flow
|
# LAMMPS benchmark of granular flow
|
||||||
# chute flow of 32000 atoms with frozen base at 26 degrees
|
# chute flow of 32000 atoms with frozen base at 26 degrees
|
||||||
|
|
||||||
@ -57,24 +57,24 @@ Neighbor list info ...
|
|||||||
master list distance cutoff = 1.1
|
master list distance cutoff = 1.1
|
||||||
ghost atom cutoff = 1.1
|
ghost atom cutoff = 1.1
|
||||||
binsize = 0.55 -> bins = 146 73 68
|
binsize = 0.55 -> bins = 146 73 68
|
||||||
Memory usage per processor = 15.7007 Mbytes
|
Memory usage per processor = 16.1265 Mbytes
|
||||||
Step Atoms KinEng 1 Volume
|
Step Atoms KinEng c_1 Volume
|
||||||
0 128000 3136556.5 6404.5051 119335.13
|
0 128000 3136556.5 6404.5051 119335.13
|
||||||
100 128000 3137168.3 6284.3873 119338.83
|
100 128000 3137168.3 6284.3873 119338.83
|
||||||
Loop time of 0.906913 on 4 procs for 100 steps with 128000 atoms
|
Loop time of 0.832365 on 4 procs for 100 steps with 128000 atoms
|
||||||
|
|
||||||
Performance: 952.683 tau/day, 110.264 timesteps/s
|
Performance: 1038.006 tau/day, 120.140 timesteps/s
|
||||||
99.7% CPU use with 4 MPI tasks x no OpenMP threads
|
99.8% CPU use with 4 MPI tasks x no OpenMP threads
|
||||||
|
|
||||||
MPI task timing breakdown:
|
MPI task timing breakdown:
|
||||||
Section | min time | avg time | max time |%varavg| %total
|
Section | min time | avg time | max time |%varavg| %total
|
||||||
---------------------------------------------------------------
|
---------------------------------------------------------------
|
||||||
Pair | 0.51454 | 0.53094 | 0.55381 | 2.0 | 58.54
|
Pair | 0.5178 | 0.52208 | 0.52793 | 0.5 | 62.72
|
||||||
Neigh | 0.042597 | 0.043726 | 0.045801 | 0.6 | 4.82
|
Neigh | 0.047003 | 0.047113 | 0.047224 | 0.0 | 5.66
|
||||||
Comm | 0.063027 | 0.064657 | 0.067367 | 0.7 | 7.13
|
Comm | 0.05233 | 0.052988 | 0.053722 | 0.2 | 6.37
|
||||||
Output | 0.00024891 | 0.00059718 | 0.00086498 | 1.0 | 0.07
|
Output | 0.00024986 | 0.00032717 | 0.00036693 | 0.3 | 0.04
|
||||||
Modify | 0.16508 | 0.17656 | 0.1925 | 2.6 | 19.47
|
Modify | 0.15517 | 0.15627 | 0.15808 | 0.3 | 18.77
|
||||||
Other | | 0.09043 | | | 9.97
|
Other | | 0.0536 | | | 6.44
|
||||||
|
|
||||||
Nlocal: 32000 ave 32000 max 32000 min
|
Nlocal: 32000 ave 32000 max 32000 min
|
||||||
Histogram: 4 0 0 0 0 0 0 0 0 0
|
Histogram: 4 0 0 0 0 0 0 0 0 0
|
||||||
@ -87,4 +87,4 @@ Total # of neighbors = 460532
|
|||||||
Ave neighs/atom = 3.59791
|
Ave neighs/atom = 3.59791
|
||||||
Neighbor list builds = 2
|
Neighbor list builds = 2
|
||||||
Dangerous builds = 0
|
Dangerous builds = 0
|
||||||
Total wall time: 0:00:01
|
Total wall time: 0:00:00
|
||||||
@ -1,4 +1,4 @@
|
|||||||
LAMMPS (15 Feb 2016)
|
LAMMPS (6 Oct 2016)
|
||||||
# bulk Cu lattice
|
# bulk Cu lattice
|
||||||
|
|
||||||
variable x index 1
|
variable x index 1
|
||||||
@ -49,25 +49,25 @@ Neighbor list info ...
|
|||||||
master list distance cutoff = 5.95
|
master list distance cutoff = 5.95
|
||||||
ghost atom cutoff = 5.95
|
ghost atom cutoff = 5.95
|
||||||
binsize = 2.975 -> bins = 25 25 25
|
binsize = 2.975 -> bins = 25 25 25
|
||||||
Memory usage per processor = 10.2238 Mbytes
|
Memory usage per processor = 11.2238 Mbytes
|
||||||
Step Temp E_pair E_mol TotEng Press
|
Step Temp E_pair E_mol TotEng Press
|
||||||
0 1600 -113280 0 -106662.09 18703.573
|
0 1600 -113280 0 -106662.09 18703.573
|
||||||
50 781.69049 -109873.35 0 -106640.13 52273.088
|
50 781.69049 -109873.35 0 -106640.13 52273.088
|
||||||
100 801.832 -109957.3 0 -106640.77 51322.821
|
100 801.832 -109957.3 0 -106640.77 51322.821
|
||||||
Loop time of 5.90097 on 1 procs for 100 steps with 32000 atoms
|
Loop time of 5.96529 on 1 procs for 100 steps with 32000 atoms
|
||||||
|
|
||||||
Performance: 7.321 ns/day, 3.278 hours/ns, 16.946 timesteps/s
|
Performance: 7.242 ns/day, 3.314 hours/ns, 16.764 timesteps/s
|
||||||
99.9% CPU use with 1 MPI tasks x no OpenMP threads
|
99.9% CPU use with 1 MPI tasks x no OpenMP threads
|
||||||
|
|
||||||
MPI task timing breakdown:
|
MPI task timing breakdown:
|
||||||
Section | min time | avg time | max time |%varavg| %total
|
Section | min time | avg time | max time |%varavg| %total
|
||||||
---------------------------------------------------------------
|
---------------------------------------------------------------
|
||||||
Pair | 5.2121 | 5.2121 | 5.2121 | 0.0 | 88.33
|
Pair | 5.2743 | 5.2743 | 5.2743 | 0.0 | 88.42
|
||||||
Neigh | 0.58212 | 0.58212 | 0.58212 | 0.0 | 9.86
|
Neigh | 0.59212 | 0.59212 | 0.59212 | 0.0 | 9.93
|
||||||
Comm | 0.030392 | 0.030392 | 0.030392 | 0.0 | 0.52
|
Comm | 0.030399 | 0.030399 | 0.030399 | 0.0 | 0.51
|
||||||
Output | 0.00023389 | 0.00023389 | 0.00023389 | 0.0 | 0.00
|
Output | 0.00026202 | 0.00026202 | 0.00026202 | 0.0 | 0.00
|
||||||
Modify | 0.060871 | 0.060871 | 0.060871 | 0.0 | 1.03
|
Modify | 0.050487 | 0.050487 | 0.050487 | 0.0 | 0.85
|
||||||
Other | | 0.01527 | | | 0.26
|
Other | | 0.01776 | | | 0.30
|
||||||
|
|
||||||
Nlocal: 32000 ave 32000 max 32000 min
|
Nlocal: 32000 ave 32000 max 32000 min
|
||||||
Histogram: 1 0 0 0 0 0 0 0 0 0
|
Histogram: 1 0 0 0 0 0 0 0 0 0
|
||||||
@ -1,4 +1,4 @@
|
|||||||
LAMMPS (15 Feb 2016)
|
LAMMPS (6 Oct 2016)
|
||||||
# bulk Cu lattice
|
# bulk Cu lattice
|
||||||
|
|
||||||
variable x index 1
|
variable x index 1
|
||||||
@ -49,25 +49,25 @@ Neighbor list info ...
|
|||||||
master list distance cutoff = 5.95
|
master list distance cutoff = 5.95
|
||||||
ghost atom cutoff = 5.95
|
ghost atom cutoff = 5.95
|
||||||
binsize = 2.975 -> bins = 25 25 25
|
binsize = 2.975 -> bins = 25 25 25
|
||||||
Memory usage per processor = 5.09629 Mbytes
|
Memory usage per processor = 5.59629 Mbytes
|
||||||
Step Temp E_pair E_mol TotEng Press
|
Step Temp E_pair E_mol TotEng Press
|
||||||
0 1600 -113280 0 -106662.09 18703.573
|
0 1600 -113280 0 -106662.09 18703.573
|
||||||
50 781.69049 -109873.35 0 -106640.13 52273.088
|
50 781.69049 -109873.35 0 -106640.13 52273.088
|
||||||
100 801.832 -109957.3 0 -106640.77 51322.821
|
100 801.832 -109957.3 0 -106640.77 51322.821
|
||||||
Loop time of 1.58019 on 4 procs for 100 steps with 32000 atoms
|
Loop time of 1.64562 on 4 procs for 100 steps with 32000 atoms
|
||||||
|
|
||||||
Performance: 27.338 ns/day, 0.878 hours/ns, 63.284 timesteps/s
|
Performance: 26.252 ns/day, 0.914 hours/ns, 60.767 timesteps/s
|
||||||
99.8% CPU use with 4 MPI tasks x no OpenMP threads
|
99.8% CPU use with 4 MPI tasks x no OpenMP threads
|
||||||
|
|
||||||
MPI task timing breakdown:
|
MPI task timing breakdown:
|
||||||
Section | min time | avg time | max time |%varavg| %total
|
Section | min time | avg time | max time |%varavg| %total
|
||||||
---------------------------------------------------------------
|
---------------------------------------------------------------
|
||||||
Pair | 1.3617 | 1.366 | 1.3723 | 0.4 | 86.45
|
Pair | 1.408 | 1.4175 | 1.4341 | 0.9 | 86.14
|
||||||
Neigh | 0.15123 | 0.15232 | 0.15374 | 0.2 | 9.64
|
Neigh | 0.15512 | 0.15722 | 0.16112 | 0.6 | 9.55
|
||||||
Comm | 0.033429 | 0.041275 | 0.047066 | 2.7 | 2.61
|
Comm | 0.029105 | 0.049986 | 0.061822 | 5.8 | 3.04
|
||||||
Output | 0.00011301 | 0.0001573 | 0.000211 | 0.3 | 0.01
|
Output | 0.00010991 | 0.00011539 | 0.00012302 | 0.0 | 0.01
|
||||||
Modify | 0.014694 | 0.015085 | 0.015421 | 0.2 | 0.95
|
Modify | 0.013383 | 0.013573 | 0.013883 | 0.2 | 0.82
|
||||||
Other | | 0.005342 | | | 0.34
|
Other | | 0.007264 | | | 0.44
|
||||||
|
|
||||||
Nlocal: 8000 ave 8008 max 7993 min
|
Nlocal: 8000 ave 8008 max 7993 min
|
||||||
Histogram: 2 0 0 0 0 0 0 0 1 1
|
Histogram: 2 0 0 0 0 0 0 0 1 1
|
||||||
@ -1,4 +1,4 @@
|
|||||||
LAMMPS (15 Feb 2016)
|
LAMMPS (6 Oct 2016)
|
||||||
# bulk Cu lattice
|
# bulk Cu lattice
|
||||||
|
|
||||||
variable x index 1
|
variable x index 1
|
||||||
@ -49,25 +49,25 @@ Neighbor list info ...
|
|||||||
master list distance cutoff = 5.95
|
master list distance cutoff = 5.95
|
||||||
ghost atom cutoff = 5.95
|
ghost atom cutoff = 5.95
|
||||||
binsize = 2.975 -> bins = 49 49 25
|
binsize = 2.975 -> bins = 49 49 25
|
||||||
Memory usage per processor = 10.1402 Mbytes
|
Memory usage per processor = 11.1402 Mbytes
|
||||||
Step Temp E_pair E_mol TotEng Press
|
Step Temp E_pair E_mol TotEng Press
|
||||||
0 1600 -453120 0 -426647.73 18704.012
|
0 1600 -453120 0 -426647.73 18704.012
|
||||||
50 779.50001 -439457.02 0 -426560.06 52355.276
|
50 779.50001 -439457.02 0 -426560.06 52355.276
|
||||||
100 797.97828 -439764.76 0 -426562.07 51474.74
|
100 797.97828 -439764.76 0 -426562.07 51474.74
|
||||||
Loop time of 6.46849 on 4 procs for 100 steps with 128000 atoms
|
Loop time of 6.60121 on 4 procs for 100 steps with 128000 atoms
|
||||||
|
|
||||||
Performance: 6.679 ns/day, 3.594 hours/ns, 15.460 timesteps/s
|
Performance: 6.544 ns/day, 3.667 hours/ns, 15.149 timesteps/s
|
||||||
99.9% CPU use with 4 MPI tasks x no OpenMP threads
|
99.9% CPU use with 4 MPI tasks x no OpenMP threads
|
||||||
|
|
||||||
MPI task timing breakdown:
|
MPI task timing breakdown:
|
||||||
Section | min time | avg time | max time |%varavg| %total
|
Section | min time | avg time | max time |%varavg| %total
|
||||||
---------------------------------------------------------------
|
---------------------------------------------------------------
|
||||||
Pair | 5.581 | 5.5997 | 5.6265 | 0.8 | 86.57
|
Pair | 5.6676 | 5.7011 | 5.7469 | 1.3 | 86.36
|
||||||
Neigh | 0.65287 | 0.658 | 0.66374 | 0.5 | 10.17
|
Neigh | 0.66423 | 0.67119 | 0.68082 | 0.7 | 10.17
|
||||||
Comm | 0.075706 | 0.11015 | 0.13655 | 7.2 | 1.70
|
Comm | 0.079367 | 0.13668 | 0.1791 | 10.5 | 2.07
|
||||||
Output | 0.00026488 | 0.00028312 | 0.00029302 | 0.1 | 0.00
|
Output | 0.00026989 | 0.00028622 | 0.00031209 | 0.1 | 0.00
|
||||||
Modify | 0.069607 | 0.072407 | 0.074555 | 0.7 | 1.12
|
Modify | 0.060046 | 0.062203 | 0.065009 | 0.9 | 0.94
|
||||||
Other | | 0.02794 | | | 0.43
|
Other | | 0.02974 | | | 0.45
|
||||||
|
|
||||||
Nlocal: 32000 ave 32092 max 31914 min
|
Nlocal: 32000 ave 32092 max 31914 min
|
||||||
Histogram: 1 0 0 1 0 1 0 0 0 1
|
Histogram: 1 0 0 1 0 1 0 0 0 1
|
||||||
@ -1,4 +1,4 @@
|
|||||||
LAMMPS (15 Feb 2016)
|
LAMMPS (6 Oct 2016)
|
||||||
# 3d Lennard-Jones melt
|
# 3d Lennard-Jones melt
|
||||||
|
|
||||||
variable x index 1
|
variable x index 1
|
||||||
@ -50,20 +50,20 @@ Memory usage per processor = 8.21387 Mbytes
|
|||||||
Step Temp E_pair E_mol TotEng Press
|
Step Temp E_pair E_mol TotEng Press
|
||||||
0 1.44 -6.7733681 0 -4.6134356 -5.0197073
|
0 1.44 -6.7733681 0 -4.6134356 -5.0197073
|
||||||
100 0.7574531 -5.7585055 0 -4.6223613 0.20726105
|
100 0.7574531 -5.7585055 0 -4.6223613 0.20726105
|
||||||
Loop time of 2.26309 on 1 procs for 100 steps with 32000 atoms
|
Loop time of 2.26185 on 1 procs for 100 steps with 32000 atoms
|
||||||
|
|
||||||
Performance: 19088.920 tau/day, 44.187 timesteps/s
|
Performance: 19099.377 tau/day, 44.212 timesteps/s
|
||||||
99.9% CPU use with 1 MPI tasks x no OpenMP threads
|
99.9% CPU use with 1 MPI tasks x no OpenMP threads
|
||||||
|
|
||||||
MPI task timing breakdown:
|
MPI task timing breakdown:
|
||||||
Section | min time | avg time | max time |%varavg| %total
|
Section | min time | avg time | max time |%varavg| %total
|
||||||
---------------------------------------------------------------
|
---------------------------------------------------------------
|
||||||
Pair | 1.9341 | 1.9341 | 1.9341 | 0.0 | 85.46
|
Pair | 1.9328 | 1.9328 | 1.9328 | 0.0 | 85.45
|
||||||
Neigh | 0.2442 | 0.2442 | 0.2442 | 0.0 | 10.79
|
Neigh | 0.2558 | 0.2558 | 0.2558 | 0.0 | 11.31
|
||||||
Comm | 0.024158 | 0.024158 | 0.024158 | 0.0 | 1.07
|
Comm | 0.024061 | 0.024061 | 0.024061 | 0.0 | 1.06
|
||||||
Output | 0.00011611 | 0.00011611 | 0.00011611 | 0.0 | 0.01
|
Output | 0.00012612 | 0.00012612 | 0.00012612 | 0.0 | 0.01
|
||||||
Modify | 0.053222 | 0.053222 | 0.053222 | 0.0 | 2.35
|
Modify | 0.040887 | 0.040887 | 0.040887 | 0.0 | 1.81
|
||||||
Other | | 0.007258 | | | 0.32
|
Other | | 0.008214 | | | 0.36
|
||||||
|
|
||||||
Nlocal: 32000 ave 32000 max 32000 min
|
Nlocal: 32000 ave 32000 max 32000 min
|
||||||
Histogram: 1 0 0 0 0 0 0 0 0 0
|
Histogram: 1 0 0 0 0 0 0 0 0 0
|
||||||
@ -1,4 +1,4 @@
|
|||||||
LAMMPS (15 Feb 2016)
|
LAMMPS (6 Oct 2016)
|
||||||
# 3d Lennard-Jones melt
|
# 3d Lennard-Jones melt
|
||||||
|
|
||||||
variable x index 1
|
variable x index 1
|
||||||
@ -50,20 +50,20 @@ Memory usage per processor = 4.09506 Mbytes
|
|||||||
Step Temp E_pair E_mol TotEng Press
|
Step Temp E_pair E_mol TotEng Press
|
||||||
0 1.44 -6.7733681 0 -4.6134356 -5.0197073
|
0 1.44 -6.7733681 0 -4.6134356 -5.0197073
|
||||||
100 0.7574531 -5.7585055 0 -4.6223613 0.20726105
|
100 0.7574531 -5.7585055 0 -4.6223613 0.20726105
|
||||||
Loop time of 0.640733 on 4 procs for 100 steps with 32000 atoms
|
Loop time of 0.635957 on 4 procs for 100 steps with 32000 atoms
|
||||||
|
|
||||||
Performance: 67422.779 tau/day, 156.071 timesteps/s
|
Performance: 67929.172 tau/day, 157.243 timesteps/s
|
||||||
99.7% CPU use with 4 MPI tasks x no OpenMP threads
|
99.9% CPU use with 4 MPI tasks x no OpenMP threads
|
||||||
|
|
||||||
MPI task timing breakdown:
|
MPI task timing breakdown:
|
||||||
Section | min time | avg time | max time |%varavg| %total
|
Section | min time | avg time | max time |%varavg| %total
|
||||||
---------------------------------------------------------------
|
---------------------------------------------------------------
|
||||||
Pair | 0.49487 | 0.51733 | 0.5322 | 1.9 | 80.74
|
Pair | 0.51335 | 0.51822 | 0.52569 | 0.7 | 81.49
|
||||||
Neigh | 0.061131 | 0.063685 | 0.065433 | 0.6 | 9.94
|
Neigh | 0.063695 | 0.064309 | 0.065397 | 0.3 | 10.11
|
||||||
Comm | 0.02457 | 0.042349 | 0.069598 | 8.1 | 6.61
|
Comm | 0.027525 | 0.03629 | 0.041959 | 3.1 | 5.71
|
||||||
Output | 5.9843e-05 | 6.3181e-05 | 6.6996e-05 | 0.0 | 0.01
|
Output | 6.3896e-05 | 6.6698e-05 | 7.081e-05 | 0.0 | 0.01
|
||||||
Modify | 0.012961 | 0.013863 | 0.014491 | 0.5 | 2.16
|
Modify | 0.012472 | 0.01254 | 0.012618 | 0.1 | 1.97
|
||||||
Other | | 0.003448 | | | 0.54
|
Other | | 0.004529 | | | 0.71
|
||||||
|
|
||||||
Nlocal: 8000 ave 8037 max 7964 min
|
Nlocal: 8000 ave 8037 max 7964 min
|
||||||
Histogram: 2 0 0 0 0 0 0 0 1 1
|
Histogram: 2 0 0 0 0 0 0 0 1 1
|
||||||
@ -1,4 +1,4 @@
|
|||||||
LAMMPS (15 Feb 2016)
|
LAMMPS (6 Oct 2016)
|
||||||
# 3d Lennard-Jones melt
|
# 3d Lennard-Jones melt
|
||||||
|
|
||||||
variable x index 1
|
variable x index 1
|
||||||
@ -50,20 +50,20 @@ Memory usage per processor = 8.13678 Mbytes
|
|||||||
Step Temp E_pair E_mol TotEng Press
|
Step Temp E_pair E_mol TotEng Press
|
||||||
0 1.44 -6.7733681 0 -4.6133849 -5.0196788
|
0 1.44 -6.7733681 0 -4.6133849 -5.0196788
|
||||||
100 0.75841891 -5.759957 0 -4.6223375 0.20008866
|
100 0.75841891 -5.759957 0 -4.6223375 0.20008866
|
||||||
Loop time of 2.57914 on 4 procs for 100 steps with 128000 atoms
|
Loop time of 2.55762 on 4 procs for 100 steps with 128000 atoms
|
||||||
|
|
||||||
Performance: 16749.768 tau/day, 38.773 timesteps/s
|
Performance: 16890.677 tau/day, 39.099 timesteps/s
|
||||||
99.8% CPU use with 4 MPI tasks x no OpenMP threads
|
99.8% CPU use with 4 MPI tasks x no OpenMP threads
|
||||||
|
|
||||||
MPI task timing breakdown:
|
MPI task timing breakdown:
|
||||||
Section | min time | avg time | max time |%varavg| %total
|
Section | min time | avg time | max time |%varavg| %total
|
||||||
---------------------------------------------------------------
|
---------------------------------------------------------------
|
||||||
Pair | 2.042 | 2.1092 | 2.1668 | 3.1 | 81.78
|
Pair | 2.0583 | 2.0988 | 2.1594 | 2.6 | 82.06
|
||||||
Neigh | 0.23982 | 0.24551 | 0.25233 | 1.0 | 9.52
|
Neigh | 0.24411 | 0.24838 | 0.25585 | 0.9 | 9.71
|
||||||
Comm | 0.067088 | 0.13887 | 0.22681 | 15.7 | 5.38
|
Comm | 0.066397 | 0.13872 | 0.1863 | 11.9 | 5.42
|
||||||
Output | 0.00013185 | 0.00021666 | 0.00027108 | 0.4 | 0.01
|
Output | 0.00012994 | 0.00021023 | 0.00025702 | 0.3 | 0.01
|
||||||
Modify | 0.060348 | 0.071269 | 0.077063 | 2.5 | 2.76
|
Modify | 0.055533 | 0.058343 | 0.061791 | 1.2 | 2.28
|
||||||
Other | | 0.01403 | | | 0.54
|
Other | | 0.0132 | | | 0.52
|
||||||
|
|
||||||
Nlocal: 32000 ave 32060 max 31939 min
|
Nlocal: 32000 ave 32060 max 31939 min
|
||||||
Histogram: 1 0 1 0 0 0 0 1 0 1
|
Histogram: 1 0 1 0 0 0 0 1 0 1
|
||||||
@ -1,4 +1,4 @@
|
|||||||
LAMMPS (15 Feb 2016)
|
LAMMPS (6 Oct 2016)
|
||||||
# Rhodopsin model
|
# Rhodopsin model
|
||||||
|
|
||||||
units real
|
units real
|
||||||
@ -56,6 +56,7 @@ timestep 2.0
|
|||||||
|
|
||||||
run 100
|
run 100
|
||||||
PPPM initialization ...
|
PPPM initialization ...
|
||||||
|
WARNING: Using 12-bit tables for long-range coulomb (../kspace.cpp:316)
|
||||||
G vector (1/distance) = 0.248835
|
G vector (1/distance) = 0.248835
|
||||||
grid = 25 32 32
|
grid = 25 32 32
|
||||||
stencil order = 5
|
stencil order = 5
|
||||||
@ -70,41 +71,41 @@ Neighbor list info ...
|
|||||||
master list distance cutoff = 12
|
master list distance cutoff = 12
|
||||||
ghost atom cutoff = 12
|
ghost atom cutoff = 12
|
||||||
binsize = 6 -> bins = 10 13 13
|
binsize = 6 -> bins = 10 13 13
|
||||||
Memory usage per processor = 91.7487 Mbytes
|
Memory usage per processor = 93.2721 Mbytes
|
||||||
---------------- Step 0 ----- CPU = 0.0000 (sec) ----------------
|
---------------- Step 0 ----- CPU = 0.0000 (sec) ----------------
|
||||||
TotEng = -25356.2064 KinEng = 21444.8313 Temp = 299.0397
|
TotEng = -25356.2064 KinEng = 21444.8313 Temp = 299.0397
|
||||||
PotEng = -46801.0377 E_bond = 2537.9940 E_angle = 10921.3742
|
PotEng = -46801.0377 E_bond = 2537.9940 E_angle = 10921.3742
|
||||||
E_dihed = 5211.7865 E_impro = 213.5116 E_vdwl = -2307.8634
|
E_dihed = 5211.7865 E_impro = 213.5116 E_vdwl = -2307.8634
|
||||||
E_coul = 207025.8927 E_long = -270403.7333 Press = -142.6035
|
E_coul = 207025.8927 E_long = -270403.7333 Press = -149.3301
|
||||||
Volume = 307995.0335
|
Volume = 307995.0335
|
||||||
---------------- Step 50 ----- CPU = 17.6362 (sec) ----------------
|
---------------- Step 50 ----- CPU = 17.2007 (sec) ----------------
|
||||||
TotEng = -25330.0828 KinEng = 21501.0029 Temp = 299.8230
|
TotEng = -25330.0321 KinEng = 21501.0036 Temp = 299.8230
|
||||||
PotEng = -46831.0857 E_bond = 2471.7004 E_angle = 10836.4975
|
PotEng = -46831.0357 E_bond = 2471.7033 E_angle = 10836.5108
|
||||||
E_dihed = 5239.6299 E_impro = 227.1218 E_vdwl = -1993.2754
|
E_dihed = 5239.6316 E_impro = 227.1219 E_vdwl = -1993.2763
|
||||||
E_coul = 206797.6331 E_long = -270410.3930 Press = 237.6701
|
E_coul = 206797.6655 E_long = -270410.3927 Press = 237.6866
|
||||||
Volume = 308031.5639
|
Volume = 308031.5640
|
||||||
---------------- Step 100 ----- CPU = 35.9089 (sec) ----------------
|
---------------- Step 100 ----- CPU = 35.0315 (sec) ----------------
|
||||||
TotEng = -25290.7593 KinEng = 21592.0117 Temp = 301.0920
|
TotEng = -25290.7387 KinEng = 21591.9096 Temp = 301.0906
|
||||||
PotEng = -46882.7709 E_bond = 2567.9807 E_angle = 10781.9408
|
PotEng = -46882.6484 E_bond = 2567.9789 E_angle = 10781.9556
|
||||||
E_dihed = 5198.7432 E_impro = 216.7834 E_vdwl = -1902.4783
|
E_dihed = 5198.7493 E_impro = 216.7863 E_vdwl = -1902.6458
|
||||||
E_coul = 206659.2326 E_long = -270404.9733 Press = 6.9960
|
E_coul = 206659.5006 E_long = -270404.9733 Press = 6.7898
|
||||||
Volume = 308133.9888
|
Volume = 308133.9933
|
||||||
Loop time of 35.9089 on 1 procs for 100 steps with 32000 atoms
|
Loop time of 35.0316 on 1 procs for 100 steps with 32000 atoms
|
||||||
|
|
||||||
Performance: 0.481 ns/day, 49.874 hours/ns, 2.785 timesteps/s
|
Performance: 0.493 ns/day, 48.655 hours/ns, 2.855 timesteps/s
|
||||||
99.9% CPU use with 1 MPI tasks x no OpenMP threads
|
99.9% CPU use with 1 MPI tasks x no OpenMP threads
|
||||||
|
|
||||||
MPI task timing breakdown:
|
MPI task timing breakdown:
|
||||||
Section | min time | avg time | max time |%varavg| %total
|
Section | min time | avg time | max time |%varavg| %total
|
||||||
---------------------------------------------------------------
|
---------------------------------------------------------------
|
||||||
Pair | 25.731 | 25.731 | 25.731 | 0.0 | 71.66
|
Pair | 25.021 | 25.021 | 25.021 | 0.0 | 71.42
|
||||||
Bond | 1.2771 | 1.2771 | 1.2771 | 0.0 | 3.56
|
Bond | 1.2834 | 1.2834 | 1.2834 | 0.0 | 3.66
|
||||||
Kspace | 3.2094 | 3.2094 | 3.2094 | 0.0 | 8.94
|
Kspace | 3.2116 | 3.2116 | 3.2116 | 0.0 | 9.17
|
||||||
Neigh | 4.4538 | 4.4538 | 4.4538 | 0.0 | 12.40
|
Neigh | 4.2767 | 4.2767 | 4.2767 | 0.0 | 12.21
|
||||||
Comm | 0.068507 | 0.068507 | 0.068507 | 0.0 | 0.19
|
Comm | 0.069283 | 0.069283 | 0.069283 | 0.0 | 0.20
|
||||||
Output | 0.00025916 | 0.00025916 | 0.00025916 | 0.0 | 0.00
|
Output | 0.00028205 | 0.00028205 | 0.00028205 | 0.0 | 0.00
|
||||||
Modify | 1.1417 | 1.1417 | 1.1417 | 0.0 | 3.18
|
Modify | 1.14 | 1.14 | 1.14 | 0.0 | 3.25
|
||||||
Other | | 0.027 | | | 0.08
|
Other | | 0.02938 | | | 0.08
|
||||||
|
|
||||||
Nlocal: 32000 ave 32000 max 32000 min
|
Nlocal: 32000 ave 32000 max 32000 min
|
||||||
Histogram: 1 0 0 0 0 0 0 0 0 0
|
Histogram: 1 0 0 0 0 0 0 0 0 0
|
||||||
@ -113,9 +114,9 @@ Histogram: 1 0 0 0 0 0 0 0 0 0
|
|||||||
Neighs: 1.20281e+07 ave 1.20281e+07 max 1.20281e+07 min
|
Neighs: 1.20281e+07 ave 1.20281e+07 max 1.20281e+07 min
|
||||||
Histogram: 1 0 0 0 0 0 0 0 0 0
|
Histogram: 1 0 0 0 0 0 0 0 0 0
|
||||||
|
|
||||||
Total # of neighbors = 12028107
|
Total # of neighbors = 12028098
|
||||||
Ave neighs/atom = 375.878
|
Ave neighs/atom = 375.878
|
||||||
Ave special neighs/atom = 7.43187
|
Ave special neighs/atom = 7.43187
|
||||||
Neighbor list builds = 11
|
Neighbor list builds = 11
|
||||||
Dangerous builds = 0
|
Dangerous builds = 0
|
||||||
Total wall time: 0:00:37
|
Total wall time: 0:00:36
|
||||||
@ -1,4 +1,4 @@
|
|||||||
LAMMPS (15 Feb 2016)
|
LAMMPS (6 Oct 2016)
|
||||||
# Rhodopsin model
|
# Rhodopsin model
|
||||||
|
|
||||||
units real
|
units real
|
||||||
@ -56,6 +56,7 @@ timestep 2.0
|
|||||||
|
|
||||||
run 100
|
run 100
|
||||||
PPPM initialization ...
|
PPPM initialization ...
|
||||||
|
WARNING: Using 12-bit tables for long-range coulomb (../kspace.cpp:316)
|
||||||
G vector (1/distance) = 0.248835
|
G vector (1/distance) = 0.248835
|
||||||
grid = 25 32 32
|
grid = 25 32 32
|
||||||
stencil order = 5
|
stencil order = 5
|
||||||
@ -70,52 +71,52 @@ Neighbor list info ...
|
|||||||
master list distance cutoff = 12
|
master list distance cutoff = 12
|
||||||
ghost atom cutoff = 12
|
ghost atom cutoff = 12
|
||||||
binsize = 6 -> bins = 10 13 13
|
binsize = 6 -> bins = 10 13 13
|
||||||
Memory usage per processor = 36.629 Mbytes
|
Memory usage per processor = 37.3604 Mbytes
|
||||||
---------------- Step 0 ----- CPU = 0.0000 (sec) ----------------
|
---------------- Step 0 ----- CPU = 0.0000 (sec) ----------------
|
||||||
TotEng = -25356.2064 KinEng = 21444.8313 Temp = 299.0397
|
TotEng = -25356.2064 KinEng = 21444.8313 Temp = 299.0397
|
||||||
PotEng = -46801.0377 E_bond = 2537.9940 E_angle = 10921.3742
|
PotEng = -46801.0377 E_bond = 2537.9940 E_angle = 10921.3742
|
||||||
E_dihed = 5211.7865 E_impro = 213.5116 E_vdwl = -2307.8634
|
E_dihed = 5211.7865 E_impro = 213.5116 E_vdwl = -2307.8634
|
||||||
E_coul = 207025.8927 E_long = -270403.7333 Press = -142.6035
|
E_coul = 207025.8927 E_long = -270403.7333 Press = -149.3301
|
||||||
Volume = 307995.0335
|
Volume = 307995.0335
|
||||||
---------------- Step 50 ----- CPU = 4.7461 (sec) ----------------
|
---------------- Step 50 ----- CPU = 4.6056 (sec) ----------------
|
||||||
TotEng = -25330.0828 KinEng = 21501.0029 Temp = 299.8230
|
TotEng = -25330.0321 KinEng = 21501.0036 Temp = 299.8230
|
||||||
PotEng = -46831.0857 E_bond = 2471.7004 E_angle = 10836.4975
|
PotEng = -46831.0357 E_bond = 2471.7033 E_angle = 10836.5108
|
||||||
E_dihed = 5239.6299 E_impro = 227.1218 E_vdwl = -1993.2754
|
E_dihed = 5239.6316 E_impro = 227.1219 E_vdwl = -1993.2763
|
||||||
E_coul = 206797.6331 E_long = -270410.3930 Press = 237.6701
|
E_coul = 206797.6655 E_long = -270410.3927 Press = 237.6866
|
||||||
Volume = 308031.5639
|
Volume = 308031.5640
|
||||||
---------------- Step 100 ----- CPU = 9.6332 (sec) ----------------
|
---------------- Step 100 ----- CPU = 9.3910 (sec) ----------------
|
||||||
TotEng = -25290.7591 KinEng = 21592.0117 Temp = 301.0920
|
TotEng = -25290.7386 KinEng = 21591.9096 Temp = 301.0906
|
||||||
PotEng = -46882.7708 E_bond = 2567.9807 E_angle = 10781.9408
|
PotEng = -46882.6482 E_bond = 2567.9789 E_angle = 10781.9556
|
||||||
E_dihed = 5198.7432 E_impro = 216.7834 E_vdwl = -1902.4783
|
E_dihed = 5198.7493 E_impro = 216.7863 E_vdwl = -1902.6458
|
||||||
E_coul = 206659.2327 E_long = -270404.9733 Press = 6.9960
|
E_coul = 206659.5007 E_long = -270404.9733 Press = 6.7898
|
||||||
Volume = 308133.9888
|
Volume = 308133.9933
|
||||||
Loop time of 9.63322 on 4 procs for 100 steps with 32000 atoms
|
Loop time of 9.39107 on 4 procs for 100 steps with 32000 atoms
|
||||||
|
|
||||||
Performance: 1.794 ns/day, 13.379 hours/ns, 10.381 timesteps/s
|
Performance: 1.840 ns/day, 13.043 hours/ns, 10.648 timesteps/s
|
||||||
99.9% CPU use with 4 MPI tasks x no OpenMP threads
|
99.8% CPU use with 4 MPI tasks x no OpenMP threads
|
||||||
|
|
||||||
MPI task timing breakdown:
|
MPI task timing breakdown:
|
||||||
Section | min time | avg time | max time |%varavg| %total
|
Section | min time | avg time | max time |%varavg| %total
|
||||||
---------------------------------------------------------------
|
---------------------------------------------------------------
|
||||||
Pair | 6.4364 | 6.5993 | 6.7208 | 4.7 | 68.51
|
Pair | 6.2189 | 6.3266 | 6.6072 | 6.5 | 67.37
|
||||||
Bond | 0.30755 | 0.32435 | 0.35704 | 3.4 | 3.37
|
Bond | 0.30793 | 0.32122 | 0.3414 | 2.4 | 3.42
|
||||||
Kspace | 0.92248 | 1.0782 | 1.2597 | 13.0 | 11.19
|
Kspace | 0.87994 | 1.1644 | 1.2855 | 15.3 | 12.40
|
||||||
Neigh | 1.1669 | 1.1672 | 1.1675 | 0.0 | 12.12
|
Neigh | 1.1358 | 1.136 | 1.1362 | 0.0 | 12.10
|
||||||
Comm | 0.094674 | 0.098065 | 0.10543 | 1.4 | 1.02
|
Comm | 0.08292 | 0.084935 | 0.087077 | 0.5 | 0.90
|
||||||
Output | 0.00015521 | 0.00016224 | 0.00018215 | 0.1 | 0.00
|
Output | 0.00015712 | 0.00016558 | 0.00018501 | 0.1 | 0.00
|
||||||
Modify | 0.32982 | 0.34654 | 0.35365 | 1.6 | 3.60
|
Modify | 0.33717 | 0.34246 | 0.34794 | 0.7 | 3.65
|
||||||
Other | | 0.01943 | | | 0.20
|
Other | | 0.01526 | | | 0.16
|
||||||
|
|
||||||
Nlocal: 8000 ave 8143 max 7933 min
|
Nlocal: 8000 ave 8143 max 7933 min
|
||||||
Histogram: 1 2 0 0 0 0 0 0 0 1
|
Histogram: 1 2 0 0 0 0 0 0 0 1
|
||||||
Nghost: 22733.5 ave 22769 max 22693 min
|
Nghost: 22733.5 ave 22769 max 22693 min
|
||||||
Histogram: 1 0 0 0 0 2 0 0 0 1
|
Histogram: 1 0 0 0 0 2 0 0 0 1
|
||||||
Neighs: 3.00703e+06 ave 3.0975e+06 max 2.96493e+06 min
|
Neighs: 3.00702e+06 ave 3.0975e+06 max 2.96492e+06 min
|
||||||
Histogram: 1 2 0 0 0 0 0 0 0 1
|
Histogram: 1 2 0 0 0 0 0 0 0 1
|
||||||
|
|
||||||
Total # of neighbors = 12028107
|
Total # of neighbors = 12028098
|
||||||
Ave neighs/atom = 375.878
|
Ave neighs/atom = 375.878
|
||||||
Ave special neighs/atom = 7.43187
|
Ave special neighs/atom = 7.43187
|
||||||
Neighbor list builds = 11
|
Neighbor list builds = 11
|
||||||
Dangerous builds = 0
|
Dangerous builds = 0
|
||||||
Total wall time: 0:00:10
|
Total wall time: 0:00:09
|
||||||
@ -1,4 +1,4 @@
|
|||||||
LAMMPS (15 Feb 2016)
|
LAMMPS (6 Oct 2016)
|
||||||
# Rhodopsin model
|
# Rhodopsin model
|
||||||
|
|
||||||
variable x index 1
|
variable x index 1
|
||||||
@ -77,6 +77,7 @@ timestep 2.0
|
|||||||
|
|
||||||
run 100
|
run 100
|
||||||
PPPM initialization ...
|
PPPM initialization ...
|
||||||
|
WARNING: Using 12-bit tables for long-range coulomb (../kspace.cpp:316)
|
||||||
G vector (1/distance) = 0.248593
|
G vector (1/distance) = 0.248593
|
||||||
grid = 48 60 36
|
grid = 48 60 36
|
||||||
stencil order = 5
|
stencil order = 5
|
||||||
@ -91,52 +92,52 @@ Neighbor list info ...
|
|||||||
master list distance cutoff = 12
|
master list distance cutoff = 12
|
||||||
ghost atom cutoff = 12
|
ghost atom cutoff = 12
|
||||||
binsize = 6 -> bins = 19 26 13
|
binsize = 6 -> bins = 19 26 13
|
||||||
Memory usage per processor = 95.5339 Mbytes
|
Memory usage per processor = 96.9597 Mbytes
|
||||||
---------------- Step 0 ----- CPU = 0.0000 (sec) ----------------
|
---------------- Step 0 ----- CPU = 0.0000 (sec) ----------------
|
||||||
TotEng = -101425.4887 KinEng = 85779.3251 Temp = 299.0304
|
TotEng = -101425.4887 KinEng = 85779.3251 Temp = 299.0304
|
||||||
PotEng = -187204.8138 E_bond = 10151.9760 E_angle = 43685.4968
|
PotEng = -187204.8138 E_bond = 10151.9760 E_angle = 43685.4968
|
||||||
E_dihed = 20847.1460 E_impro = 854.0463 E_vdwl = -9231.4537
|
E_dihed = 20847.1460 E_impro = 854.0463 E_vdwl = -9231.4537
|
||||||
E_coul = 827053.5824 E_long = -1080565.6077 Press = -142.3092
|
E_coul = 827053.5824 E_long = -1080565.6077 Press = -149.0358
|
||||||
Volume = 1231980.1340
|
Volume = 1231980.1340
|
||||||
---------------- Step 50 ----- CPU = 18.7806 (sec) ----------------
|
---------------- Step 50 ----- CPU = 18.1689 (sec) ----------------
|
||||||
TotEng = -101320.2677 KinEng = 86003.4837 Temp = 299.8118
|
TotEng = -101320.0211 KinEng = 86003.4933 Temp = 299.8118
|
||||||
PotEng = -187323.7514 E_bond = 9887.1072 E_angle = 43346.7922
|
PotEng = -187323.5144 E_bond = 9887.1189 E_angle = 43346.8448
|
||||||
E_dihed = 20958.7032 E_impro = 908.4715 E_vdwl = -7973.4457
|
E_dihed = 20958.7108 E_impro = 908.4721 E_vdwl = -7973.4486
|
||||||
E_coul = 826141.3831 E_long = -1080592.7629 Press = 238.0161
|
E_coul = 826141.5493 E_long = -1080592.7617 Press = 238.0404
|
||||||
Volume = 1232126.1855
|
Volume = 1232126.1814
|
||||||
---------------- Step 100 ----- CPU = 38.3684 (sec) ----------------
|
---------------- Step 100 ----- CPU = 37.2027 (sec) ----------------
|
||||||
TotEng = -101158.1849 KinEng = 86355.6149 Temp = 301.0393
|
TotEng = -101157.9546 KinEng = 86355.7413 Temp = 301.0398
|
||||||
PotEng = -187513.7998 E_bond = 10272.0693 E_angle = 43128.6454
|
PotEng = -187513.6959 E_bond = 10272.0456 E_angle = 43128.7018
|
||||||
E_dihed = 20793.9759 E_impro = 867.0826 E_vdwl = -7586.7186
|
E_dihed = 20794.0107 E_impro = 867.0928 E_vdwl = -7587.2409
|
||||||
E_coul = 825583.7122 E_long = -1080572.5667 Press = 15.2151
|
E_coul = 825584.2416 E_long = -1080572.5474 Press = 15.1729
|
||||||
Volume = 1232535.8423
|
Volume = 1232535.8440
|
||||||
Loop time of 38.3684 on 4 procs for 100 steps with 128000 atoms
|
Loop time of 37.2028 on 4 procs for 100 steps with 128000 atoms
|
||||||
|
|
||||||
Performance: 0.450 ns/day, 53.289 hours/ns, 2.606 timesteps/s
|
Performance: 0.464 ns/day, 51.671 hours/ns, 2.688 timesteps/s
|
||||||
99.9% CPU use with 4 MPI tasks x no OpenMP threads
|
99.9% CPU use with 4 MPI tasks x no OpenMP threads
|
||||||
|
|
||||||
MPI task timing breakdown:
|
MPI task timing breakdown:
|
||||||
Section | min time | avg time | max time |%varavg| %total
|
Section | min time | avg time | max time |%varavg| %total
|
||||||
---------------------------------------------------------------
|
---------------------------------------------------------------
|
||||||
Pair | 26.205 | 26.538 | 26.911 | 5.0 | 69.17
|
Pair | 25.431 | 25.738 | 25.984 | 4.0 | 69.18
|
||||||
Bond | 1.298 | 1.3125 | 1.3277 | 1.0 | 3.42
|
Bond | 1.2966 | 1.3131 | 1.3226 | 0.9 | 3.53
|
||||||
Kspace | 3.7099 | 4.0992 | 4.4422 | 13.3 | 10.68
|
Kspace | 3.7563 | 4.0123 | 4.3127 | 10.0 | 10.79
|
||||||
Neigh | 4.6137 | 4.6144 | 4.615 | 0.0 | 12.03
|
Neigh | 4.3778 | 4.378 | 4.3782 | 0.0 | 11.77
|
||||||
Comm | 0.21398 | 0.21992 | 0.22886 | 1.2 | 0.57
|
Comm | 0.1903 | 0.19549 | 0.20485 | 1.3 | 0.53
|
||||||
Output | 0.00030518 | 0.00031543 | 0.00033307 | 0.1 | 0.00
|
Output | 0.00031805 | 0.00037521 | 0.00039601 | 0.2 | 0.00
|
||||||
Modify | 1.5066 | 1.5232 | 1.5388 | 1.0 | 3.97
|
Modify | 1.4861 | 1.5051 | 1.5122 | 0.9 | 4.05
|
||||||
Other | | 0.06051 | | | 0.16
|
Other | | 0.05992 | | | 0.16
|
||||||
|
|
||||||
Nlocal: 32000 ave 32000 max 32000 min
|
Nlocal: 32000 ave 32000 max 32000 min
|
||||||
Histogram: 4 0 0 0 0 0 0 0 0 0
|
Histogram: 4 0 0 0 0 0 0 0 0 0
|
||||||
Nghost: 47957 ave 47957 max 47957 min
|
Nghost: 47957 ave 47957 max 47957 min
|
||||||
Histogram: 4 0 0 0 0 0 0 0 0 0
|
Histogram: 4 0 0 0 0 0 0 0 0 0
|
||||||
Neighs: 1.20281e+07 ave 1.20572e+07 max 1.1999e+07 min
|
Neighs: 1.20281e+07 ave 1.20572e+07 max 1.19991e+07 min
|
||||||
Histogram: 2 0 0 0 0 0 0 0 0 2
|
Histogram: 2 0 0 0 0 0 0 0 0 2
|
||||||
|
|
||||||
Total # of neighbors = 48112472
|
Total # of neighbors = 48112540
|
||||||
Ave neighs/atom = 375.879
|
Ave neighs/atom = 375.879
|
||||||
Ave special neighs/atom = 7.43187
|
Ave special neighs/atom = 7.43187
|
||||||
Neighbor list builds = 11
|
Neighbor list builds = 11
|
||||||
Dangerous builds = 0
|
Dangerous builds = 0
|
||||||
Total wall time: 0:00:39
|
Total wall time: 0:00:38
|
||||||
31
doc/Makefile
@ -8,19 +8,21 @@ VENV = $(BUILDDIR)/docenv
|
|||||||
TXT2RST = $(VENV)/bin/txt2rst
|
TXT2RST = $(VENV)/bin/txt2rst
|
||||||
|
|
||||||
PYTHON = $(shell which python3)
|
PYTHON = $(shell which python3)
|
||||||
|
HAS_PYTHON3 = NO
|
||||||
|
HAS_VIRTUALENV = NO
|
||||||
|
|
||||||
ifeq ($(shell which python3 >/dev/null 2>&1; echo $$?), 1)
|
ifeq ($(shell which python3 >/dev/null 2>&1; echo $$?), 0)
|
||||||
$(error Python3 was not found! Please check README.md for further instructions)
|
HAS_PYTHON3 = YES
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(shell which virtualenv >/dev/null 2>&1; echo $$?), 1)
|
ifeq ($(shell which virtualenv >/dev/null 2>&1; echo $$?), 0)
|
||||||
$(error virtualenv was not found! Please check README.md for further instructions)
|
HAS_VIRTUALENV = YES
|
||||||
endif
|
endif
|
||||||
|
|
||||||
SOURCES=$(wildcard src/*.txt)
|
SOURCES=$(wildcard src/*.txt)
|
||||||
OBJECTS=$(SOURCES:src/%.txt=$(RSTDIR)/%.rst)
|
OBJECTS=$(SOURCES:src/%.txt=$(RSTDIR)/%.rst)
|
||||||
|
|
||||||
.PHONY: help clean-all clean html pdf old venv
|
.PHONY: help clean-all clean epub html pdf old venv
|
||||||
|
|
||||||
# ------------------------------------------
|
# ------------------------------------------
|
||||||
|
|
||||||
@ -30,6 +32,7 @@ help:
|
|||||||
@echo " pdf create Manual.pdf and Developer.pdf in this dir"
|
@echo " pdf create Manual.pdf and Developer.pdf in this dir"
|
||||||
@echo " old create old-style HTML doc pages in old dir"
|
@echo " old create old-style HTML doc pages in old dir"
|
||||||
@echo " fetch fetch HTML and PDF files from LAMMPS web site"
|
@echo " fetch fetch HTML and PDF files from LAMMPS web site"
|
||||||
|
@echo " epub create ePUB format manual for e-book readers"
|
||||||
@echo " clean remove all intermediate RST files"
|
@echo " clean remove all intermediate RST files"
|
||||||
@echo " clean-all reset the entire build environment"
|
@echo " clean-all reset the entire build environment"
|
||||||
@echo " txt2html build txt2html tool"
|
@echo " txt2html build txt2html tool"
|
||||||
@ -40,7 +43,7 @@ clean-all:
|
|||||||
rm -rf $(BUILDDIR)/* utils/txt2html/txt2html.exe
|
rm -rf $(BUILDDIR)/* utils/txt2html/txt2html.exe
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf $(RSTDIR)
|
rm -rf $(RSTDIR) html
|
||||||
|
|
||||||
html: $(OBJECTS)
|
html: $(OBJECTS)
|
||||||
@(\
|
@(\
|
||||||
@ -61,6 +64,20 @@ html: $(OBJECTS)
|
|||||||
@rm -rf html/USER/*/*.[sg]*
|
@rm -rf html/USER/*/*.[sg]*
|
||||||
@echo "Build finished. The HTML pages are in doc/html."
|
@echo "Build finished. The HTML pages are in doc/html."
|
||||||
|
|
||||||
|
epub: $(OBJECTS)
|
||||||
|
@mkdir -p epub
|
||||||
|
@rm -f LAMMPS.epub
|
||||||
|
@cp src/JPG/lammps-logo.png epub/
|
||||||
|
@(\
|
||||||
|
. $(VENV)/bin/activate ;\
|
||||||
|
cp -r src/* $(RSTDIR)/ ;\
|
||||||
|
sphinx-build -j 8 -b epub -c utils/sphinx-config -d $(BUILDDIR)/doctrees $(RSTDIR) epub ;\
|
||||||
|
deactivate ;\
|
||||||
|
)
|
||||||
|
@mv epub/LAMMPS.epub .
|
||||||
|
@rm -rf epub
|
||||||
|
@echo "Build finished. The ePUB manual file is created."
|
||||||
|
|
||||||
pdf: utils/txt2html/txt2html.exe
|
pdf: utils/txt2html/txt2html.exe
|
||||||
@(\
|
@(\
|
||||||
cd src; \
|
cd src; \
|
||||||
@ -109,6 +126,8 @@ $(RSTDIR)/%.rst : src/%.txt $(TXT2RST)
|
|||||||
)
|
)
|
||||||
|
|
||||||
$(VENV):
|
$(VENV):
|
||||||
|
@if [ "$(HAS_PYTHON3)" == "NO" ] ; then echo "Python3 was not found! Please check README.md for further instructions" 1>&2; exit 1; fi
|
||||||
|
@if [ "$(HAS_VIRTUALENV)" == "NO" ] ; then echo "virtualenv was not found! Please check README.md for further instructions" 1>&2; exit 1; fi
|
||||||
@( \
|
@( \
|
||||||
virtualenv -p $(PYTHON) $(VENV); \
|
virtualenv -p $(PYTHON) $(VENV); \
|
||||||
. $(VENV)/bin/activate; \
|
. $(VENV)/bin/activate; \
|
||||||
|
|||||||
21
doc/README
@ -1,13 +1,14 @@
|
|||||||
LAMMPS Documentation
|
LAMMPS Documentation
|
||||||
|
|
||||||
Depending on how you obtained LAMMPS, this directory has 2 or 3
|
Depending on how you obtained LAMMPS, this directory has 2 or 3
|
||||||
sub-directories and optionally 2 PDF files:
|
sub-directories and optionally 2 PDF files and an ePUB file:
|
||||||
|
|
||||||
src content files for LAMMPS documentation
|
src content files for LAMMPS documentation
|
||||||
html HTML version of the LAMMPS manual (see html/Manual.html)
|
html HTML version of the LAMMPS manual (see html/Manual.html)
|
||||||
tools tools and settings for building the documentation
|
tools tools and settings for building the documentation
|
||||||
Manual.pdf large PDF version of entire manual
|
Manual.pdf large PDF version of entire manual
|
||||||
Developer.pdf small PDF with info about how LAMMPS is structured
|
Developer.pdf small PDF with info about how LAMMPS is structured
|
||||||
|
LAMMPS.epub Manual in ePUB format
|
||||||
|
|
||||||
If you downloaded LAMMPS as a tarball from the web site, all these
|
If you downloaded LAMMPS as a tarball from the web site, all these
|
||||||
directories and files should be included.
|
directories and files should be included.
|
||||||
@ -49,6 +50,7 @@ make pdf # generate 2 PDF files (Manual.pdf,Developer.pdf)
|
|||||||
make old # generate old-style HTML pages in old dir via txt2html
|
make old # generate old-style HTML pages in old dir via txt2html
|
||||||
make fetch # fetch HTML doc pages and 2 PDF files from web site
|
make fetch # fetch HTML doc pages and 2 PDF files from web site
|
||||||
# as a tarball and unpack into html dir and 2 PDFs
|
# as a tarball and unpack into html dir and 2 PDFs
|
||||||
|
make epub # generate LAMMPS.epub in ePUB format using Sphinx
|
||||||
make clean # remove intermediate RST files created by HTML build
|
make clean # remove intermediate RST files created by HTML build
|
||||||
make clean-all # remove entire build folder and any cached data
|
make clean-all # remove entire build folder and any cached data
|
||||||
|
|
||||||
@ -92,5 +94,22 @@ This will install virtualenv from the Python Package Index.
|
|||||||
|
|
||||||
Installing prerequisites for PDF build
|
Installing prerequisites for PDF build
|
||||||
|
|
||||||
|
[TBA]
|
||||||
|
|
||||||
|
----------------
|
||||||
|
|
||||||
|
Installing prerequisites for epub build
|
||||||
|
|
||||||
|
## ePUB
|
||||||
|
|
||||||
|
Same as for HTML. This uses the same tools and configuration
|
||||||
|
files as the HTML tree.
|
||||||
|
|
||||||
|
For converting the generated ePUB file to a mobi format file
|
||||||
|
(for e-book readers like Kindle, that cannot read ePUB), you
|
||||||
|
also need to have the 'ebook-convert' tool from the "calibre"
|
||||||
|
software installed. http://calibre-ebook.com/
|
||||||
|
You first create the ePUB file with 'make epub' and then do:
|
||||||
|
|
||||||
|
ebook-convert LAMMPS.epub LAMMPS.mobi
|
||||||
|
|
||||||
|
|||||||
BIN
doc/src/Eqs/bond_oxdna_fene.jpg
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
10
doc/src/Eqs/bond_oxdna_fene.tex
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
\documentclass[12pt]{article}
|
||||||
|
\pagestyle{empty}
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
|
||||||
|
$$
|
||||||
|
E = - \frac{\epsilon}{2} \ln \left[ 1 - \left(\frac{r-r0}{\Delta}\right)^2\right]
|
||||||
|
$$
|
||||||
|
|
||||||
|
\end{document}
|
||||||
BIN
doc/src/Eqs/fix_grem.jpg
Normal file
|
After Width: | Height: | Size: 6.1 KiB |
9
doc/src/Eqs/fix_grem.tex
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
\documentclass[12pt]{article}
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
|
||||||
|
$$
|
||||||
|
T_{eff} = \lambda + \eta (H - H_0)
|
||||||
|
$$
|
||||||
|
|
||||||
|
\end{document}
|
||||||
BIN
doc/src/Eqs/pair_agni.jpg
Normal file
|
After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |
@ -1,9 +0,0 @@
|
|||||||
\documentclass[12pt]{article}
|
|
||||||
\pagestyle{empty}
|
|
||||||
\begin{document}
|
|
||||||
|
|
||||||
$$
|
|
||||||
F^C = A \omega_{ij} \qquad \qquad r_{ij} < r_c
|
|
||||||
$$
|
|
||||||
|
|
||||||
\end{document}
|
|
||||||
BIN
doc/src/Eqs/pair_dpd_energy.jpg
Normal file
|
After Width: | Height: | Size: 25 KiB |
12
doc/src/Eqs/pair_dpd_energy.tex
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
\documentclass[12pt]{article}
|
||||||
|
\pagestyle{empty}
|
||||||
|
\begin{document}
|
||||||
|
|
||||||
|
\begin{eqnarray*}
|
||||||
|
du_{i}^{cond} & = & \kappa_{ij}(\frac{1}{\theta_{i}}-\frac{1}{\theta_{j}})\omega_{ij}^{2} + \alpha_{ij}\omega_{ij}\zeta_{ij}^{q}(\Delta{t})^{-1/2} \\
|
||||||
|
du_{i}^{mech} & = & -\frac{1}{2}\gamma_{ij}\omega_{ij}^{2}(\frac{\vec{r_{ij}}}{r_{ij}}\bullet\vec{v_{ij}})^{2} -
|
||||||
|
\frac{\sigma^{2}_{ij}}{4}(\frac{1}{m_{i}}+\frac{1}{m_{j}})\omega_{ij}^{2} -
|
||||||
|
\frac{1}{2}\sigma_{ij}\omega_{ij}(\frac{\vec{r_{ij}}}{r_{ij}}\bullet\vec{v_{ij}})\zeta_{ij}(\Delta{t})^{-1/2} \\
|
||||||
|
\end{eqnarray*}
|
||||||
|
|
||||||
|
\end{document}
|
||||||
BIN
doc/src/Eqs/pair_dpd_energy_terms.jpg
Normal file
|
After Width: | Height: | Size: 8.7 KiB |
11
doc/src/Eqs/pair_dpd_energy_terms.tex
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
\documentclass[12pt]{article}
|
||||||
|
\pagestyle{empty}
|
||||||
|
\begin{document}
|
||||||
|
|
||||||
|
\begin{eqnarray*}
|
||||||
|
\alpha_{ij}^{2} & = & 2k_{B}\kappa_{ij} \\
|
||||||
|
\sigma^{2}_{ij} & = & 2\gamma_{ij}k_{B}\Theta_{ij} \\
|
||||||
|
\Theta_{ij}^{-1} & = & \frac{1}{2}(\frac{1}{\theta_{i}}+\frac{1}{\theta_{j}}) \\
|
||||||
|
\end{eqnarray*}
|
||||||
|
|
||||||
|
\end{document}
|
||||||
BIN
doc/src/Eqs/pair_tersoff_mod_c.jpg
Normal file
|
After Width: | Height: | Size: 4.1 KiB |
10
doc/src/Eqs/pair_tersoff_mod_c.tex
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
\documentclass[12pt]{article}
|
||||||
|
\pagestyle{empty}
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
|
||||||
|
\begin{eqnarray*}
|
||||||
|
V_{ij} & = & f_C(r_{ij}) \left[ f_R(r_{ij}) + b_{ij} f_A(r_{ij}) + c_0 \right]
|
||||||
|
\end{eqnarray*}
|
||||||
|
|
||||||
|
\end{document}
|
||||||
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.2 KiB |
@ -3,7 +3,7 @@
|
|||||||
\begin{document}
|
\begin{document}
|
||||||
|
|
||||||
$$
|
$$
|
||||||
P = \frac{N k_B T}{V} + \frac{\sum_{i}^{N} r_i \bullet f_i}{dV}
|
P = \frac{N k_B T}{V} + \frac{\sum_{i}^{N'} r_i \bullet f_i}{dV}
|
||||||
$$
|
$$
|
||||||
|
|
||||||
\end{document}
|
\end{document}
|
||||||
|
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 5.3 KiB |
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
$$
|
$$
|
||||||
P_{IJ} = \frac{\sum_{k}^{N} m_k v_{k_I} v_{k_J}}{V} +
|
P_{IJ} = \frac{\sum_{k}^{N} m_k v_{k_I} v_{k_J}}{V} +
|
||||||
\frac{\sum_{k}^{N} r_{k_I} f_{k_J}}{V}
|
\frac{\sum_{k}^{N'} r_{k_I} f_{k_J}}{V}
|
||||||
$$
|
$$
|
||||||
|
|
||||||
\end{document}
|
\end{document}
|
||||||
|
|||||||
BIN
doc/src/JPG/gran_funnel.png
Normal file
|
After Width: | Height: | Size: 117 KiB |
BIN
doc/src/JPG/gran_funnel_small.jpg
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
doc/src/JPG/gran_mixer.png
Normal file
|
After Width: | Height: | Size: 224 KiB |
BIN
doc/src/JPG/gran_mixer_small.jpg
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
doc/src/JPG/lammps-logo.png
Normal file
|
After Width: | Height: | Size: 4.8 KiB |
BIN
doc/src/JPG/pylammps_dihedral.jpg
Normal file
|
After Width: | Height: | Size: 70 KiB |
BIN
doc/src/JPG/pylammps_mc_disordered.jpg
Normal file
|
After Width: | Height: | Size: 104 KiB |
BIN
doc/src/JPG/pylammps_mc_energies_plot.jpg
Normal file
|
After Width: | Height: | Size: 53 KiB |
BIN
doc/src/JPG/pylammps_mc_minimum.jpg
Normal file
|
After Width: | Height: | Size: 111 KiB |
BIN
doc/src/JPG/tutorial_additional_changes.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
doc/src/JPG/tutorial_automated_checks.png
Normal file
|
After Width: | Height: | Size: 99 KiB |
BIN
doc/src/JPG/tutorial_automated_checks_passed.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 73 KiB After Width: | Height: | Size: 16 KiB |
BIN
doc/src/JPG/tutorial_changes_others.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
doc/src/JPG/tutorial_create_new_pull_request1.png
Normal file
|
After Width: | Height: | Size: 51 KiB |
BIN
doc/src/JPG/tutorial_create_new_pull_request2.png
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
doc/src/JPG/tutorial_edits_maintainers.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 70 KiB |
|
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 25 KiB |
BIN
doc/src/JPG/tutorial_new_pull_request.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
doc/src/JPG/tutorial_reverse_pull_request.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
doc/src/JPG/tutorial_reverse_pull_request2.png
Normal file
|
After Width: | Height: | Size: 78 KiB |
BIN
doc/src/JPG/tutorial_reverse_pull_request3.png
Normal file
|
After Width: | Height: | Size: 77 KiB |
BIN
doc/src/JPG/tutorial_reverse_pull_request4.png
Normal file
|
After Width: | Height: | Size: 104 KiB |
BIN
doc/src/JPG/tutorial_reverse_pull_request5.png
Normal file
|
After Width: | Height: | Size: 37 KiB |
BIN
doc/src/JPG/tutorial_reverse_pull_request6.png
Normal file
|
After Width: | Height: | Size: 6.2 KiB |
BIN
doc/src/JPG/tutorial_reverse_pull_request7.png
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
doc/src/JPG/tutorial_steve_assignee.png
Normal file
|
After Width: | Height: | Size: 45 KiB |
@ -1,7 +1,7 @@
|
|||||||
<!-- HTML_ONLY -->
|
<!-- HTML_ONLY -->
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<TITLE>LAMMPS Users Manual</TITLE>
|
<TITLE>LAMMPS Users Manual</TITLE>
|
||||||
<META NAME="docnumber" CONTENT="29 Sep 2016 version">
|
<META NAME="docnumber" CONTENT="26 Jan 2017 version">
|
||||||
<META NAME="author" CONTENT="http://lammps.sandia.gov - Sandia National Laboratories">
|
<META NAME="author" CONTENT="http://lammps.sandia.gov - Sandia National Laboratories">
|
||||||
<META NAME="copyright" CONTENT="Copyright (2003) Sandia Corporation. This software and manual is distributed under the GNU General Public License.">
|
<META NAME="copyright" CONTENT="Copyright (2003) Sandia Corporation. This software and manual is distributed under the GNU General Public License.">
|
||||||
</HEAD>
|
</HEAD>
|
||||||
@ -21,7 +21,7 @@
|
|||||||
<H1></H1>
|
<H1></H1>
|
||||||
|
|
||||||
LAMMPS Documentation :c,h3
|
LAMMPS Documentation :c,h3
|
||||||
29 Sep 2016 version :c,h4
|
26 Jan 2017 version :c,h4
|
||||||
|
|
||||||
Version info: :h4
|
Version info: :h4
|
||||||
|
|
||||||
@ -109,7 +109,7 @@ it gives quick access to documentation for all LAMMPS commands.
|
|||||||
:caption: User Documentation
|
:caption: User Documentation
|
||||||
:name: userdoc
|
:name: userdoc
|
||||||
:includehidden:
|
:includehidden:
|
||||||
|
|
||||||
Section_intro
|
Section_intro
|
||||||
Section_start
|
Section_start
|
||||||
Section_commands
|
Section_commands
|
||||||
@ -144,7 +144,7 @@ Indices and tables
|
|||||||
|
|
||||||
* :ref:`genindex`
|
* :ref:`genindex`
|
||||||
* :ref:`search`
|
* :ref:`search`
|
||||||
|
|
||||||
END_RST -->
|
END_RST -->
|
||||||
|
|
||||||
<!-- HTML_ONLY -->
|
<!-- HTML_ONLY -->
|
||||||
|
|||||||
BIN
doc/src/PDF/USER-CGDNA-overview.pdf
Normal file
@ -117,7 +117,7 @@ PPPM. However, 2-FFT PPPM also requires a slightly larger mesh size to
|
|||||||
achieve the same accuracy as 4-FFT PPPM. For problems where the FFT
|
achieve the same accuracy as 4-FFT PPPM. For problems where the FFT
|
||||||
cost is the performance bottleneck (typically large problems running
|
cost is the performance bottleneck (typically large problems running
|
||||||
on many processors), 2-FFT PPPM may be faster than 4-FFT PPPM.
|
on many processors), 2-FFT PPPM may be faster than 4-FFT PPPM.
|
||||||
|
|
||||||
Staggered PPPM performs calculations using two different meshes, one
|
Staggered PPPM performs calculations using two different meshes, one
|
||||||
shifted slightly with respect to the other. This can reduce force
|
shifted slightly with respect to the other. This can reduce force
|
||||||
aliasing errors and increase the accuracy of the method, but also
|
aliasing errors and increase the accuracy of the method, but also
|
||||||
|
|||||||
@ -37,14 +37,14 @@ simulation with all the settings. Rather, the input script is read
|
|||||||
one line at a time and each command takes effect when it is read.
|
one line at a time and each command takes effect when it is read.
|
||||||
Thus this sequence of commands:
|
Thus this sequence of commands:
|
||||||
|
|
||||||
timestep 0.5
|
timestep 0.5
|
||||||
run 100
|
run 100
|
||||||
run 100 :pre
|
run 100 :pre
|
||||||
|
|
||||||
does something different than this sequence:
|
does something different than this sequence:
|
||||||
|
|
||||||
run 100
|
run 100
|
||||||
timestep 0.5
|
timestep 0.5
|
||||||
run 100 :pre
|
run 100 :pre
|
||||||
|
|
||||||
In the first case, the specified timestep (0.5 fmsec) is used for two
|
In the first case, the specified timestep (0.5 fmsec) is used for two
|
||||||
@ -97,7 +97,7 @@ single leading "#" will comment out the entire command.
|
|||||||
|
|
||||||
(3) The line is searched repeatedly for $ characters, which indicate
|
(3) The line is searched repeatedly for $ characters, which indicate
|
||||||
variables that are replaced with a text string. See an exception in
|
variables that are replaced with a text string. See an exception in
|
||||||
(6).
|
(6).
|
||||||
|
|
||||||
If the $ is followed by curly brackets, then the variable name is the
|
If the $ is followed by curly brackets, then the variable name is the
|
||||||
text inside the curly brackets. If no curly brackets follow the $,
|
text inside the curly brackets. If no curly brackets follow the $,
|
||||||
@ -106,7 +106,7 @@ the $. Thus $\{myTemp\} and $x refer to variable names "myTemp" and
|
|||||||
"x".
|
"x".
|
||||||
|
|
||||||
How the variable is converted to a text string depends on what style
|
How the variable is converted to a text string depends on what style
|
||||||
of variable it is; see the "variable"_variable doc page for details.
|
of variable it is; see the "variable"_variable.html doc page for details.
|
||||||
It can be a variable that stores multiple text strings, and return one
|
It can be a variable that stores multiple text strings, and return one
|
||||||
of them. The returned text string can be multiple "words" (space
|
of them. The returned text string can be multiple "words" (space
|
||||||
separated) which will then be interpreted as multiple arguments in the
|
separated) which will then be interpreted as multiple arguments in the
|
||||||
@ -123,7 +123,7 @@ variable X equal (xlo+xhi)/2+sqrt(v_area)
|
|||||||
region 1 block $X 2 INF INF EDGE EDGE
|
region 1 block $X 2 INF INF EDGE EDGE
|
||||||
variable X delete :pre
|
variable X delete :pre
|
||||||
|
|
||||||
can be replaced by
|
can be replaced by
|
||||||
|
|
||||||
region 1 block $((xlo+xhi)/2+sqrt(v_area)) 2 INF INF EDGE EDGE :pre
|
region 1 block $((xlo+xhi)/2+sqrt(v_area)) 2 INF INF EDGE EDGE :pre
|
||||||
|
|
||||||
@ -282,78 +282,135 @@ the "minimize"_minimize.html command. A parallel tempering
|
|||||||
3.4 Commands listed by category :link(cmd_4),h4
|
3.4 Commands listed by category :link(cmd_4),h4
|
||||||
|
|
||||||
This section lists all LAMMPS commands, grouped by category. The
|
This section lists all LAMMPS commands, grouped by category. The
|
||||||
"next section"_#cmd_5 lists the same commands alphabetically. Note
|
"next section"_#cmd_5 lists the same commands alphabetically. The
|
||||||
that some style options for some commands are part of specific LAMMPS
|
next section also includes (long) lists of style options for entries
|
||||||
packages, which means they cannot be used unless the package was
|
that appear in the following categories as a single command (fix,
|
||||||
included when LAMMPS was built. Not all packages are included in a
|
compute, pair, etc). Commands that are added by user packages are not
|
||||||
default LAMMPS build. These dependencies are listed as Restrictions
|
included in these categories, but they are in the next section.
|
||||||
in the command's documentation.
|
|
||||||
|
|
||||||
Initialization:
|
Initialization:
|
||||||
|
|
||||||
"atom_modify"_atom_modify.html, "atom_style"_atom_style.html,
|
"newton"_newton.html,
|
||||||
"boundary"_boundary.html, "dimension"_dimension.html,
|
"package"_package.html,
|
||||||
"newton"_newton.html, "processors"_processors.html, "units"_units.html
|
"processors"_processors.html,
|
||||||
|
"suffix"_suffix.html,
|
||||||
|
"units"_units.html
|
||||||
|
|
||||||
Atom definition:
|
Setup simulation box:
|
||||||
|
|
||||||
"create_atoms"_create_atoms.html, "create_box"_create_box.html,
|
"boundary"_boundary.html,
|
||||||
"lattice"_lattice.html, "read_data"_read_data.html,
|
"box"_box.html,
|
||||||
"read_dump"_read_dump.html, "read_restart"_read_restart.html,
|
"change_box"_change_box.html,
|
||||||
"region"_region.html, "replicate"_replicate.html
|
"create_box"_create_box.html,
|
||||||
|
"dimension"_dimension.html,
|
||||||
|
"lattice"_lattice.html,
|
||||||
|
"region"_region.html
|
||||||
|
|
||||||
|
Setup atoms:
|
||||||
|
|
||||||
|
"atom_modify"_atom_modify.html,
|
||||||
|
"atom_style"_atom_style.html,
|
||||||
|
"balance"_balance.html,
|
||||||
|
"create_atoms"_create_atoms.html,
|
||||||
|
"create_bonds"_create_bonds.html,
|
||||||
|
"delete_atoms"_delete_atoms.html,
|
||||||
|
"delete_bonds"_delete_bonds.html,
|
||||||
|
"displace_atoms"_displace_atoms.html,
|
||||||
|
"group"_group.html,
|
||||||
|
"mass"_mass.html,
|
||||||
|
"molecule"_molecule.html,
|
||||||
|
"read_data"_read_data.html,
|
||||||
|
"read_dump"_read_dump.html,
|
||||||
|
"read_restart"_read_restart.html,
|
||||||
|
"replicate"_replicate.html,
|
||||||
|
"set"_set.html,
|
||||||
|
"velocity"_velocity.html
|
||||||
|
|
||||||
Force fields:
|
Force fields:
|
||||||
|
|
||||||
"angle_coeff"_angle_coeff.html, "angle_style"_angle_style.html,
|
"angle_coeff"_angle_coeff.html,
|
||||||
"bond_coeff"_bond_coeff.html, "bond_style"_bond_style.html,
|
"angle_style"_angle_style.html,
|
||||||
"dielectric"_dielectric.html, "dihedral_coeff"_dihedral_coeff.html,
|
"bond_coeff"_bond_coeff.html,
|
||||||
|
"bond_style"_bond_style.html,
|
||||||
|
"bond_write"_bond_write.html,
|
||||||
|
"dielectric"_dielectric.html,
|
||||||
|
"dihedral_coeff"_dihedral_coeff.html,
|
||||||
"dihedral_style"_dihedral_style.html,
|
"dihedral_style"_dihedral_style.html,
|
||||||
"improper_coeff"_improper_coeff.html,
|
"improper_coeff"_improper_coeff.html,
|
||||||
"improper_style"_improper_style.html,
|
"improper_style"_improper_style.html,
|
||||||
"kspace_modify"_kspace_modify.html, "kspace_style"_kspace_style.html,
|
"kspace_modify"_kspace_modify.html,
|
||||||
"pair_coeff"_pair_coeff.html, "pair_modify"_pair_modify.html,
|
"kspace_style"_kspace_style.html,
|
||||||
"pair_style"_pair_style.html, "pair_write"_pair_write.html,
|
"pair_coeff"_pair_coeff.html,
|
||||||
|
"pair_modify"_pair_modify.html,
|
||||||
|
"pair_style"_pair_style.html,
|
||||||
|
"pair_write"_pair_write.html,
|
||||||
"special_bonds"_special_bonds.html
|
"special_bonds"_special_bonds.html
|
||||||
|
|
||||||
Settings:
|
Settings:
|
||||||
|
|
||||||
"comm_style"_comm_style.html, "group"_group.html, "mass"_mass.html,
|
"comm_modify"_comm_modify.html,
|
||||||
"min_modify"_min_modify.html, "min_style"_min_style.html,
|
"comm_style"_comm_style.html,
|
||||||
"neigh_modify"_neigh_modify.html, "neighbor"_neighbor.html,
|
"info"_info.html,
|
||||||
"reset_timestep"_reset_timestep.html, "run_style"_run_style.html,
|
"min_modify"_min_modify.html,
|
||||||
"set"_set.html, "timestep"_timestep.html, "velocity"_velocity.html
|
"min_style"_min_style.html,
|
||||||
|
"neigh_modify"_neigh_modify.html,
|
||||||
|
"neighbor"_neighbor.html,
|
||||||
|
"partition"_partition.html,
|
||||||
|
"reset_timestep"_reset_timestep.html,
|
||||||
|
"run_style"_run_style.html,
|
||||||
|
"timer"_timer.html,
|
||||||
|
"timestep"_timestep.html
|
||||||
|
|
||||||
Fixes:
|
Operations within timestepping (fixes) and diagnositics (computes):
|
||||||
|
|
||||||
"fix"_fix.html, "fix_modify"_fix_modify.html, "unfix"_unfix.html
|
"compute"_compute.html,
|
||||||
|
"compute_modify"_compute_modify.html,
|
||||||
Computes:
|
"fix"_fix.html,
|
||||||
|
"fix_modify"_fix_modify.html,
|
||||||
"compute"_compute.html, "compute_modify"_compute_modify.html,
|
"uncompute"_uncompute.html,
|
||||||
"uncompute"_uncompute.html
|
"unfix"_unfix.html
|
||||||
|
|
||||||
Output:
|
Output:
|
||||||
|
|
||||||
"dump"_dump.html, "dump image"_dump_image.html,
|
"dump image"_dump_image.html,
|
||||||
"dump_modify"_dump_modify.html, "dump movie"_dump_image.html,
|
"dump movie"_dump_image.html,
|
||||||
"restart"_restart.html, "thermo"_thermo.html,
|
"dump"_dump.html,
|
||||||
"thermo_modify"_thermo_modify.html, "thermo_style"_thermo_style.html,
|
"dump_modify"_dump_modify.html,
|
||||||
"undump"_undump.html, "write_data"_write_data.html,
|
"restart"_restart.html,
|
||||||
"write_dump"_write_dump.html, "write_restart"_write_restart.html
|
"thermo"_thermo.html,
|
||||||
|
"thermo_modify"_thermo_modify.html,
|
||||||
|
"thermo_style"_thermo_style.html,
|
||||||
|
"undump"_undump.html,
|
||||||
|
"write_coeff"_write_coeff.html,
|
||||||
|
"write_data"_write_data.html,
|
||||||
|
"write_dump"_write_dump.html,
|
||||||
|
"write_restart"_write_restart.html
|
||||||
|
|
||||||
Actions:
|
Actions:
|
||||||
|
|
||||||
"delete_atoms"_delete_atoms.html, "delete_bonds"_delete_bonds.html,
|
"minimize"_minimize.html,
|
||||||
"displace_atoms"_displace_atoms.html, "change_box"_change_box.html,
|
"neb"_neb.html,
|
||||||
"minimize"_minimize.html, "neb"_neb.html "prd"_prd.html,
|
"prd"_prd.html,
|
||||||
"rerun"_rerun.html, "run"_run.html, "temper"_temper.html
|
"rerun"_rerun.html,
|
||||||
|
"run"_run.html,
|
||||||
|
"tad"_tad.html,
|
||||||
|
"temper"_temper.html
|
||||||
|
|
||||||
Miscellaneous:
|
Input script control:
|
||||||
|
|
||||||
"clear"_clear.html, "echo"_echo.html, "if"_if.html,
|
"clear"_clear.html,
|
||||||
"include"_include.html, "jump"_jump.html, "label"_label.html,
|
"echo"_echo.html,
|
||||||
"log"_log.html, "next"_next.html, "print"_print.html,
|
"if"_if.html,
|
||||||
"shell"_shell.html, "variable"_variable.html
|
"include"_include.html,
|
||||||
|
"jump"_jump.html,
|
||||||
|
"label"_label.html,
|
||||||
|
"log"_log.html,
|
||||||
|
"next"_next.html,
|
||||||
|
"print"_print.html,
|
||||||
|
"python"_python.html,
|
||||||
|
"quit"_quit.html,
|
||||||
|
"shell"_shell.html,
|
||||||
|
"variable"_variable.html
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
@ -471,8 +528,11 @@ These are additional commands in USER packages, which can be used if
|
|||||||
package"_Section_start.html#start_3.
|
package"_Section_start.html#start_3.
|
||||||
|
|
||||||
"dump custom/vtk"_dump_custom_vtk.html,
|
"dump custom/vtk"_dump_custom_vtk.html,
|
||||||
|
"dump nc"_dump_nc.html,
|
||||||
|
"dump nc/mpiio"_dump_nc.html,
|
||||||
"group2ndx"_group2ndx.html,
|
"group2ndx"_group2ndx.html,
|
||||||
"ndx2group"_group2ndx.html :tb(c=3,ea=c)
|
"ndx2group"_group2ndx.html,
|
||||||
|
"temper/grem"_temper_grem.html :tb(c=3,ea=c)
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
@ -516,12 +576,14 @@ USER-INTEL, k = KOKKOS, o = USER-OMP, t = OPT.
|
|||||||
"gcmc"_fix_gcmc.html,
|
"gcmc"_fix_gcmc.html,
|
||||||
"gld"_fix_gld.html,
|
"gld"_fix_gld.html,
|
||||||
"gravity (o)"_fix_gravity.html,
|
"gravity (o)"_fix_gravity.html,
|
||||||
|
"halt"_fix_halt.html,
|
||||||
"heat"_fix_heat.html,
|
"heat"_fix_heat.html,
|
||||||
"indent"_fix_indent.html,
|
"indent"_fix_indent.html,
|
||||||
"langevin (k)"_fix_langevin.html,
|
"langevin (k)"_fix_langevin.html,
|
||||||
"lineforce"_fix_lineforce.html,
|
"lineforce"_fix_lineforce.html,
|
||||||
"momentum"_fix_momentum.html,
|
"momentum (k)"_fix_momentum.html,
|
||||||
"move"_fix_move.html,
|
"move"_fix_move.html,
|
||||||
|
"mscg"_fix_mscg.html,
|
||||||
"msst"_fix_msst.html,
|
"msst"_fix_msst.html,
|
||||||
"neb"_fix_neb.html,
|
"neb"_fix_neb.html,
|
||||||
"nph (ko)"_fix_nh.html,
|
"nph (ko)"_fix_nh.html,
|
||||||
@ -572,10 +634,10 @@ USER-INTEL, k = KOKKOS, o = USER-OMP, t = OPT.
|
|||||||
"rigid/nve (o)"_fix_rigid.html,
|
"rigid/nve (o)"_fix_rigid.html,
|
||||||
"rigid/nvt (o)"_fix_rigid.html,
|
"rigid/nvt (o)"_fix_rigid.html,
|
||||||
"rigid/small (o)"_fix_rigid.html,
|
"rigid/small (o)"_fix_rigid.html,
|
||||||
"rigid/small/nph"_fix_rigid.html,
|
"rigid/small/nph (o)"_fix_rigid.html,
|
||||||
"rigid/small/npt"_fix_rigid.html,
|
"rigid/small/npt (o)"_fix_rigid.html,
|
||||||
"rigid/small/nve"_fix_rigid.html,
|
"rigid/small/nve (o)"_fix_rigid.html,
|
||||||
"rigid/small/nvt"_fix_rigid.html,
|
"rigid/small/nvt (o)"_fix_rigid.html,
|
||||||
"setforce (k)"_fix_setforce.html,
|
"setforce (k)"_fix_setforce.html,
|
||||||
"shake"_fix_shake.html,
|
"shake"_fix_shake.html,
|
||||||
"spring"_fix_spring.html,
|
"spring"_fix_spring.html,
|
||||||
@ -599,6 +661,7 @@ USER-INTEL, k = KOKKOS, o = USER-OMP, t = OPT.
|
|||||||
"viscous"_fix_viscous.html,
|
"viscous"_fix_viscous.html,
|
||||||
"wall/colloid"_fix_wall.html,
|
"wall/colloid"_fix_wall.html,
|
||||||
"wall/gran"_fix_wall_gran.html,
|
"wall/gran"_fix_wall_gran.html,
|
||||||
|
"wall/gran/region"_fix_wall_gran_region.html,
|
||||||
"wall/harmonic"_fix_wall.html,
|
"wall/harmonic"_fix_wall.html,
|
||||||
"wall/lj1043"_fix_wall.html,
|
"wall/lj1043"_fix_wall.html,
|
||||||
"wall/lj126"_fix_wall.html,
|
"wall/lj126"_fix_wall.html,
|
||||||
@ -617,6 +680,7 @@ package"_Section_start.html#start_3.
|
|||||||
"atc"_fix_atc.html,
|
"atc"_fix_atc.html,
|
||||||
"ave/correlate/long"_fix_ave_correlate_long.html,
|
"ave/correlate/long"_fix_ave_correlate_long.html,
|
||||||
"colvars"_fix_colvars.html,
|
"colvars"_fix_colvars.html,
|
||||||
|
"dpd/energy"_fix_dpd_energy.html,
|
||||||
"drude"_fix_drude.html,
|
"drude"_fix_drude.html,
|
||||||
"drude/transform/direct"_fix_drude_transform.html,
|
"drude/transform/direct"_fix_drude_transform.html,
|
||||||
"drude/transform/reverse"_fix_drude_transform.html,
|
"drude/transform/reverse"_fix_drude_transform.html,
|
||||||
@ -625,6 +689,7 @@ package"_Section_start.html#start_3.
|
|||||||
"eos/table/rx"_fix_eos_table_rx.html,
|
"eos/table/rx"_fix_eos_table_rx.html,
|
||||||
"flow/gauss"_fix_flow_gauss.html,
|
"flow/gauss"_fix_flow_gauss.html,
|
||||||
"gle"_fix_gle.html,
|
"gle"_fix_gle.html,
|
||||||
|
"grem"_fix_grem.html,
|
||||||
"imd"_fix_imd.html,
|
"imd"_fix_imd.html,
|
||||||
"ipi"_fix_ipi.html,
|
"ipi"_fix_ipi.html,
|
||||||
"langevin/drude"_fix_langevin_drude.html,
|
"langevin/drude"_fix_langevin_drude.html,
|
||||||
@ -637,7 +702,10 @@ package"_Section_start.html#start_3.
|
|||||||
"meso"_fix_meso.html,
|
"meso"_fix_meso.html,
|
||||||
"manifoldforce"_fix_manifoldforce.html,
|
"manifoldforce"_fix_manifoldforce.html,
|
||||||
"meso/stationary"_fix_meso_stationary.html,
|
"meso/stationary"_fix_meso_stationary.html,
|
||||||
|
"nve/dot"_fix_nve_dot.html,
|
||||||
|
"nve/dotc/langevin"_fix_nve_dotc_langevin.html,
|
||||||
"nve/manifold/rattle"_fix_nve_manifold_rattle.html,
|
"nve/manifold/rattle"_fix_nve_manifold_rattle.html,
|
||||||
|
"nvk"_fix_nvk.html,
|
||||||
"nvt/manifold/rattle"_fix_nvt_manifold_rattle.html,
|
"nvt/manifold/rattle"_fix_nvt_manifold_rattle.html,
|
||||||
"nph/eff"_fix_nh_eff.html,
|
"nph/eff"_fix_nh_eff.html,
|
||||||
"npt/eff"_fix_nh_eff.html,
|
"npt/eff"_fix_nh_eff.html,
|
||||||
@ -703,6 +771,7 @@ KOKKOS, o = USER-OMP, t = OPT.
|
|||||||
"erotate/sphere"_compute_erotate_sphere.html,
|
"erotate/sphere"_compute_erotate_sphere.html,
|
||||||
"erotate/sphere/atom"_compute_erotate_sphere_atom.html,
|
"erotate/sphere/atom"_compute_erotate_sphere_atom.html,
|
||||||
"event/displace"_compute_event_displace.html,
|
"event/displace"_compute_event_displace.html,
|
||||||
|
"global/atom"_compute_global_atom.html,
|
||||||
"group/group"_compute_group_group.html,
|
"group/group"_compute_group_group.html,
|
||||||
"gyration"_compute_gyration.html,
|
"gyration"_compute_gyration.html,
|
||||||
"gyration/chunk"_compute_gyration_chunk.html,
|
"gyration/chunk"_compute_gyration_chunk.html,
|
||||||
@ -824,6 +893,8 @@ KOKKOS, o = USER-OMP, t = OPT.
|
|||||||
"body"_pair_body.html,
|
"body"_pair_body.html,
|
||||||
"bop"_pair_bop.html,
|
"bop"_pair_bop.html,
|
||||||
"born (go)"_pair_born.html,
|
"born (go)"_pair_born.html,
|
||||||
|
"born/coul/dsf"_pair_born.html,
|
||||||
|
"born/coul/dsf/cs"_pair_born.html,
|
||||||
"born/coul/long (go)"_pair_born.html,
|
"born/coul/long (go)"_pair_born.html,
|
||||||
"born/coul/long/cs"_pair_born.html,
|
"born/coul/long/cs"_pair_born.html,
|
||||||
"born/coul/msm (o)"_pair_born.html,
|
"born/coul/msm (o)"_pair_born.html,
|
||||||
@ -847,10 +918,10 @@ KOKKOS, o = USER-OMP, t = OPT.
|
|||||||
"coul/msm"_pair_coul.html,
|
"coul/msm"_pair_coul.html,
|
||||||
"coul/streitz"_pair_coul.html,
|
"coul/streitz"_pair_coul.html,
|
||||||
"coul/wolf (ko)"_pair_coul.html,
|
"coul/wolf (ko)"_pair_coul.html,
|
||||||
"dpd (o)"_pair_dpd.html,
|
"dpd (go)"_pair_dpd.html,
|
||||||
"dpd/tstat (o)"_pair_dpd.html,
|
"dpd/tstat (go)"_pair_dpd.html,
|
||||||
"dsmc"_pair_dsmc.html,
|
"dsmc"_pair_dsmc.html,
|
||||||
"eam (gkot)"_pair_eam.html,
|
"eam (gkiot)"_pair_eam.html,
|
||||||
"eam/alloy (gkot)"_pair_eam.html,
|
"eam/alloy (gkot)"_pair_eam.html,
|
||||||
"eam/fs (gkot)"_pair_eam.html,
|
"eam/fs (gkot)"_pair_eam.html,
|
||||||
"eim (o)"_pair_eim.html,
|
"eim (o)"_pair_eim.html,
|
||||||
@ -896,7 +967,7 @@ KOKKOS, o = USER-OMP, t = OPT.
|
|||||||
"lubricate/poly (o)"_pair_lubricate.html,
|
"lubricate/poly (o)"_pair_lubricate.html,
|
||||||
"lubricateU"_pair_lubricateU.html,
|
"lubricateU"_pair_lubricateU.html,
|
||||||
"lubricateU/poly"_pair_lubricateU.html,
|
"lubricateU/poly"_pair_lubricateU.html,
|
||||||
"meam (o)"_pair_meam.html,
|
"meam"_pair_meam.html,
|
||||||
"mie/cut (o)"_pair_mie.html,
|
"mie/cut (o)"_pair_mie.html,
|
||||||
"morse (got)"_pair_morse.html,
|
"morse (got)"_pair_morse.html,
|
||||||
"nb3b/harmonic (o)"_pair_nb3b_harmonic.html,
|
"nb3b/harmonic (o)"_pair_nb3b_harmonic.html,
|
||||||
@ -917,11 +988,13 @@ KOKKOS, o = USER-OMP, t = OPT.
|
|||||||
"table (gko)"_pair_table.html,
|
"table (gko)"_pair_table.html,
|
||||||
"tersoff (gkio)"_pair_tersoff.html,
|
"tersoff (gkio)"_pair_tersoff.html,
|
||||||
"tersoff/mod (gko)"_pair_tersoff_mod.html,
|
"tersoff/mod (gko)"_pair_tersoff_mod.html,
|
||||||
|
"tersoff/mod/c (o)"_pair_tersoff_mod.html,
|
||||||
"tersoff/zbl (gko)"_pair_tersoff_zbl.html,
|
"tersoff/zbl (gko)"_pair_tersoff_zbl.html,
|
||||||
"tip4p/cut (o)"_pair_coul.html,
|
"tip4p/cut (o)"_pair_coul.html,
|
||||||
"tip4p/long (o)"_pair_coul.html,
|
"tip4p/long (o)"_pair_coul.html,
|
||||||
"tri/lj"_pair_tri_lj.html,
|
"tri/lj"_pair_tri_lj.html,
|
||||||
"vashishta (o)"_pair_vashishta.html,
|
"vashishta (ko)"_pair_vashishta.html,
|
||||||
|
"vashishta/table (o)"_pair_vashishta.html,
|
||||||
"yukawa (go)"_pair_yukawa.html,
|
"yukawa (go)"_pair_yukawa.html,
|
||||||
"yukawa/colloid (go)"_pair_yukawa_colloid.html,
|
"yukawa/colloid (go)"_pair_yukawa_colloid.html,
|
||||||
"zbl (go)"_pair_zbl.html :tb(c=4,ea=c)
|
"zbl (go)"_pair_zbl.html :tb(c=4,ea=c)
|
||||||
@ -930,6 +1003,7 @@ These are additional pair styles in USER packages, which can be used
|
|||||||
if "LAMMPS is built with the appropriate
|
if "LAMMPS is built with the appropriate
|
||||||
package"_Section_start.html#start_3.
|
package"_Section_start.html#start_3.
|
||||||
|
|
||||||
|
"agni (o)"_pair_agni.html,
|
||||||
"awpmd/cut"_pair_awpmd.html,
|
"awpmd/cut"_pair_awpmd.html,
|
||||||
"buck/mdf"_pair_mdf.html,
|
"buck/mdf"_pair_mdf.html,
|
||||||
"coul/cut/soft (o)"_pair_lj_soft.html,
|
"coul/cut/soft (o)"_pair_lj_soft.html,
|
||||||
@ -956,13 +1030,18 @@ package"_Section_start.html#start_3.
|
|||||||
"lj/sdk/coul/long (go)"_pair_sdk.html,
|
"lj/sdk/coul/long (go)"_pair_sdk.html,
|
||||||
"lj/sdk/coul/msm (o)"_pair_sdk.html,
|
"lj/sdk/coul/msm (o)"_pair_sdk.html,
|
||||||
"lj/sf (o)"_pair_lj_sf.html,
|
"lj/sf (o)"_pair_lj_sf.html,
|
||||||
"meam/spline"_pair_meam_spline.html,
|
"meam/spline (o)"_pair_meam_spline.html,
|
||||||
"meam/sw/spline"_pair_meam_sw_spline.html,
|
"meam/sw/spline"_pair_meam_sw_spline.html,
|
||||||
"mgpt"_pair_mgpt.html,
|
"mgpt"_pair_mgpt.html,
|
||||||
"morse/smooth/linear"_pair_morse.html,
|
"morse/smooth/linear"_pair_morse.html,
|
||||||
"morse/soft"_pair_morse.html,
|
"morse/soft"_pair_morse.html,
|
||||||
"multi/lucy"_pair_multi_lucy.html,
|
"multi/lucy"_pair_multi_lucy.html,
|
||||||
"multi/lucy/rx"_pair_multi_lucy_rx.html,
|
"multi/lucy/rx"_pair_multi_lucy_rx.html,
|
||||||
|
"oxdna/coaxstk"_pair_oxdna.html,
|
||||||
|
"oxdna/excv"_pair_oxdna.html,
|
||||||
|
"oxdna/hbond"_pair_oxdna.html,
|
||||||
|
"oxdna/stk"_pair_oxdna.html,
|
||||||
|
"oxdna/xstk"_pair_oxdna.html,
|
||||||
"quip"_pair_quip.html,
|
"quip"_pair_quip.html,
|
||||||
"reax/c (k)"_pair_reax_c.html,
|
"reax/c (k)"_pair_reax_c.html,
|
||||||
"smd/hertz"_pair_smd_hertz.html,
|
"smd/hertz"_pair_smd_hertz.html,
|
||||||
@ -1011,7 +1090,8 @@ if "LAMMPS is built with the appropriate
|
|||||||
package"_Section_start.html#start_3.
|
package"_Section_start.html#start_3.
|
||||||
|
|
||||||
"harmonic/shift (o)"_bond_harmonic_shift.html,
|
"harmonic/shift (o)"_bond_harmonic_shift.html,
|
||||||
"harmonic/shift/cut (o)"_bond_harmonic_shift_cut.html :tb(c=4,ea=c)
|
"harmonic/shift/cut (o)"_bond_harmonic_shift_cut.html,
|
||||||
|
"oxdna/fene"_bond_oxdna_fene.html :tb(c=4,ea=c)
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
|
|||||||
@ -55,12 +55,13 @@ LAMMPS errors are detected at setup time; others like a bond
|
|||||||
stretching too far may not occur until the middle of a run.
|
stretching too far may not occur until the middle of a run.
|
||||||
|
|
||||||
LAMMPS tries to flag errors and print informative error messages so
|
LAMMPS tries to flag errors and print informative error messages so
|
||||||
you can fix the problem. Of course, LAMMPS cannot figure out your
|
you can fix the problem. For most errors it will also print the last
|
||||||
physics or numerical mistakes, like choosing too big a timestep,
|
input script command that it was processing. Of course, LAMMPS cannot
|
||||||
specifying erroneous force field coefficients, or putting 2 atoms on
|
figure out your physics or numerical mistakes, like choosing too big a
|
||||||
top of each other! If you run into errors that LAMMPS doesn't catch
|
timestep, specifying erroneous force field coefficients, or putting 2
|
||||||
that you think it should flag, please send an email to the
|
atoms on top of each other! If you run into errors that LAMMPS
|
||||||
"developers"_http://lammps.sandia.gov/authors.html.
|
doesn't catch that you think it should flag, please send an email to
|
||||||
|
the "developers"_http://lammps.sandia.gov/authors.html.
|
||||||
|
|
||||||
If you get an error message about an invalid command in your input
|
If you get an error message about an invalid command in your input
|
||||||
script, you can determine what command is causing the problem by
|
script, you can determine what command is causing the problem by
|
||||||
@ -159,7 +160,7 @@ As a last resort, you can send an email directly to the
|
|||||||
These are two alphabetic lists of the "ERROR"_#error and
|
These are two alphabetic lists of the "ERROR"_#error and
|
||||||
"WARNING"_#warn messages LAMMPS prints out and the reason why. If the
|
"WARNING"_#warn messages LAMMPS prints out and the reason why. If the
|
||||||
explanation here is not sufficient, the documentation for the
|
explanation here is not sufficient, the documentation for the
|
||||||
offending command may help.
|
offending command may help.
|
||||||
Error and warning messages also list the source file and line number
|
Error and warning messages also list the source file and line number
|
||||||
where the error was generated. For example, this message
|
where the error was generated. For example, this message
|
||||||
|
|
||||||
@ -8116,11 +8117,11 @@ boundary of a processor's sub-domain has moved more than 1/2 the
|
|||||||
rebuilt and atoms being migrated to new processors. This also means
|
rebuilt and atoms being migrated to new processors. This also means
|
||||||
you may be missing pairwise interactions that need to be computed.
|
you may be missing pairwise interactions that need to be computed.
|
||||||
The solution is to change the re-neighboring criteria via the
|
The solution is to change the re-neighboring criteria via the
|
||||||
"neigh_modify"_neigh_modify command. The safest settings are "delay 0
|
"neigh_modify"_neigh_modify.html command. The safest settings are
|
||||||
every 1 check yes". Second, it may mean that an atom has moved far
|
"delay 0 every 1 check yes". Second, it may mean that an atom has
|
||||||
outside a processor's sub-domain or even the entire simulation box.
|
moved far outside a processor's sub-domain or even the entire
|
||||||
This indicates bad physics, e.g. due to highly overlapping atoms, too
|
simulation box. This indicates bad physics, e.g. due to highly
|
||||||
large a timestep, etc. :dd
|
overlapping atoms, too large a timestep, etc. :dd
|
||||||
|
|
||||||
{Out of range atoms - cannot compute PPPM} :dt
|
{Out of range atoms - cannot compute PPPM} :dt
|
||||||
|
|
||||||
@ -8132,11 +8133,11 @@ boundary of a processor's sub-domain has moved more than 1/2 the
|
|||||||
rebuilt and atoms being migrated to new processors. This also means
|
rebuilt and atoms being migrated to new processors. This also means
|
||||||
you may be missing pairwise interactions that need to be computed.
|
you may be missing pairwise interactions that need to be computed.
|
||||||
The solution is to change the re-neighboring criteria via the
|
The solution is to change the re-neighboring criteria via the
|
||||||
"neigh_modify"_neigh_modify command. The safest settings are "delay 0
|
"neigh_modify"_neigh_modify.html command. The safest settings are
|
||||||
every 1 check yes". Second, it may mean that an atom has moved far
|
"delay 0 every 1 check yes". Second, it may mean that an atom has
|
||||||
outside a processor's sub-domain or even the entire simulation box.
|
moved far outside a processor's sub-domain or even the entire
|
||||||
This indicates bad physics, e.g. due to highly overlapping atoms, too
|
simulation box. This indicates bad physics, e.g. due to highly
|
||||||
large a timestep, etc. :dd
|
overlapping atoms, too large a timestep, etc. :dd
|
||||||
|
|
||||||
{Out of range atoms - cannot compute PPPMDisp} :dt
|
{Out of range atoms - cannot compute PPPMDisp} :dt
|
||||||
|
|
||||||
@ -8148,11 +8149,11 @@ boundary of a processor's sub-domain has moved more than 1/2 the
|
|||||||
rebuilt and atoms being migrated to new processors. This also means
|
rebuilt and atoms being migrated to new processors. This also means
|
||||||
you may be missing pairwise interactions that need to be computed.
|
you may be missing pairwise interactions that need to be computed.
|
||||||
The solution is to change the re-neighboring criteria via the
|
The solution is to change the re-neighboring criteria via the
|
||||||
"neigh_modify"_neigh_modify command. The safest settings are "delay 0
|
"neigh_modify"_neigh_modify.html command. The safest settings are
|
||||||
every 1 check yes". Second, it may mean that an atom has moved far
|
"delay 0 every 1 check yes". Second, it may mean that an atom has
|
||||||
outside a processor's sub-domain or even the entire simulation box.
|
moved far outside a processor's sub-domain or even the entire
|
||||||
This indicates bad physics, e.g. due to highly overlapping atoms, too
|
simulation box. This indicates bad physics, e.g. due to highly
|
||||||
large a timestep, etc. :dd
|
overlapping atoms, too large a timestep, etc. :dd
|
||||||
|
|
||||||
{Overflow of allocated fix vector storage} :dt
|
{Overflow of allocated fix vector storage} :dt
|
||||||
|
|
||||||
|
|||||||
@ -54,30 +54,30 @@ accelerate: run with various acceleration options (OpenMP, GPU, Phi)
|
|||||||
balance: dynamic load balancing, 2d system
|
balance: dynamic load balancing, 2d system
|
||||||
body: body particles, 2d system
|
body: body particles, 2d system
|
||||||
colloid: big colloid particles in a small particle solvent, 2d system
|
colloid: big colloid particles in a small particle solvent, 2d system
|
||||||
comb: models using the COMB potential
|
comb: models using the COMB potential
|
||||||
coreshell: core/shell model using CORESHELL package
|
coreshell: core/shell model using CORESHELL package
|
||||||
crack: crack propagation in a 2d solid
|
crack: crack propagation in a 2d solid
|
||||||
deposit: deposit atoms and molecules on a surface
|
deposit: deposit atoms and molecules on a surface
|
||||||
dipole: point dipolar particles, 2d system
|
dipole: point dipolar particles, 2d system
|
||||||
dreiding: methanol via Dreiding FF
|
dreiding: methanol via Dreiding FF
|
||||||
eim: NaCl using the EIM potential
|
eim: NaCl using the EIM potential
|
||||||
ellipse: ellipsoidal particles in spherical solvent, 2d system
|
ellipse: ellipsoidal particles in spherical solvent, 2d system
|
||||||
flow: Couette and Poiseuille flow in a 2d channel
|
flow: Couette and Poiseuille flow in a 2d channel
|
||||||
friction: frictional contact of spherical asperities between 2d surfaces
|
friction: frictional contact of spherical asperities between 2d surfaces
|
||||||
hugoniostat: Hugoniostat shock dynamics
|
hugoniostat: Hugoniostat shock dynamics
|
||||||
indent: spherical indenter into a 2d solid
|
indent: spherical indenter into a 2d solid
|
||||||
kim: use of potentials in Knowledge Base for Interatomic Models (KIM)
|
kim: use of potentials in Knowledge Base for Interatomic Models (KIM)
|
||||||
meam: MEAM test for SiC and shear (same as shear examples)
|
meam: MEAM test for SiC and shear (same as shear examples)
|
||||||
melt: rapid melt of 3d LJ system
|
melt: rapid melt of 3d LJ system
|
||||||
micelle: self-assembly of small lipid-like molecules into 2d bilayers
|
micelle: self-assembly of small lipid-like molecules into 2d bilayers
|
||||||
min: energy minimization of 2d LJ melt
|
min: energy minimization of 2d LJ melt
|
||||||
msst: MSST shock dynamics
|
msst: MSST shock dynamics
|
||||||
nb3b: use of nonbonded 3-body harmonic pair style
|
nb3b: use of nonbonded 3-body harmonic pair style
|
||||||
neb: nudged elastic band (NEB) calculation for barrier finding
|
neb: nudged elastic band (NEB) calculation for barrier finding
|
||||||
nemd: non-equilibrium MD of 2d sheared system
|
nemd: non-equilibrium MD of 2d sheared system
|
||||||
obstacle: flow around two voids in a 2d channel
|
obstacle: flow around two voids in a 2d channel
|
||||||
peptide: dynamics of a small solvated peptide chain (5-mer)
|
peptide: dynamics of a small solvated peptide chain (5-mer)
|
||||||
peri: Peridynamic model of cylinder impacted by indenter
|
peri: Peridynamic model of cylinder impacted by indenter
|
||||||
pour: pouring of granular particles into a 3d box, then chute flow
|
pour: pouring of granular particles into a 3d box, then chute flow
|
||||||
prd: parallel replica dynamics of vacancy diffusion in bulk Si
|
prd: parallel replica dynamics of vacancy diffusion in bulk Si
|
||||||
python: using embedded Python in a LAMMPS input script
|
python: using embedded Python in a LAMMPS input script
|
||||||
@ -120,7 +120,7 @@ browser.
|
|||||||
Uppercase directories :h4
|
Uppercase directories :h4
|
||||||
|
|
||||||
ASPHERE: various aspherical particle models, using ellipsoids, rigid bodies, line/triangle particles, etc
|
ASPHERE: various aspherical particle models, using ellipsoids, rigid bodies, line/triangle particles, etc
|
||||||
COUPLE: examples of how to use LAMMPS as a library
|
COUPLE: examples of how to use LAMMPS as a library
|
||||||
DIFFUSE: compute diffusion coefficients via several methods
|
DIFFUSE: compute diffusion coefficients via several methods
|
||||||
ELASTIC: compute elastic constants at zero temperature
|
ELASTIC: compute elastic constants at zero temperature
|
||||||
ELASTIC_T: compute elastic constants at finite temperature
|
ELASTIC_T: compute elastic constants at finite temperature
|
||||||
|
|||||||
@ -37,7 +37,7 @@ pitfalls or alternatives.
|
|||||||
|
|
||||||
Please see some of the closed issues for examples of how to
|
Please see some of the closed issues for examples of how to
|
||||||
suggest code enhancements, submit proposed changes, or report
|
suggest code enhancements, submit proposed changes, or report
|
||||||
elated issues and how they are resoved.
|
possible bugs and how they are resoved.
|
||||||
|
|
||||||
As an alternative to using GitHub, you may e-mail the
|
As an alternative to using GitHub, you may e-mail the
|
||||||
"core developers"_http://lammps.sandia.gov/authors.html or send
|
"core developers"_http://lammps.sandia.gov/authors.html or send
|
||||||
@ -71,7 +71,7 @@ a parallel framework similar to LAMMPS. Most notably, these have
|
|||||||
included many-body potentials - Stillinger-Weber, Tersoff, ReaxFF -
|
included many-body potentials - Stillinger-Weber, Tersoff, ReaxFF -
|
||||||
and the associated charge-equilibration routines needed for ReaxFF.
|
and the associated charge-equilibration routines needed for ReaxFF.
|
||||||
|
|
||||||
The "History link"_http://lammps.sandia.gov/history.html on the
|
The "History link"_http://lammps.sandia.gov/history.html on the
|
||||||
LAMMPS WWW page gives a timeline of features added to the
|
LAMMPS WWW page gives a timeline of features added to the
|
||||||
C++ open-source version of LAMMPS over the last several years.
|
C++ open-source version of LAMMPS over the last several years.
|
||||||
|
|
||||||
@ -80,7 +80,7 @@ site"_lws, except for Warp & GranFlow which were primarily used
|
|||||||
internally. A brief listing of their features is given here.
|
internally. A brief listing of their features is given here.
|
||||||
|
|
||||||
LAMMPS 2001
|
LAMMPS 2001
|
||||||
|
|
||||||
F90 + MPI
|
F90 + MPI
|
||||||
dynamic memory
|
dynamic memory
|
||||||
spatial-decomposition parallelism
|
spatial-decomposition parallelism
|
||||||
@ -96,7 +96,7 @@ LAMMPS 2001
|
|||||||
user-defined diagnostics :ul
|
user-defined diagnostics :ul
|
||||||
|
|
||||||
LAMMPS 99
|
LAMMPS 99
|
||||||
|
|
||||||
F77 + MPI
|
F77 + MPI
|
||||||
static memory allocation
|
static memory allocation
|
||||||
spatial-decomposition parallelism
|
spatial-decomposition parallelism
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
:link(ld,Manual.html)
|
:link(ld,Manual.html)
|
||||||
:link(lc,Section_commands.html#comm)
|
:link(lc,Section_commands.html#comm)
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
6. How-to discussions :h3
|
6. How-to discussions :h3
|
||||||
|
|
||||||
@ -68,7 +68,7 @@ Look at the {in.chain} input script provided in the {bench} directory
|
|||||||
of the LAMMPS distribution to see the original script that these 2
|
of the LAMMPS distribution to see the original script that these 2
|
||||||
scripts are based on. If that script had the line
|
scripts are based on. If that script had the line
|
||||||
|
|
||||||
restart 50 tmp.restart :pre
|
restart 50 tmp.restart :pre
|
||||||
|
|
||||||
added to it, it would produce 2 binary restart files (tmp.restart.50
|
added to it, it would produce 2 binary restart files (tmp.restart.50
|
||||||
and tmp.restart.100) as it ran.
|
and tmp.restart.100) as it ran.
|
||||||
@ -76,17 +76,17 @@ and tmp.restart.100) as it ran.
|
|||||||
This script could be used to read the 1st restart file and re-run the
|
This script could be used to read the 1st restart file and re-run the
|
||||||
last 50 timesteps:
|
last 50 timesteps:
|
||||||
|
|
||||||
read_restart tmp.restart.50 :pre
|
read_restart tmp.restart.50 :pre
|
||||||
|
|
||||||
neighbor 0.4 bin
|
neighbor 0.4 bin
|
||||||
neigh_modify every 1 delay 1 :pre
|
neigh_modify every 1 delay 1 :pre
|
||||||
|
|
||||||
fix 1 all nve
|
fix 1 all nve
|
||||||
fix 2 all langevin 1.0 1.0 10.0 904297 :pre
|
fix 2 all langevin 1.0 1.0 10.0 904297 :pre
|
||||||
|
|
||||||
timestep 0.012 :pre
|
timestep 0.012 :pre
|
||||||
|
|
||||||
run 50 :pre
|
run 50 :pre
|
||||||
|
|
||||||
Note that the following commands do not need to be repeated because
|
Note that the following commands do not need to be repeated because
|
||||||
their settings are included in the restart file: {units, atom_style,
|
their settings are included in the restart file: {units, atom_style,
|
||||||
@ -107,25 +107,25 @@ lmp_g++ -r tmp.restart.50 tmp.restart.data :pre
|
|||||||
|
|
||||||
Then, this script could be used to re-run the last 50 steps:
|
Then, this script could be used to re-run the last 50 steps:
|
||||||
|
|
||||||
units lj
|
units lj
|
||||||
atom_style bond
|
atom_style bond
|
||||||
pair_style lj/cut 1.12
|
pair_style lj/cut 1.12
|
||||||
pair_modify shift yes
|
pair_modify shift yes
|
||||||
bond_style fene
|
bond_style fene
|
||||||
special_bonds 0.0 1.0 1.0 :pre
|
special_bonds 0.0 1.0 1.0 :pre
|
||||||
|
|
||||||
read_data tmp.restart.data :pre
|
read_data tmp.restart.data :pre
|
||||||
|
|
||||||
neighbor 0.4 bin
|
neighbor 0.4 bin
|
||||||
neigh_modify every 1 delay 1 :pre
|
neigh_modify every 1 delay 1 :pre
|
||||||
|
|
||||||
fix 1 all nve
|
fix 1 all nve
|
||||||
fix 2 all langevin 1.0 1.0 10.0 904297 :pre
|
fix 2 all langevin 1.0 1.0 10.0 904297 :pre
|
||||||
|
|
||||||
timestep 0.012 :pre
|
timestep 0.012 :pre
|
||||||
|
|
||||||
reset_timestep 50
|
reset_timestep 50
|
||||||
run 50 :pre
|
run 50 :pre
|
||||||
|
|
||||||
Note that nearly all the settings specified in the original {in.chain}
|
Note that nearly all the settings specified in the original {in.chain}
|
||||||
script must be repeated, except the {pair_coeff} and {bond_coeff}
|
script must be repeated, except the {pair_coeff} and {bond_coeff}
|
||||||
@ -522,7 +522,7 @@ H mass = 1.008
|
|||||||
O charge = -1.040
|
O charge = -1.040
|
||||||
H charge = 0.520
|
H charge = 0.520
|
||||||
r0 of OH bond = 0.9572
|
r0 of OH bond = 0.9572
|
||||||
theta of HOH angle = 104.52
|
theta of HOH angle = 104.52
|
||||||
OM distance = 0.15
|
OM distance = 0.15
|
||||||
LJ epsilon of O-O = 0.1550
|
LJ epsilon of O-O = 0.1550
|
||||||
LJ sigma of O-O = 3.1536
|
LJ sigma of O-O = 3.1536
|
||||||
@ -629,7 +629,7 @@ the SPC and SPC/E models.
|
|||||||
Wikipedia also has a nice article on "water
|
Wikipedia also has a nice article on "water
|
||||||
models"_http://en.wikipedia.org/wiki/Water_model.
|
models"_http://en.wikipedia.org/wiki/Water_model.
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
6.10 Coupling LAMMPS to other codes :link(howto_10),h4
|
6.10 Coupling LAMMPS to other codes :link(howto_10),h4
|
||||||
|
|
||||||
@ -729,7 +729,7 @@ LAMMPS and half to the other code and run both codes simultaneously
|
|||||||
before syncing them up periodically. Or it might instantiate multiple
|
before syncing them up periodically. Or it might instantiate multiple
|
||||||
instances of LAMMPS to perform different calculations.
|
instances of LAMMPS to perform different calculations.
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
6.11 Visualizing LAMMPS snapshots :link(howto_11),h4
|
6.11 Visualizing LAMMPS snapshots :link(howto_11),h4
|
||||||
|
|
||||||
@ -832,7 +832,7 @@ rotation of [A], [B], and [C] and can be computed as follows:
|
|||||||
|
|
||||||
where A = | [A] | indicates the scalar length of [A]. The hat symbol (^)
|
where A = | [A] | indicates the scalar length of [A]. The hat symbol (^)
|
||||||
indicates the corresponding unit vector. {beta} and {gamma} are angles
|
indicates the corresponding unit vector. {beta} and {gamma} are angles
|
||||||
between the vectors described below. Note that by construction,
|
between the vectors described below. Note that by construction,
|
||||||
[a], [b], and [c] have strictly positive x, y, and z components, respectively.
|
[a], [b], and [c] have strictly positive x, y, and z components, respectively.
|
||||||
If it should happen that
|
If it should happen that
|
||||||
[A], [B], and [C] form a left-handed basis, then the above equations
|
[A], [B], and [C] form a left-handed basis, then the above equations
|
||||||
@ -841,17 +841,17 @@ to first apply an inversion. This can be achieved
|
|||||||
by interchanging two basis vectors or by changing the sign of one of them.
|
by interchanging two basis vectors or by changing the sign of one of them.
|
||||||
|
|
||||||
For consistency, the same rotation/inversion applied to the basis vectors
|
For consistency, the same rotation/inversion applied to the basis vectors
|
||||||
must also be applied to atom positions, velocities,
|
must also be applied to atom positions, velocities,
|
||||||
and any other vector quantities.
|
and any other vector quantities.
|
||||||
This can be conveniently achieved by first converting to
|
This can be conveniently achieved by first converting to
|
||||||
fractional coordinates in the
|
fractional coordinates in the
|
||||||
old basis and then converting to distance coordinates in the new basis.
|
old basis and then converting to distance coordinates in the new basis.
|
||||||
The transformation is given by the following equation:
|
The transformation is given by the following equation:
|
||||||
|
|
||||||
:c,image(Eqs/rotate.jpg)
|
:c,image(Eqs/rotate.jpg)
|
||||||
|
|
||||||
where {V} is the volume of the box, [X] is the original vector quantity and
|
where {V} is the volume of the box, [X] is the original vector quantity and
|
||||||
[x] is the vector in the LAMMPS basis.
|
[x] is the vector in the LAMMPS basis.
|
||||||
|
|
||||||
There is no requirement that a triclinic box be periodic in any
|
There is no requirement that a triclinic box be periodic in any
|
||||||
dimension, though it typically should be in at least the 2nd dimension
|
dimension, though it typically should be in at least the 2nd dimension
|
||||||
@ -938,17 +938,17 @@ defined above. The relationship between these 6 quantities
|
|||||||
(a,b,c,alpha,beta,gamma) and the LAMMPS box sizes (lx,ly,lz) =
|
(a,b,c,alpha,beta,gamma) and the LAMMPS box sizes (lx,ly,lz) =
|
||||||
(xhi-xlo,yhi-ylo,zhi-zlo) and tilt factors (xy,xz,yz) is as follows:
|
(xhi-xlo,yhi-ylo,zhi-zlo) and tilt factors (xy,xz,yz) is as follows:
|
||||||
|
|
||||||
:c,image(Eqs/box.jpg)
|
:c,image(Eqs/box.jpg)
|
||||||
|
|
||||||
The inverse relationship can be written as follows:
|
The inverse relationship can be written as follows:
|
||||||
|
|
||||||
:c,image(Eqs/box_inverse.jpg)
|
:c,image(Eqs/box_inverse.jpg)
|
||||||
|
|
||||||
The values of {a}, {b}, {c} , {alpha}, {beta} , and {gamma} can be printed
|
The values of {a}, {b}, {c} , {alpha}, {beta} , and {gamma} can be printed
|
||||||
out or accessed by computes using the
|
out or accessed by computes using the
|
||||||
"thermo_style custom"_thermo_style.html keywords
|
"thermo_style custom"_thermo_style.html keywords
|
||||||
{cella}, {cellb}, {cellc}, {cellalpha}, {cellbeta}, {cellgamma},
|
{cella}, {cellb}, {cellc}, {cellalpha}, {cellbeta}, {cellgamma},
|
||||||
respectively.
|
respectively.
|
||||||
|
|
||||||
As discussed on the "dump"_dump.html command doc page, when the BOX
|
As discussed on the "dump"_dump.html command doc page, when the BOX
|
||||||
BOUNDS for a snapshot is written to a dump file for a triclinic box,
|
BOUNDS for a snapshot is written to a dump file for a triclinic box,
|
||||||
@ -1854,13 +1854,19 @@ internal LAMMPS operations. Note that LAMMPS classes are defined
|
|||||||
within a LAMMPS namespace (LAMMPS_NS) if you use them from another C++
|
within a LAMMPS namespace (LAMMPS_NS) if you use them from another C++
|
||||||
application.
|
application.
|
||||||
|
|
||||||
Library.cpp contains these 5 basic functions:
|
Library.cpp contains these functions for creating and destroying an
|
||||||
|
instance of LAMMPS and sending it commands to execute. See the
|
||||||
|
documentation in the src/library.cpp file for details:
|
||||||
|
|
||||||
void lammps_open(int, char **, MPI_Comm, void **)
|
void lammps_open(int, char **, MPI_Comm, void **)
|
||||||
|
void lammps_open_no_mpi(int, char **, void **)
|
||||||
void lammps_close(void *)
|
void lammps_close(void *)
|
||||||
int lammps_version(void *)
|
int lammps_version(void *)
|
||||||
void lammps_file(void *, char *)
|
void lammps_file(void *, char *)
|
||||||
char *lammps_command(void *, char *) :pre
|
char *lammps_command(void *, char *)
|
||||||
|
void lammps_commands_list(void *, int, char **)
|
||||||
|
void lammps_commands_string(void *, char *)
|
||||||
|
void lammps_free(void *) :pre
|
||||||
|
|
||||||
The lammps_open() function is used to initialize LAMMPS, passing in a
|
The lammps_open() function is used to initialize LAMMPS, passing in a
|
||||||
list of strings as if they were "command-line
|
list of strings as if they were "command-line
|
||||||
@ -1880,6 +1886,10 @@ half to the other code and run both codes simultaneously before
|
|||||||
syncing them up periodically. Or it might instantiate multiple
|
syncing them up periodically. Or it might instantiate multiple
|
||||||
instances of LAMMPS to perform different calculations.
|
instances of LAMMPS to perform different calculations.
|
||||||
|
|
||||||
|
The lammps_open_no_mpi() function is similar except that no MPI
|
||||||
|
communicator is passed from the caller. Instead, MPI_COMM_WORLD is
|
||||||
|
used to instantiate LAMMPS, and MPI is initialzed if necessary.
|
||||||
|
|
||||||
The lammps_close() function is used to shut down an instance of LAMMPS
|
The lammps_close() function is used to shut down an instance of LAMMPS
|
||||||
and free all its memory.
|
and free all its memory.
|
||||||
|
|
||||||
@ -1891,44 +1901,106 @@ changes to the LAMMPS command syntax between versions. The returned
|
|||||||
LAMMPS version code is an integer (e.g. 2 Sep 2015 results in
|
LAMMPS version code is an integer (e.g. 2 Sep 2015 results in
|
||||||
20150902) that grows with every new LAMMPS version.
|
20150902) that grows with every new LAMMPS version.
|
||||||
|
|
||||||
The lammps_file() and lammps_command() functions are used to pass a
|
The lammps_file(), lammps_command(), lammps_commands_list(), and
|
||||||
file or string to LAMMPS as if it were an input script or single
|
lammps_commands_string() functions are used to pass one or more
|
||||||
command in an input script. Thus the calling code can read or
|
commands to LAMMPS to execute, the same as if they were coming from an
|
||||||
generate a series of LAMMPS commands one line at a time and pass it
|
input script.
|
||||||
thru the library interface to setup a problem and then run it,
|
|
||||||
interleaving the lammps_command() calls with other calls to extract
|
|
||||||
information from LAMMPS, perform its own operations, or call another
|
|
||||||
code's library.
|
|
||||||
|
|
||||||
Other useful functions are also included in library.cpp. For example:
|
Via these functions, the calling code can read or generate a series of
|
||||||
|
LAMMPS commands one or multiple at a time and pass it thru the library
|
||||||
|
interface to setup a problem and then run it in stages. The caller
|
||||||
|
can interleave the command function calls with operations it performs,
|
||||||
|
calls to extract information from or set information within LAMMPS, or
|
||||||
|
calls to another code's library.
|
||||||
|
|
||||||
|
The lammps_file() function passes the filename of an input script.
|
||||||
|
The lammps_command() function passes a single command as a string.
|
||||||
|
The lammps_commands_list() function passes multiple commands in a
|
||||||
|
char** list. In both lammps_command() and lammps_commands_list(),
|
||||||
|
individual commands may or may not have a trailing newline. The
|
||||||
|
lammps_commands_string() function passes multiple commands
|
||||||
|
concatenated into one long string, separated by newline characters.
|
||||||
|
In both lammps_commands_list() and lammps_commands_string(), a single
|
||||||
|
command can be spread across multiple lines, if the last printable
|
||||||
|
character of all but the last line is "&", the same as if the lines
|
||||||
|
appeared in an input script.
|
||||||
|
|
||||||
|
The lammps_free() function is a clean-up function to free memory that
|
||||||
|
the library allocated previously via other function calls. See
|
||||||
|
comments in src/library.cpp file for which other functions need this
|
||||||
|
clean-up.
|
||||||
|
|
||||||
|
Library.cpp also contains these functions for extracting information
|
||||||
|
from LAMMPS and setting value within LAMMPS. Again, see the
|
||||||
|
documentation in the src/library.cpp file for details, including
|
||||||
|
which quantities can be queried by name:
|
||||||
|
|
||||||
void *lammps_extract_global(void *, char *)
|
void *lammps_extract_global(void *, char *)
|
||||||
|
void lammps_extract_box(void *, double *, double *,
|
||||||
|
double *, double *, double *, int *, int *)
|
||||||
void *lammps_extract_atom(void *, char *)
|
void *lammps_extract_atom(void *, char *)
|
||||||
void *lammps_extract_compute(void *, char *, int, int)
|
void *lammps_extract_compute(void *, char *, int, int)
|
||||||
void *lammps_extract_fix(void *, char *, int, int, int, int)
|
void *lammps_extract_fix(void *, char *, int, int, int, int)
|
||||||
void *lammps_extract_variable(void *, char *, char *)
|
void *lammps_extract_variable(void *, char *, char *) :pre
|
||||||
int lammps_set_variable(void *, char *, char *)
|
|
||||||
|
void lammps_reset_box(void *, double *, double *, double, double, double)
|
||||||
|
int lammps_set_variable(void *, char *, char *) :pre
|
||||||
|
|
||||||
|
double lammps_get_thermo(void *, char *)
|
||||||
int lammps_get_natoms(void *)
|
int lammps_get_natoms(void *)
|
||||||
void lammps_get_coords(void *, double *)
|
void lammps_gather_atoms(void *, double *)
|
||||||
void lammps_put_coords(void *, double *) :pre
|
void lammps_scatter_atoms(void *, double *) :pre
|
||||||
|
void lammps_create_atoms(void *, int, tagint *, int *, double *, double *,
|
||||||
|
imageint *, int) :pre
|
||||||
|
|
||||||
These can extract various global or per-atom quantities from LAMMPS as
|
The extract functions return a pointer to various global or per-atom
|
||||||
well as values calculated by a compute, fix, or variable. The
|
quantities stored in LAMMPS or to values calculated by a compute, fix,
|
||||||
"set_variable" function can set an existing string-style variable to a
|
or variable. The pointer returned by the extract_global() function
|
||||||
new value, so that subsequent LAMMPS commands can access the variable.
|
can be used as a permanent reference to a value which may change. For
|
||||||
The "get" and "put" operations can retrieve and reset atom
|
the other extract functions, the underlying storage may be reallocated
|
||||||
coordinates. See the library.cpp file and its associated header file
|
as LAMMPS runs, so you need to re-call the function to assure a
|
||||||
library.h for details.
|
current pointer or returned value(s).
|
||||||
|
|
||||||
The key idea of the library interface is that you can write any
|
The lammps_reset_box() function resets the size and shape of the
|
||||||
functions you wish to define how your code talks to LAMMPS and add
|
simulation box, e.g. as part of restoring a previously extracted and
|
||||||
them to src/library.cpp and src/library.h, as well as to the "Python
|
saved state of a simulation.
|
||||||
interface"_Section_python.html. The routines you add can access or
|
|
||||||
change any LAMMPS data you wish. The examples/COUPLE and python
|
The lammps_set_variable() function can set an existing string-style
|
||||||
directories have example C++ and C and Python codes which show how a
|
variable to a new string value, so that subsequent LAMMPS commands can
|
||||||
driver code can link to LAMMPS as a library, run LAMMPS on a subset of
|
access the variable.
|
||||||
processors, grab data from LAMMPS, change it, and put it back into
|
|
||||||
LAMMPS.
|
The lammps_get_thermo() function returns the current value of a thermo
|
||||||
|
keyword as a double precision value.
|
||||||
|
|
||||||
|
The lammps_get_natoms() function returns the total number of atoms in
|
||||||
|
the system and can be used by the caller to allocate space for the
|
||||||
|
lammps_gather_atoms() and lammps_scatter_atoms() functions. The
|
||||||
|
gather function collects atom info of the requested type (atom coords,
|
||||||
|
types, forces, etc) from all procsesors, orders them by atom ID, and
|
||||||
|
returns a full list to each calling processor. The scatter function
|
||||||
|
does the inverse. It distributes the same kinds of values,
|
||||||
|
passed by the caller, to each atom owned by individual processors.
|
||||||
|
|
||||||
|
The lammps_create_atoms() function takes a list of N atoms as input
|
||||||
|
with atom types and coords (required), an optionally atom IDs and
|
||||||
|
velocities and image flags. It uses the coords of each atom to assign
|
||||||
|
it as a new atom to the processor that owns it. This function is
|
||||||
|
useful to add atoms to a simulation or (in tandem with
|
||||||
|
lammps_reset_box()) to restore a previously extracted and saved state
|
||||||
|
of a simulation. Additional properties for the new atoms can then be
|
||||||
|
assigned via the lammps_scatter_atoms() or lammps_extract_atom()
|
||||||
|
functions.
|
||||||
|
|
||||||
|
The examples/COUPLE and python directories have example C++ and C and
|
||||||
|
Python codes which show how a driver code can link to LAMMPS as a
|
||||||
|
library, run LAMMPS on a subset of processors, grab data from LAMMPS,
|
||||||
|
change it, and put it back into LAMMPS.
|
||||||
|
|
||||||
|
NOTE: You can write code for additional functions as needed to define
|
||||||
|
how your code talks to LAMMPS and add them to src/library.cpp and
|
||||||
|
src/library.h, as well as to the "Python
|
||||||
|
interface"_Section_python.html. The added functions can access or
|
||||||
|
change any LAMMPS data you wish.
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
@ -2092,11 +2164,11 @@ lattice fcc 5.376 orient x 1 0 0 orient y 0 1 0 orient z 0 0 1
|
|||||||
region box block 0 4 0 4 0 4
|
region box block 0 4 0 4 0 4
|
||||||
create_box 1 box
|
create_box 1 box
|
||||||
create_atoms 1 box
|
create_atoms 1 box
|
||||||
mass 1 39.948
|
mass 1 39.948
|
||||||
pair_style lj/cut 13.0
|
pair_style lj/cut 13.0
|
||||||
pair_coeff * * 0.2381 3.405
|
pair_coeff * * 0.2381 3.405
|
||||||
timestep $\{dt\}
|
timestep $\{dt\}
|
||||||
thermo $d :pre
|
thermo $d :pre
|
||||||
|
|
||||||
# equilibration and thermalization :pre
|
# equilibration and thermalization :pre
|
||||||
|
|
||||||
@ -2130,7 +2202,7 @@ but uses the Einstein formulation, analogous to the Einstein
|
|||||||
mean-square-displacement formulation for self-diffusivity. The
|
mean-square-displacement formulation for self-diffusivity. The
|
||||||
time-integrated momentum fluxes play the role of Cartesian
|
time-integrated momentum fluxes play the role of Cartesian
|
||||||
coordinates, whose mean-square displacement increases linearly
|
coordinates, whose mean-square displacement increases linearly
|
||||||
with time at sufficiently long times.
|
with time at sufficiently long times.
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
@ -2510,8 +2582,8 @@ the electrostatic environment inducing polarizability.
|
|||||||
Technically, shells are attached to the cores by a spring force f =
|
Technically, shells are attached to the cores by a spring force f =
|
||||||
k*r where k is a parametrized spring constant and r is the distance
|
k*r where k is a parametrized spring constant and r is the distance
|
||||||
between the core and the shell. The charges of the core and the shell
|
between the core and the shell. The charges of the core and the shell
|
||||||
add up to the ion charge, thus q(ion) = q(core) + q(shell). This
|
add up to the ion charge, thus q(ion) = q(core) + q(shell). This
|
||||||
setup introduces the ion polarizability (alpha) given by
|
setup introduces the ion polarizability (alpha) given by
|
||||||
alpha = q(shell)^2 / k. In a
|
alpha = q(shell)^2 / k. In a
|
||||||
similar fashion the mass of the ion is distributed on the core and the
|
similar fashion the mass of the ion is distributed on the core and the
|
||||||
shell with the core having the larger mass.
|
shell with the core having the larger mass.
|
||||||
@ -2526,7 +2598,7 @@ for NaCl, as found in examples/coreshell, has this format:
|
|||||||
432 atoms # core and shell atoms
|
432 atoms # core and shell atoms
|
||||||
216 bonds # number of core/shell springs :pre
|
216 bonds # number of core/shell springs :pre
|
||||||
|
|
||||||
4 atom types # 2 cores and 2 shells for Na and Cl
|
4 atom types # 2 cores and 2 shells for Na and Cl
|
||||||
2 bond types :pre
|
2 bond types :pre
|
||||||
|
|
||||||
0.0 24.09597 xlo xhi
|
0.0 24.09597 xlo xhi
|
||||||
@ -2545,19 +2617,19 @@ Atoms :pre
|
|||||||
1 1 2 1.5005 0.00000000 0.00000000 0.00000000 # core of core/shell pair 1
|
1 1 2 1.5005 0.00000000 0.00000000 0.00000000 # core of core/shell pair 1
|
||||||
2 1 4 -2.5005 0.00000000 0.00000000 0.00000000 # shell of core/shell pair 1
|
2 1 4 -2.5005 0.00000000 0.00000000 0.00000000 # shell of core/shell pair 1
|
||||||
3 2 1 1.5056 4.01599500 4.01599500 4.01599500 # core of core/shell pair 2
|
3 2 1 1.5056 4.01599500 4.01599500 4.01599500 # core of core/shell pair 2
|
||||||
4 2 3 -0.5056 4.01599500 4.01599500 4.01599500 # shell of core/shell pair 2
|
4 2 3 -0.5056 4.01599500 4.01599500 4.01599500 # shell of core/shell pair 2
|
||||||
(...) :pre
|
(...) :pre
|
||||||
|
|
||||||
Bonds # Bond topology for spring forces :pre
|
Bonds # Bond topology for spring forces :pre
|
||||||
|
|
||||||
1 2 1 2 # spring for core/shell pair 1
|
1 2 1 2 # spring for core/shell pair 1
|
||||||
2 2 3 4 # spring for core/shell pair 2
|
2 2 3 4 # spring for core/shell pair 2
|
||||||
(...) :pre
|
(...) :pre
|
||||||
|
|
||||||
Non-Coulombic (e.g. Lennard-Jones) pairwise interactions are only
|
Non-Coulombic (e.g. Lennard-Jones) pairwise interactions are only
|
||||||
defined between the shells. Coulombic interactions are defined
|
defined between the shells. Coulombic interactions are defined
|
||||||
between all cores and shells. If desired, additional bonds can be
|
between all cores and shells. If desired, additional bonds can be
|
||||||
specified between cores.
|
specified between cores.
|
||||||
|
|
||||||
The "special_bonds"_special_bonds.html command should be used to
|
The "special_bonds"_special_bonds.html command should be used to
|
||||||
turn-off the Coulombic interaction within core/shell pairs, since that
|
turn-off the Coulombic interaction within core/shell pairs, since that
|
||||||
@ -2620,7 +2692,7 @@ Note that to perform thermostatting using this definition of
|
|||||||
temperature, the "fix modify temp"_fix_modify.html command should be
|
temperature, the "fix modify temp"_fix_modify.html command should be
|
||||||
used to assign the compute to the thermostat fix. Likewise the
|
used to assign the compute to the thermostat fix. Likewise the
|
||||||
"thermo_modify temp"_thermo_modify.html command can be used to make
|
"thermo_modify temp"_thermo_modify.html command can be used to make
|
||||||
this temperature be output for the overall system.
|
this temperature be output for the overall system.
|
||||||
|
|
||||||
For the NaCl example, this can be done as follows:
|
For the NaCl example, this can be done as follows:
|
||||||
|
|
||||||
@ -2632,13 +2704,13 @@ fix thermostatequ all nve # integrator as needed f
|
|||||||
fix_modify thermoberendsen temp CSequ
|
fix_modify thermoberendsen temp CSequ
|
||||||
thermo_modify temp CSequ # output of center-of-mass derived temperature :pre
|
thermo_modify temp CSequ # output of center-of-mass derived temperature :pre
|
||||||
|
|
||||||
If "compute temp/cs"_compute_temp_cs.html is used, the decoupled
|
If "compute temp/cs"_compute_temp_cs.html is used, the decoupled
|
||||||
relative motion of the core and the shell should in theory be
|
relative motion of the core and the shell should in theory be
|
||||||
stable. However numerical fluctuation can introduce a small
|
stable. However numerical fluctuation can introduce a small
|
||||||
momentum to the system, which is noticable over long trajectories.
|
momentum to the system, which is noticable over long trajectories.
|
||||||
Therefore it is recomendable to use the "fix
|
Therefore it is recomendable to use the "fix
|
||||||
momentum"_fix_momentum.html command in combination with "compute
|
momentum"_fix_momentum.html command in combination with "compute
|
||||||
temp/cs"_compute_temp_cs.html when equilibrating the system to
|
temp/cs"_compute_temp_cs.html when equilibrating the system to
|
||||||
prevent any drift.
|
prevent any drift.
|
||||||
|
|
||||||
When intializing the velocities of a system with core/shell pairs, it
|
When intializing the velocities of a system with core/shell pairs, it
|
||||||
@ -2661,17 +2733,17 @@ to the electrostatic environment. This fast movement also limits the
|
|||||||
timestep size that can be used.
|
timestep size that can be used.
|
||||||
|
|
||||||
The primary literature of the adiabatic core/shell model suggests that
|
The primary literature of the adiabatic core/shell model suggests that
|
||||||
the fast relative motion of the core/shell pairs only allows negligible
|
the fast relative motion of the core/shell pairs only allows negligible
|
||||||
energy transfer to the environment. Therefore it is not intended to
|
energy transfer to the environment. Therefore it is not intended to
|
||||||
decouple the core/shell degree of freedom from the physical system
|
decouple the core/shell degree of freedom from the physical system
|
||||||
during production runs. In other words, the "compute
|
during production runs. In other words, the "compute
|
||||||
temp/cs"_compute_temp_cs.html command should not be used during
|
temp/cs"_compute_temp_cs.html command should not be used during
|
||||||
production runs and is only required during equilibration. This way one
|
production runs and is only required during equilibration. This way one
|
||||||
is consistent with literature (based on the code packages DL_POLY or
|
is consistent with literature (based on the code packages DL_POLY or
|
||||||
GULP for instance).
|
GULP for instance).
|
||||||
|
|
||||||
The mentioned energy transfer will typically lead to a a small drift
|
The mentioned energy transfer will typically lead to a small drift
|
||||||
in total energy over time. This internal energy can be monitored
|
in total energy over time. This internal energy can be monitored
|
||||||
using the "compute chunk/atom"_compute_chunk_atom.html and "compute
|
using the "compute chunk/atom"_compute_chunk_atom.html and "compute
|
||||||
temp/chunk"_compute_temp_chunk.html commands. The internal kinetic
|
temp/chunk"_compute_temp_chunk.html commands. The internal kinetic
|
||||||
energies of each core/shell pair can then be summed using the sum()
|
energies of each core/shell pair can then be summed using the sum()
|
||||||
@ -2702,14 +2774,14 @@ The additional section in the date file would be formatted like this:
|
|||||||
|
|
||||||
CS-Info # header of additional section :pre
|
CS-Info # header of additional section :pre
|
||||||
|
|
||||||
1 1 # column 1 = atom ID, column 2 = core/shell ID
|
1 1 # column 1 = atom ID, column 2 = core/shell ID
|
||||||
2 1
|
2 1
|
||||||
3 2
|
3 2
|
||||||
4 2
|
4 2
|
||||||
5 3
|
5 3
|
||||||
6 3
|
6 3
|
||||||
7 4
|
7 4
|
||||||
8 4
|
8 4
|
||||||
(...) :pre
|
(...) :pre
|
||||||
|
|
||||||
:line
|
:line
|
||||||
@ -2771,7 +2843,7 @@ temp/drude"_compute_temp_drude.html. This requires also to use the
|
|||||||
command {comm_modify vel yes}.
|
command {comm_modify vel yes}.
|
||||||
|
|
||||||
Short-range damping of the induced dipole interactions can be achieved
|
Short-range damping of the induced dipole interactions can be achieved
|
||||||
using Thole functions through the the "pair style
|
using Thole functions through the "pair style
|
||||||
thole"_pair_thole.html in "pair_style hybrid/overlay"_pair_hybrid.html
|
thole"_pair_thole.html in "pair_style hybrid/overlay"_pair_hybrid.html
|
||||||
with a Coulomb pair style. It may be useful to use {coul/long/cs} or
|
with a Coulomb pair style. It may be useful to use {coul/long/cs} or
|
||||||
similar from the CORESHELL package if the core and Drude particle come
|
similar from the CORESHELL package if the core and Drude particle come
|
||||||
|
|||||||
@ -181,7 +181,7 @@ Atom creation :h5
|
|||||||
displace atoms :ul
|
displace atoms :ul
|
||||||
|
|
||||||
Ensembles, constraints, and boundary conditions :h5
|
Ensembles, constraints, and boundary conditions :h5
|
||||||
("fix"_fix.html command)
|
("fix"_fix.html command)
|
||||||
|
|
||||||
2d or 3d systems
|
2d or 3d systems
|
||||||
orthogonal or non-orthogonal (triclinic symmetry) simulation domains
|
orthogonal or non-orthogonal (triclinic symmetry) simulation domains
|
||||||
@ -199,7 +199,7 @@ Ensembles, constraints, and boundary conditions :h5
|
|||||||
variety of additional boundary conditions and constraints :ul
|
variety of additional boundary conditions and constraints :ul
|
||||||
|
|
||||||
Integrators :h5
|
Integrators :h5
|
||||||
("run"_run.html, "run_style"_run_style.html, "minimize"_minimize.html commands)
|
("run"_run.html, "run_style"_run_style.html, "minimize"_minimize.html commands)
|
||||||
|
|
||||||
velocity-Verlet integrator
|
velocity-Verlet integrator
|
||||||
Brownian dynamics
|
Brownian dynamics
|
||||||
@ -213,7 +213,7 @@ Diagnostics :h5
|
|||||||
see the various flavors of the "fix"_fix.html and "compute"_compute.html commands :ul
|
see the various flavors of the "fix"_fix.html and "compute"_compute.html commands :ul
|
||||||
|
|
||||||
Output :h5
|
Output :h5
|
||||||
("dump"_dump.html, "restart"_restart.html commands)
|
("dump"_dump.html, "restart"_restart.html commands)
|
||||||
|
|
||||||
log file of thermodynamic info
|
log file of thermodynamic info
|
||||||
text dump files of atom coords, velocities, other per-atom quantities
|
text dump files of atom coords, velocities, other per-atom quantities
|
||||||
@ -366,11 +366,11 @@ complementary modeling tasks.
|
|||||||
"DL_POLY"_dlpoly
|
"DL_POLY"_dlpoly
|
||||||
"Tinker"_tinker :ul
|
"Tinker"_tinker :ul
|
||||||
|
|
||||||
:link(charmm,http://www.scripps.edu/brooks)
|
:link(charmm,http://www.charmm.org)
|
||||||
:link(amber,http://amber.scripps.edu)
|
:link(amber,http://ambermd.org)
|
||||||
:link(namd,http://www.ks.uiuc.edu/Research/namd/)
|
:link(namd,http://www.ks.uiuc.edu/Research/namd/)
|
||||||
:link(nwchem,http://www.emsl.pnl.gov/docs/nwchem/nwchem.html)
|
:link(nwchem,http://www.emsl.pnl.gov/docs/nwchem/nwchem.html)
|
||||||
:link(dlpoly,http://www.cse.clrc.ac.uk/msi/software/DL_POLY)
|
:link(dlpoly,http://www.ccp5.ac.uk/DL_POLY_CLASSIC)
|
||||||
:link(tinker,http://dasher.wustl.edu/tinker)
|
:link(tinker,http://dasher.wustl.edu/tinker)
|
||||||
|
|
||||||
CHARMM, AMBER, NAMD, NWCHEM, and Tinker are designed primarily for
|
CHARMM, AMBER, NAMD, NWCHEM, and Tinker are designed primarily for
|
||||||
|
|||||||
@ -84,7 +84,7 @@ Package, Description, Author(s), Doc page, Example, Library
|
|||||||
"PERI"_#PERI, Peridynamics models, Mike Parks (Sandia), "pair_style peri"_pair_peri.html, peri, -
|
"PERI"_#PERI, Peridynamics models, Mike Parks (Sandia), "pair_style peri"_pair_peri.html, peri, -
|
||||||
"POEMS"_#POEMS, coupled rigid body motion, Rudra Mukherjee (JPL), "fix poems"_fix_poems.html, rigid, lib/poems
|
"POEMS"_#POEMS, coupled rigid body motion, Rudra Mukherjee (JPL), "fix poems"_fix_poems.html, rigid, lib/poems
|
||||||
"PYTHON"_#PYTHON, embed Python code in an input script, -, "python"_python.html, python, lib/python
|
"PYTHON"_#PYTHON, embed Python code in an input script, -, "python"_python.html, python, lib/python
|
||||||
"REAX"_#REAX, ReaxFF potential, Aidan Thompson (Sandia), "pair_style reax"_pair_reax.html, reax, lib/reax
|
"REAX"_#REAX, ReaxFF potential, Aidan Thompson (Sandia), "pair_style reax"_pair_reax.html, reax, lib/reax
|
||||||
"REPLICA"_#REPLICA, multi-replica methods, -, "Section 6.6.5"_Section_howto.html#howto_5, tad, -
|
"REPLICA"_#REPLICA, multi-replica methods, -, "Section 6.6.5"_Section_howto.html#howto_5, tad, -
|
||||||
"RIGID"_#RIGID, rigid bodies, -, "fix rigid"_fix_rigid.html, rigid, -
|
"RIGID"_#RIGID, rigid bodies, -, "fix rigid"_fix_rigid.html, rigid, -
|
||||||
"SHOCK"_#SHOCK, shock loading methods, -, "fix msst"_fix_msst.html, -, -
|
"SHOCK"_#SHOCK, shock loading methods, -, "fix msst"_fix_msst.html, -, -
|
||||||
@ -182,7 +182,7 @@ Supporting info: "atom_style body"_atom_style.html, "body"_body.html,
|
|||||||
"pair_style body"_pair_body.html, examples/body
|
"pair_style body"_pair_body.html, examples/body
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
CLASS2 package :link(CLASS2),h5
|
CLASS2 package :link(CLASS2),h5
|
||||||
|
|
||||||
Contents: Bond, angle, dihedral, improper, and pair styles for the
|
Contents: Bond, angle, dihedral, improper, and pair styles for the
|
||||||
@ -206,9 +206,9 @@ Supporting info: "bond_style class2"_bond_class2.html, "angle_style
|
|||||||
class2"_angle_class2.html, "dihedral_style
|
class2"_angle_class2.html, "dihedral_style
|
||||||
class2"_dihedral_class2.html, "improper_style
|
class2"_dihedral_class2.html, "improper_style
|
||||||
class2"_improper_class2.html, "pair_style lj/class2"_pair_class2.html
|
class2"_improper_class2.html, "pair_style lj/class2"_pair_class2.html
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
COLLOID package :link(COLLOID),h5
|
COLLOID package :link(COLLOID),h5
|
||||||
|
|
||||||
Contents: Support for coarse-grained colloidal particles. Wall fix
|
Contents: Support for coarse-grained colloidal particles. Wall fix
|
||||||
@ -239,9 +239,9 @@ lubricate"_pair_lubricate.html, "pair_style
|
|||||||
lubricateU"_pair_lubricateU.html, examples/colloid, examples/srd
|
lubricateU"_pair_lubricateU.html, examples/colloid, examples/srd
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
COMPRESS package :link(COMPRESS),h5
|
COMPRESS package :link(COMPRESS),h5
|
||||||
|
|
||||||
Contents: Support for compressed output of dump files via the zlib
|
Contents: Support for compressed output of dump files via the zlib
|
||||||
compression library, using dump styles with a "gz" in their style
|
compression library, using dump styles with a "gz" in their style
|
||||||
name.
|
name.
|
||||||
@ -271,7 +271,7 @@ atom/gz"_dump.html, "dump cfg/gz"_dump.html, "dump
|
|||||||
custom/gz"_dump.html, "dump xyz/gz"_dump.html
|
custom/gz"_dump.html, "dump xyz/gz"_dump.html
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
CORESHELL package :link(CORESHELL),h5
|
CORESHELL package :link(CORESHELL),h5
|
||||||
|
|
||||||
Contents: Compute and pair styles that implement the adiabatic
|
Contents: Compute and pair styles that implement the adiabatic
|
||||||
@ -302,7 +302,7 @@ buck/coul/long/cs"_pair_cs.html, pair_style
|
|||||||
lj/cut/coul/long/cs"_pair_lj.html, examples/coreshell
|
lj/cut/coul/long/cs"_pair_lj.html, examples/coreshell
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
DIPOLE package :link(DIPOLE),h5
|
DIPOLE package :link(DIPOLE),h5
|
||||||
|
|
||||||
Contents: An atom style and several pair styles to support point
|
Contents: An atom style and several pair styles to support point
|
||||||
@ -326,9 +326,9 @@ Supporting info: "atom_style dipole"_atom_style.html, "pair_style
|
|||||||
lj/cut/dipole/cut"_pair_dipole.html, "pair_style
|
lj/cut/dipole/cut"_pair_dipole.html, "pair_style
|
||||||
lj/cut/dipole/long"_pair_dipole.html, "pair_style
|
lj/cut/dipole/long"_pair_dipole.html, "pair_style
|
||||||
lj/long/dipole/long"_pair_dipole.html, examples/dipole
|
lj/long/dipole/long"_pair_dipole.html, examples/dipole
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
GPU package :link(GPU),h5
|
GPU package :link(GPU),h5
|
||||||
|
|
||||||
Contents: Dozens of pair styles and a version of the PPPM long-range
|
Contents: Dozens of pair styles and a version of the PPPM long-range
|
||||||
@ -385,9 +385,9 @@ Pair Styles section of "Section 3.5"_Section_commands.html#cmd_5
|
|||||||
for any pair style listed with a (g),
|
for any pair style listed with a (g),
|
||||||
"kspace_style"_kspace_style.html, "package gpu"_package.html,
|
"kspace_style"_kspace_style.html, "package gpu"_package.html,
|
||||||
examples/accelerate, bench/FERMI, bench/KEPLER
|
examples/accelerate, bench/FERMI, bench/KEPLER
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
GRANULAR package :link(GRANULAR),h5
|
GRANULAR package :link(GRANULAR),h5
|
||||||
|
|
||||||
Contents: Fixes and pair styles that support models of finite-size
|
Contents: Fixes and pair styles that support models of finite-size
|
||||||
@ -412,9 +412,9 @@ Supporting info: "Section 6.6"_Section_howto.html#howto_6, "fix
|
|||||||
pour"_fix_pour.html, "fix wall/gran"_fix_wall_gran.html, "pair_style
|
pour"_fix_pour.html, "fix wall/gran"_fix_wall_gran.html, "pair_style
|
||||||
gran/hooke"_pair_gran.html, "pair_style
|
gran/hooke"_pair_gran.html, "pair_style
|
||||||
gran/hertz/history"_pair_gran.html, examples/pour, bench/in.chute
|
gran/hertz/history"_pair_gran.html, examples/pour, bench/in.chute
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
KIM package :link(KIM),h5
|
KIM package :link(KIM),h5
|
||||||
|
|
||||||
Contents: A pair style that interfaces to the Knowledge Base for
|
Contents: A pair style that interfaces to the Knowledge Base for
|
||||||
@ -443,9 +443,9 @@ Make.py -p ^kim -a machine :pre
|
|||||||
|
|
||||||
Supporting info: src/KIM/README, lib/kim/README, "pair_style
|
Supporting info: src/KIM/README, lib/kim/README, "pair_style
|
||||||
kim"_pair_kim.html, examples/kim
|
kim"_pair_kim.html, examples/kim
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
KOKKOS package :link(KOKKOS),h5
|
KOKKOS package :link(KOKKOS),h5
|
||||||
|
|
||||||
Contents: Dozens of atom, pair, bond, angle, dihedral, improper styles
|
Contents: Dozens of atom, pair, bond, angle, dihedral, improper styles
|
||||||
@ -501,7 +501,7 @@ for any pair style listed with a (k), "package kokkos"_package.html,
|
|||||||
examples/accelerate, bench/FERMI, bench/KEPLER
|
examples/accelerate, bench/FERMI, bench/KEPLER
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
KSPACE package :link(KSPACE),h5
|
KSPACE package :link(KSPACE),h5
|
||||||
|
|
||||||
Contents: A variety of long-range Coulombic solvers, and pair styles
|
Contents: A variety of long-range Coulombic solvers, and pair styles
|
||||||
@ -543,7 +543,7 @@ which have "long" or "msm" in their style name,
|
|||||||
examples/peptide, bench/in.rhodo
|
examples/peptide, bench/in.rhodo
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
MANYBODY package :link(MANYBODY),h5
|
MANYBODY package :link(MANYBODY),h5
|
||||||
|
|
||||||
Contents: A variety of many-body and bond-order potentials. These
|
Contents: A variety of many-body and bond-order potentials. These
|
||||||
@ -565,14 +565,14 @@ make machine :pre
|
|||||||
|
|
||||||
Make.py -p ^manybody -a machine :pre
|
Make.py -p ^manybody -a machine :pre
|
||||||
|
|
||||||
Supporting info:
|
Supporting info:
|
||||||
|
|
||||||
Examples: Pair Styles section of "Section
|
Examples: Pair Styles section of "Section
|
||||||
3.5"_Section_commands.html#cmd_5, examples/comb, examples/eim,
|
3.5"_Section_commands.html#cmd_5, examples/comb, examples/eim,
|
||||||
examples/nb3d, examples/vashishta
|
examples/nb3d, examples/vashishta
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
MC package :link(MC),h5
|
MC package :link(MC),h5
|
||||||
|
|
||||||
Contents: Several fixes and a pair style that have Monte Carlo (MC) or
|
Contents: Several fixes and a pair style that have Monte Carlo (MC) or
|
||||||
@ -598,9 +598,9 @@ Supporting info: "fix atom/swap"_fix_atom_swap.html, "fix
|
|||||||
bond/break"_fix_bond_break.html, "fix
|
bond/break"_fix_bond_break.html, "fix
|
||||||
bond/create"_fix_bond_create.html, "fix bond/swap"_fix_bond_swap.html,
|
bond/create"_fix_bond_create.html, "fix bond/swap"_fix_bond_swap.html,
|
||||||
"fix gcmc"_fix_gcmc.html, "pair_style dsmc"_pair_dsmc.html
|
"fix gcmc"_fix_gcmc.html, "pair_style dsmc"_pair_dsmc.html
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
MEAM package :link(MEAM),h5
|
MEAM package :link(MEAM),h5
|
||||||
|
|
||||||
Contents: A pair style for the modified embedded atom (MEAM)
|
Contents: A pair style for the modified embedded atom (MEAM)
|
||||||
@ -644,9 +644,9 @@ Make.py -p ^meam -a machine :pre
|
|||||||
|
|
||||||
Supporting info: lib/meam/README, "pair_style meam"_pair_meam.html,
|
Supporting info: lib/meam/README, "pair_style meam"_pair_meam.html,
|
||||||
examples/meam
|
examples/meam
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
MISC package :link(MISC),h5
|
MISC package :link(MISC),h5
|
||||||
|
|
||||||
Contents: A variety of computes, fixes, and pair styles that are not
|
Contents: A variety of computes, fixes, and pair styles that are not
|
||||||
@ -670,9 +670,9 @@ Make.py -p ^misc -a machine :pre
|
|||||||
Supporting info: "compute ti"_compute_ti.html, "fix
|
Supporting info: "compute ti"_compute_ti.html, "fix
|
||||||
evaporate"_fix_evaporate.html, "fix tmm"_fix_ttm.html, "fix
|
evaporate"_fix_evaporate.html, "fix tmm"_fix_ttm.html, "fix
|
||||||
viscosity"_fix_viscosity.html, examples/misc
|
viscosity"_fix_viscosity.html, examples/misc
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
MOLECULE package :link(MOLECULE),h5
|
MOLECULE package :link(MOLECULE),h5
|
||||||
|
|
||||||
Contents: A large number of atom, pair, bond, angle, dihedral,
|
Contents: A large number of atom, pair, bond, angle, dihedral,
|
||||||
@ -704,7 +704,7 @@ lj/charmm/coul/charmm"_pair_charmm.html,
|
|||||||
examples/micelle, examples/peptide, bench/in.chain, bench/in.rhodo
|
examples/micelle, examples/peptide, bench/in.chain, bench/in.rhodo
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
MPIIO package :link(MPIIO),h5
|
MPIIO package :link(MPIIO),h5
|
||||||
|
|
||||||
Contents: Support for parallel output/input of dump and restart files
|
Contents: Support for parallel output/input of dump and restart files
|
||||||
@ -729,9 +729,9 @@ Make.py -p ^mpiio -a machine :pre
|
|||||||
|
|
||||||
Supporting info: "dump"_dump.html, "restart"_restart.html,
|
Supporting info: "dump"_dump.html, "restart"_restart.html,
|
||||||
"write_restart"_write_restart.html, "read_restart"_read_restart.html
|
"write_restart"_write_restart.html, "read_restart"_read_restart.html
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
OPT package :link(OPT),h5
|
OPT package :link(OPT),h5
|
||||||
|
|
||||||
Contents: A handful of pair styles with an "opt" in their style name
|
Contents: A handful of pair styles with an "opt" in their style name
|
||||||
@ -768,7 +768,7 @@ Supporting info: "Section 5.3"_Section_accelerate.html#acc_3,
|
|||||||
listed with an (t), examples/accelerate, bench/KEPLER
|
listed with an (t), examples/accelerate, bench/KEPLER
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
PERI package :link(PERI),h5
|
PERI package :link(PERI),h5
|
||||||
|
|
||||||
Contents: Support for the Peridynamics method, a particle-based
|
Contents: Support for the Peridynamics method, a particle-based
|
||||||
@ -796,9 +796,9 @@ Supporting info:
|
|||||||
"doc/PDF/PDLammps_VES.pdf"_PDF/PDLammps_VES.pdf, "atom_style
|
"doc/PDF/PDLammps_VES.pdf"_PDF/PDLammps_VES.pdf, "atom_style
|
||||||
peri"_atom_style.html, "compute damage/atom"_compute_damage_atom.html,
|
peri"_atom_style.html, "compute damage/atom"_compute_damage_atom.html,
|
||||||
"pair_style peri/pmb"_pair_peri.html, examples/peri
|
"pair_style peri/pmb"_pair_peri.html, examples/peri
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
POEMS package :link(POEMS),h5
|
POEMS package :link(POEMS),h5
|
||||||
|
|
||||||
Contents: A fix that wraps the Parallelizable Open source Efficient
|
Contents: A fix that wraps the Parallelizable Open source Efficient
|
||||||
@ -839,7 +839,7 @@ Supporting info: src/POEMS/README, lib/poems/README,
|
|||||||
"fix poems"_fix_poems.html, examples/rigid
|
"fix poems"_fix_poems.html, examples/rigid
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
PYTHON package :link(PYTHON),h5
|
PYTHON package :link(PYTHON),h5
|
||||||
|
|
||||||
Contents: A "python"_python.html command which allow you to execute
|
Contents: A "python"_python.html command which allow you to execute
|
||||||
@ -873,9 +873,9 @@ make machine :pre
|
|||||||
Make.py -p ^python -a machine :pre
|
Make.py -p ^python -a machine :pre
|
||||||
|
|
||||||
Supporting info: examples/python
|
Supporting info: examples/python
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
QEQ package :link(QEQ),h5
|
QEQ package :link(QEQ),h5
|
||||||
|
|
||||||
Contents: Several fixes for performing charge equilibration (QEq) via
|
Contents: Several fixes for performing charge equilibration (QEq) via
|
||||||
@ -897,9 +897,9 @@ make machine :pre
|
|||||||
Make.py -p ^qeq -a machine :pre
|
Make.py -p ^qeq -a machine :pre
|
||||||
|
|
||||||
Supporting info: "fix qeq/*"_fix_qeq.html, examples/qeq
|
Supporting info: "fix qeq/*"_fix_qeq.html, examples/qeq
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
REAX package :link(REAX),h5
|
REAX package :link(REAX),h5
|
||||||
|
|
||||||
Contents: A pair style for the ReaxFF potential, a universal reactive
|
Contents: A pair style for the ReaxFF potential, a universal reactive
|
||||||
@ -941,9 +941,9 @@ Make.py -p ^reax -a machine :pre
|
|||||||
|
|
||||||
Supporting info: lib/reax/README, "pair_style reax"_pair_reax.html,
|
Supporting info: lib/reax/README, "pair_style reax"_pair_reax.html,
|
||||||
"fix reax/bonds"_fix_reax_bonds.html, examples/reax
|
"fix reax/bonds"_fix_reax_bonds.html, examples/reax
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
REPLICA package :link(REPLICA),h5
|
REPLICA package :link(REPLICA),h5
|
||||||
|
|
||||||
Contents: A collection of multi-replica methods that are used by
|
Contents: A collection of multi-replica methods that are used by
|
||||||
@ -978,7 +978,7 @@ Supporting info: "Section 6.5"_Section_howto.html#howto_5,
|
|||||||
examples/tad
|
examples/tad
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
RIGID package :link(RIGID),h5
|
RIGID package :link(RIGID),h5
|
||||||
|
|
||||||
Contents: A collection of computes and fixes which enforce rigid
|
Contents: A collection of computes and fixes which enforce rigid
|
||||||
@ -1005,7 +1005,7 @@ Supporting info: "compute erotate/rigid"_compute_erotate_rigid.html,
|
|||||||
rigid/*"_fix_rigid.html, examples/ASPHERE, examples/rigid
|
rigid/*"_fix_rigid.html, examples/ASPHERE, examples/rigid
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
SHOCK package :link(SHOCK),h5
|
SHOCK package :link(SHOCK),h5
|
||||||
|
|
||||||
Contents: A small number of fixes useful for running impact
|
Contents: A small number of fixes useful for running impact
|
||||||
@ -1028,15 +1028,15 @@ Make.py -p ^shock -a machine :pre
|
|||||||
Supporting info: "fix append/atoms"_fix_append_atoms.html, "fix
|
Supporting info: "fix append/atoms"_fix_append_atoms.html, "fix
|
||||||
msst"_fix_msst.html, "fix nphug"_fix_nphug.html, "fix
|
msst"_fix_msst.html, "fix nphug"_fix_nphug.html, "fix
|
||||||
wall/piston"_fix_wall_piston.html, examples/hugoniostat, examples/msst
|
wall/piston"_fix_wall_piston.html, examples/hugoniostat, examples/msst
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
SNAP package :link(SNAP),h5
|
SNAP package :link(SNAP),h5
|
||||||
|
|
||||||
Contents: A pair style for the spectral neighbor analysis potential
|
Contents: A pair style for the spectral neighbor analysis potential
|
||||||
(SNAP), which is an empirical potential which can be quantum accurate
|
(SNAP), which is an empirical potential which can be quantum accurate
|
||||||
when fit to an archive of DFT data. Computes useful for analyzing
|
when fit to an archive of DFT data. Computes useful for analyzing
|
||||||
properties of the potential are also included.
|
properties of the potential are also included.
|
||||||
|
|
||||||
To install via make or Make.py:
|
To install via make or Make.py:
|
||||||
|
|
||||||
@ -1055,9 +1055,9 @@ Make.py -p ^snap -a machine :pre
|
|||||||
Supporting info: "pair snap"_pair_snap.html, "compute
|
Supporting info: "pair snap"_pair_snap.html, "compute
|
||||||
sna/atom"_compute_sna_atom.html, "compute snad/atom"_compute_sna_atom.html,
|
sna/atom"_compute_sna_atom.html, "compute snad/atom"_compute_sna_atom.html,
|
||||||
"compute snav/atom"_compute_sna_atom.html, examples/snap
|
"compute snav/atom"_compute_sna_atom.html, examples/snap
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
SRD package :link(SRD),h5
|
SRD package :link(SRD),h5
|
||||||
|
|
||||||
Contents: Two fixes which implement the Stochastic Rotation Dynamics
|
Contents: Two fixes which implement the Stochastic Rotation Dynamics
|
||||||
@ -1080,9 +1080,9 @@ Make.py -p ^srd -a machine :pre
|
|||||||
|
|
||||||
Supporting info: "fix srd"_fix_srd.html, "fix
|
Supporting info: "fix srd"_fix_srd.html, "fix
|
||||||
wall/srd"_fix_wall_srd.html, examples/srd, examples/ASPHERE
|
wall/srd"_fix_wall_srd.html, examples/srd, examples/ASPHERE
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
VORONOI package :link(VORONOI),h5
|
VORONOI package :link(VORONOI),h5
|
||||||
|
|
||||||
Contents: A "compute voronoi/atom"_compute_voronoi_atom.html command
|
Contents: A "compute voronoi/atom"_compute_voronoi_atom.html command
|
||||||
@ -1129,9 +1129,9 @@ Make.py -p ^voronoi -a machine :pre
|
|||||||
|
|
||||||
Supporting info: src/VORONOI/README, lib/voronoi/README, "compute
|
Supporting info: src/VORONOI/README, lib/voronoi/README, "compute
|
||||||
voronoi/atom"_compute_voronoi_atom.html, examples/voronoi
|
voronoi/atom"_compute_voronoi_atom.html, examples/voronoi
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
4.2 User packages :h4,link(pkg_2)
|
4.2 User packages :h4,link(pkg_2)
|
||||||
|
|
||||||
The current list of user-contributed packages is as follows:
|
The current list of user-contributed packages is as follows:
|
||||||
@ -1140,6 +1140,7 @@ Package, Description, Author(s), Doc page, Example, Pic/movie, Library
|
|||||||
"USER-ATC"_#USER-ATC, atom-to-continuum coupling, Jones & Templeton & Zimmerman (1), "fix atc"_fix_atc.html, USER/atc, "atc"_atc, lib/atc
|
"USER-ATC"_#USER-ATC, atom-to-continuum coupling, Jones & Templeton & Zimmerman (1), "fix atc"_fix_atc.html, USER/atc, "atc"_atc, lib/atc
|
||||||
"USER-AWPMD"_#USER-AWPMD, wave-packet MD, Ilya Valuev (JIHT), "pair_style awpmd/cut"_pair_awpmd.html, USER/awpmd, -, lib/awpmd
|
"USER-AWPMD"_#USER-AWPMD, wave-packet MD, Ilya Valuev (JIHT), "pair_style awpmd/cut"_pair_awpmd.html, USER/awpmd, -, lib/awpmd
|
||||||
"USER-CG-CMM"_#USER-CG-CMM, coarse-graining model, Axel Kohlmeyer (Temple U), "pair_style lj/sdk"_pair_sdk.html, USER/cg-cmm, "cg"_cg, -
|
"USER-CG-CMM"_#USER-CG-CMM, coarse-graining model, Axel Kohlmeyer (Temple U), "pair_style lj/sdk"_pair_sdk.html, USER/cg-cmm, "cg"_cg, -
|
||||||
|
"USER-CGDNA"_#USER-CGDNA, coarse-grained DNA force fields, Oliver Henrich (U Edinburgh), src/USER-CGDNA/README, USER/cgdna, -, -
|
||||||
"USER-COLVARS"_#USER-COLVARS, collective variables, Fiorin & Henin & Kohlmeyer (2), "fix colvars"_fix_colvars.html, USER/colvars, "colvars"_colvars, lib/colvars
|
"USER-COLVARS"_#USER-COLVARS, collective variables, Fiorin & Henin & Kohlmeyer (2), "fix colvars"_fix_colvars.html, USER/colvars, "colvars"_colvars, lib/colvars
|
||||||
"USER-DIFFRACTION"_#USER-DIFFRACTION, virutal x-ray and electron diffraction, Shawn Coleman (ARL),"compute xrd"_compute_xrd.html, USER/diffraction, -, -
|
"USER-DIFFRACTION"_#USER-DIFFRACTION, virutal x-ray and electron diffraction, Shawn Coleman (ARL),"compute xrd"_compute_xrd.html, USER/diffraction, -, -
|
||||||
"USER-DPD"_#USER-DPD, reactive dissipative particle dynamics (DPD), Larentzos & Mattox & Brennan (5), src/USER-DPD/README, USER/dpd, -, -
|
"USER-DPD"_#USER-DPD, reactive dissipative particle dynamics (DPD), Larentzos & Mattox & Brennan (5), src/USER-DPD/README, USER/dpd, -, -
|
||||||
@ -1153,6 +1154,7 @@ Package, Description, Author(s), Doc page, Example, Pic/movie, Library
|
|||||||
"USER-MISC"_#USER-MISC, single-file contributions, USER-MISC/README, USER-MISC/README, -, -, -
|
"USER-MISC"_#USER-MISC, single-file contributions, USER-MISC/README, USER-MISC/README, -, -, -
|
||||||
"USER-MANIFOLD"_#USER-MANIFOLD, motion on 2d surface, Stefan Paquay (Eindhoven U of Technology), "fix manifoldforce"_fix_manifoldforce.html, USER/manifold, "manifold"_manifold, -
|
"USER-MANIFOLD"_#USER-MANIFOLD, motion on 2d surface, Stefan Paquay (Eindhoven U of Technology), "fix manifoldforce"_fix_manifoldforce.html, USER/manifold, "manifold"_manifold, -
|
||||||
"USER-MOLFILE"_#USER-MOLFILE, "VMD"_VMD molfile plug-ins, Axel Kohlmeyer (Temple U), "dump molfile"_dump_molfile.html, -, -, VMD-MOLFILE
|
"USER-MOLFILE"_#USER-MOLFILE, "VMD"_VMD molfile plug-ins, Axel Kohlmeyer (Temple U), "dump molfile"_dump_molfile.html, -, -, VMD-MOLFILE
|
||||||
|
"USER-NC-DUMP"_#USER-NC-DUMP, dump output via NetCDF, Lars Pastewka (Karlsruhe Institute of Technology, KIT), "dump nc / dump nc/mpiio"_dump_nc.html, -, -, lib/netcdf
|
||||||
"USER-OMP"_#USER-OMP, OpenMP threaded styles, Axel Kohlmeyer (Temple U), "Section 5.3.4"_accelerate_omp.html, -, -, -
|
"USER-OMP"_#USER-OMP, OpenMP threaded styles, Axel Kohlmeyer (Temple U), "Section 5.3.4"_accelerate_omp.html, -, -, -
|
||||||
"USER-PHONON"_#USER-PHONON, phonon dynamical matrix, Ling-Ti Kong (Shanghai Jiao Tong U), "fix phonon"_fix_phonon.html, USER/phonon, -, -
|
"USER-PHONON"_#USER-PHONON, phonon dynamical matrix, Ling-Ti Kong (Shanghai Jiao Tong U), "fix phonon"_fix_phonon.html, USER/phonon, -, -
|
||||||
"USER-QMMM"_#USER-QMMM, QM/MM coupling, Axel Kohlmeyer (Temple U), "fix qmmm"_fix_qmmm.html, USER/qmmm, -, lib/qmmm
|
"USER-QMMM"_#USER-QMMM, QM/MM coupling, Axel Kohlmeyer (Temple U), "fix qmmm"_fix_qmmm.html, USER/qmmm, -, lib/qmmm
|
||||||
@ -1283,6 +1285,31 @@ him directly if you have questions.
|
|||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
|
USER-CGDNA package :link(USER-CGDNA),h5
|
||||||
|
|
||||||
|
Contents: The CGDNA package implements coarse-grained force fields for
|
||||||
|
single- and double-stranded DNA. This is at the moment mainly the
|
||||||
|
oxDNA model, developed by Doye, Louis and Ouldridge at the University
|
||||||
|
of Oxford. The package also contains Langevin-type rigid-body
|
||||||
|
integrators with improved stability.
|
||||||
|
|
||||||
|
See these doc pages to get started:
|
||||||
|
|
||||||
|
"bond_style oxdna_fene"_bond_oxdna_fene.html
|
||||||
|
"pair_style oxdna_excv"_pair_oxdna_excv.html
|
||||||
|
"fix nve/dotc/langevin"_fix_nve_dotc_langevin.html :ul
|
||||||
|
|
||||||
|
Supporting info: /src/USER-CGDNA/README, "bond_style
|
||||||
|
oxdna_fene"_bond_oxdna_fene.html, "pair_style
|
||||||
|
oxdna_excv"_pair_oxdna_excv.html, "fix
|
||||||
|
nve/dotc/langevin"_fix_nve_dotc_langevin.html
|
||||||
|
|
||||||
|
Author: Oliver Henrich at the University of Edinburgh, UK (o.henrich
|
||||||
|
at epcc.ed.ac.uk or ohenrich at ph.ed.ac.uk). Contact him directly if
|
||||||
|
you have any questions.
|
||||||
|
|
||||||
|
:line
|
||||||
|
|
||||||
USER-COLVARS package :link(USER-COLVARS),h5
|
USER-COLVARS package :link(USER-COLVARS),h5
|
||||||
|
|
||||||
Contents: COLVARS stands for collective variables which can be used to
|
Contents: COLVARS stands for collective variables which can be used to
|
||||||
@ -1302,7 +1329,7 @@ fix. The COLVARS library itself is written and maintained by Giacomo
|
|||||||
Fiorin (ICMS, Temple University, Philadelphia, PA, USA) and Jerome
|
Fiorin (ICMS, Temple University, Philadelphia, PA, USA) and Jerome
|
||||||
Henin (LISM, CNRS, Marseille, France). Contact them directly if you
|
Henin (LISM, CNRS, Marseille, France). Contact them directly if you
|
||||||
have questions.
|
have questions.
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
USER-DIFFRACTION package :link(USER-DIFFRACTION),h5
|
USER-DIFFRACTION package :link(USER-DIFFRACTION),h5
|
||||||
@ -1380,7 +1407,7 @@ in 2007. See src/USER-EFF/README for more details. There are
|
|||||||
auxiliary tools for using this package in tools/eff; see its README
|
auxiliary tools for using this package in tools/eff; see its README
|
||||||
file.
|
file.
|
||||||
|
|
||||||
Supporting info:
|
Supporting info:
|
||||||
|
|
||||||
Author: Andres Jaramillo-Botero at CalTech (ajaramil at
|
Author: Andres Jaramillo-Botero at CalTech (ajaramil at
|
||||||
wag.caltech.edu). Contact him directly if you have questions.
|
wag.caltech.edu). Contact him directly if you have questions.
|
||||||
@ -1456,21 +1483,21 @@ LINKFLAGS: add -fopenmp :ul
|
|||||||
|
|
||||||
For Phi mode add the following in addition to the CPU mode flags:
|
For Phi mode add the following in addition to the CPU mode flags:
|
||||||
|
|
||||||
CCFLAGS: add -DLMP_INTEL_OFFLOAD and
|
CCFLAGS: add -DLMP_INTEL_OFFLOAD and
|
||||||
LINKFLAGS: add -offload :ul
|
LINKFLAGS: add -offload :ul
|
||||||
|
|
||||||
And also add this to CCFLAGS:
|
And also add this to CCFLAGS:
|
||||||
|
|
||||||
-offload-option,mic,compiler,"-fp-model fast=2 -mGLOB_default_function_attrs=\"gather_scatter_loop_unroll=4\"" :pre
|
-offload-option,mic,compiler,"-fp-model fast=2 -mGLOB_default_function_attrs=\"gather_scatter_loop_unroll=4\"" :pre
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
USER-LB package :link(USER-LB),h5
|
USER-LB package :link(USER-LB),h5
|
||||||
|
|
||||||
Supporting info:
|
Supporting info:
|
||||||
|
|
||||||
This package contains a LAMMPS implementation of a background
|
This package contains a LAMMPS implementation of a background
|
||||||
Lattice-Boltzmann fluid, which can be used to model MD particles
|
Lattice-Boltzmann fluid, which can be used to model MD particles
|
||||||
influenced by hydrodynamic forces.
|
influenced by hydrodynamic forces.
|
||||||
@ -1489,8 +1516,8 @@ Examples: examples/USER/lb
|
|||||||
|
|
||||||
USER-MGPT package :link(USER-MGPT),h5
|
USER-MGPT package :link(USER-MGPT),h5
|
||||||
|
|
||||||
Supporting info:
|
Supporting info:
|
||||||
|
|
||||||
This package contains a fast implementation for LAMMPS of
|
This package contains a fast implementation for LAMMPS of
|
||||||
quantum-based MGPT multi-ion potentials. The MGPT or model GPT method
|
quantum-based MGPT multi-ion potentials. The MGPT or model GPT method
|
||||||
derives from first-principles DFT-based generalized pseudopotential
|
derives from first-principles DFT-based generalized pseudopotential
|
||||||
@ -1521,8 +1548,8 @@ Examples: examples/USER/mgpt
|
|||||||
|
|
||||||
USER-MISC package :link(USER-MISC),h5
|
USER-MISC package :link(USER-MISC),h5
|
||||||
|
|
||||||
Supporting info:
|
Supporting info:
|
||||||
|
|
||||||
The files in this package are a potpourri of (mostly) unrelated
|
The files in this package are a potpourri of (mostly) unrelated
|
||||||
features contributed to LAMMPS by users. Each feature is a single
|
features contributed to LAMMPS by users. Each feature is a single
|
||||||
pair of files (*.cpp and *.h).
|
pair of files (*.cpp and *.h).
|
||||||
@ -1548,8 +1575,8 @@ Examples: examples/USER/misc
|
|||||||
|
|
||||||
USER-MANIFOLD package :link(USER-MANIFOLD),h5
|
USER-MANIFOLD package :link(USER-MANIFOLD),h5
|
||||||
|
|
||||||
Supporting info:
|
Supporting info:
|
||||||
|
|
||||||
This package contains a dump molfile command which uses molfile
|
This package contains a dump molfile command which uses molfile
|
||||||
plugins that are bundled with the
|
plugins that are bundled with the
|
||||||
"VMD"_http://www.ks.uiuc.edu/Research/vmd molecular visualization and
|
"VMD"_http://www.ks.uiuc.edu/Research/vmd molecular visualization and
|
||||||
@ -1574,8 +1601,8 @@ Contact him directly if you have questions.
|
|||||||
|
|
||||||
USER-MOLFILE package :link(USER-MOLFILE),h5
|
USER-MOLFILE package :link(USER-MOLFILE),h5
|
||||||
|
|
||||||
Supporting info:
|
Supporting info:
|
||||||
|
|
||||||
This package contains a dump molfile command which uses molfile
|
This package contains a dump molfile command which uses molfile
|
||||||
plugins that are bundled with the
|
plugins that are bundled with the
|
||||||
"VMD"_http://www.ks.uiuc.edu/Research/vmd molecular visualization and
|
"VMD"_http://www.ks.uiuc.edu/Research/vmd molecular visualization and
|
||||||
@ -1598,14 +1625,38 @@ The person who created this package is Axel Kohlmeyer at Temple U
|
|||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
|
USER-NC-DUMP package :link(USER-NC-DUMP),h5
|
||||||
|
|
||||||
|
Contents: Dump styles for writing NetCDF format files. NetCDF is a binary,
|
||||||
|
portable, self-describing file format on top of HDF5. The file format
|
||||||
|
contents follow the AMBER NetCDF trajectory conventions
|
||||||
|
(http://ambermd.org/netcdf/nctraj.xhtml), but include extensions to this
|
||||||
|
convention. This package implements a "dump nc"_dump_nc.html command
|
||||||
|
and a "dump nc/mpiio"_dump_nc.html command to output LAMMPS snapshots
|
||||||
|
in this format. See src/USER-NC-DUMP/README for more details.
|
||||||
|
|
||||||
|
NetCDF files can be directly visualized with the following tools:
|
||||||
|
|
||||||
|
Ovito (http://www.ovito.org/). Ovito supports the AMBER convention
|
||||||
|
and all of the above extensions. :ulb,l
|
||||||
|
VMD (http://www.ks.uiuc.edu/Research/vmd/) :l
|
||||||
|
AtomEye (http://www.libatoms.org/). The libAtoms version of AtomEye contains
|
||||||
|
a NetCDF reader that is not present in the standard distribution of AtomEye :l,ule
|
||||||
|
|
||||||
|
The person who created these files is Lars Pastewka at
|
||||||
|
Karlsruhe Institute of Technology (lars.pastewka at kit.edu).
|
||||||
|
Contact him directly if you have questions.
|
||||||
|
|
||||||
|
:line
|
||||||
|
|
||||||
USER-OMP package :link(USER-OMP),h5
|
USER-OMP package :link(USER-OMP),h5
|
||||||
|
|
||||||
Supporting info:
|
Supporting info:
|
||||||
|
|
||||||
This package provides OpenMP multi-threading support and
|
This package provides OpenMP multi-threading support and
|
||||||
other optimizations of various LAMMPS pair styles, dihedral
|
other optimizations of various LAMMPS pair styles, dihedral
|
||||||
styles, and fix styles.
|
styles, and fix styles.
|
||||||
|
|
||||||
See this section of the manual to get started:
|
See this section of the manual to get started:
|
||||||
|
|
||||||
"Section 5.3"_Section_accelerate.html#acc_3
|
"Section 5.3"_Section_accelerate.html#acc_3
|
||||||
@ -1643,8 +1694,8 @@ Examples: examples/USER/phonon
|
|||||||
|
|
||||||
USER-QMMM package :link(USER-QMMM),h5
|
USER-QMMM package :link(USER-QMMM),h5
|
||||||
|
|
||||||
Supporting info:
|
Supporting info:
|
||||||
|
|
||||||
This package provides a fix qmmm command which allows LAMMPS to be
|
This package provides a fix qmmm command which allows LAMMPS to be
|
||||||
used in a QM/MM simulation, currently only in combination with pw.x
|
used in a QM/MM simulation, currently only in combination with pw.x
|
||||||
code from the "Quantum ESPRESSO"_espresso package.
|
code from the "Quantum ESPRESSO"_espresso package.
|
||||||
@ -1667,11 +1718,11 @@ The person who created this package is Axel Kohlmeyer at Temple U
|
|||||||
(akohlmey at gmail.com). Contact him directly if you have questions.
|
(akohlmey at gmail.com). Contact him directly if you have questions.
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
USER-QTB package :link(USER-QTB),h5
|
USER-QTB package :link(USER-QTB),h5
|
||||||
|
|
||||||
Supporting info:
|
Supporting info:
|
||||||
|
|
||||||
This package provides a self-consistent quantum treatment of the
|
This package provides a self-consistent quantum treatment of the
|
||||||
vibrational modes in a classical molecular dynamics simulation. By
|
vibrational modes in a classical molecular dynamics simulation. By
|
||||||
coupling the MD simulation to a colored thermostat, it introduces zero
|
coupling the MD simulation to a colored thermostat, it introduces zero
|
||||||
@ -1701,16 +1752,16 @@ Examples: examples/USER/qtb
|
|||||||
|
|
||||||
USER-QUIP package :link(USER-QUIP),h5
|
USER-QUIP package :link(USER-QUIP),h5
|
||||||
|
|
||||||
Supporting info:
|
Supporting info:
|
||||||
|
|
||||||
Examples: examples/USER/quip
|
Examples: examples/USER/quip
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
USER-REAXC package :link(USER-REAXC),h5
|
USER-REAXC package :link(USER-REAXC),h5
|
||||||
|
|
||||||
Supporting info:
|
Supporting info:
|
||||||
|
|
||||||
This package contains a implementation for LAMMPS of the ReaxFF force
|
This package contains a implementation for LAMMPS of the ReaxFF force
|
||||||
field. ReaxFF uses distance-dependent bond-order functions to
|
field. ReaxFF uses distance-dependent bond-order functions to
|
||||||
represent the contributions of chemical bonding to the potential
|
represent the contributions of chemical bonding to the potential
|
||||||
@ -1748,24 +1799,24 @@ Examples: examples/reax
|
|||||||
|
|
||||||
USER-SMD package :link(USER-SMD),h5
|
USER-SMD package :link(USER-SMD),h5
|
||||||
|
|
||||||
Supporting info:
|
Supporting info:
|
||||||
|
|
||||||
This package implements smoothed Mach dynamics (SMD) in
|
This package implements smoothed Mach dynamics (SMD) in
|
||||||
LAMMPS. Currently, the package has the following features:
|
LAMMPS. Currently, the package has the following features:
|
||||||
|
|
||||||
* Does liquids via traditional Smooth Particle Hydrodynamics (SPH)
|
* Does liquids via traditional Smooth Particle Hydrodynamics (SPH)
|
||||||
|
|
||||||
* Also solves solids mechanics problems via a state of the art
|
* Also solves solids mechanics problems via a state of the art
|
||||||
stabilized meshless method with hourglass control.
|
stabilized meshless method with hourglass control.
|
||||||
|
|
||||||
* Can specify hydrostatic interactions independently from material
|
* Can specify hydrostatic interactions independently from material
|
||||||
strength models, i.e. pressure and deviatoric stresses are separated.
|
strength models, i.e. pressure and deviatoric stresses are separated.
|
||||||
|
|
||||||
* Many material models available (Johnson-Cook, plasticity with
|
* Many material models available (Johnson-Cook, plasticity with
|
||||||
hardening, Mie-Grueneisen, Polynomial EOS). Easy to add new
|
hardening, Mie-Grueneisen, Polynomial EOS). Easy to add new
|
||||||
material models.
|
material models.
|
||||||
|
|
||||||
* Rigid boundary conditions (walls) can be loaded as surface geometries
|
* Rigid boundary conditions (walls) can be loaded as surface geometries
|
||||||
from *.STL files.
|
from *.STL files.
|
||||||
|
|
||||||
See the file doc/PDF/SMD_LAMMPS_userguide.pdf to get started.
|
See the file doc/PDF/SMD_LAMMPS_userguide.pdf to get started.
|
||||||
@ -1783,8 +1834,8 @@ Examples: examples/USER/smd
|
|||||||
|
|
||||||
USER-SMTBQ package :link(USER-SMTBQ),h5
|
USER-SMTBQ package :link(USER-SMTBQ),h5
|
||||||
|
|
||||||
Supporting info:
|
Supporting info:
|
||||||
|
|
||||||
This package implements the Second Moment Tight Binding - QEq (SMTB-Q)
|
This package implements the Second Moment Tight Binding - QEq (SMTB-Q)
|
||||||
potential for the description of ionocovalent bonds in oxides.
|
potential for the description of ionocovalent bonds in oxides.
|
||||||
|
|
||||||
@ -1806,22 +1857,22 @@ Examples: examples/USER/smtbq
|
|||||||
|
|
||||||
USER-SPH package :link(USER-SPH),h5
|
USER-SPH package :link(USER-SPH),h5
|
||||||
|
|
||||||
Supporting info:
|
Supporting info:
|
||||||
|
|
||||||
This package implements smoothed particle hydrodynamics (SPH) in
|
This package implements smoothed particle hydrodynamics (SPH) in
|
||||||
LAMMPS. Currently, the package has the following features:
|
LAMMPS. Currently, the package has the following features:
|
||||||
|
|
||||||
* Tait, ideal gas, Lennard-Jones equation of states, full support for
|
* Tait, ideal gas, Lennard-Jones equation of states, full support for
|
||||||
complete (i.e. internal-energy dependent) equations of state
|
complete (i.e. internal-energy dependent) equations of state
|
||||||
|
|
||||||
* Plain or Monaghans XSPH integration of the equations of motion
|
* Plain or Monaghans XSPH integration of the equations of motion
|
||||||
|
|
||||||
* Density continuity or density summation to propagate the density field
|
* Density continuity or density summation to propagate the density field
|
||||||
|
|
||||||
* Commands to set internal energy and density of particles from the
|
* Commands to set internal energy and density of particles from the
|
||||||
input script
|
input script
|
||||||
|
|
||||||
* Output commands to access internal energy and density for dumping and
|
* Output commands to access internal energy and density for dumping and
|
||||||
thermo output
|
thermo output
|
||||||
|
|
||||||
See the file doc/PDF/SPH_LAMMPS_userguide.pdf to get started.
|
See the file doc/PDF/SPH_LAMMPS_userguide.pdf to get started.
|
||||||
@ -1839,7 +1890,7 @@ Examples: examples/USER/sph
|
|||||||
|
|
||||||
USER-TALLY package :link(USER-TALLY),h5
|
USER-TALLY package :link(USER-TALLY),h5
|
||||||
|
|
||||||
Supporting info:
|
Supporting info:
|
||||||
|
|
||||||
Examples: examples/USER/tally
|
Examples: examples/USER/tally
|
||||||
|
|
||||||
|
|||||||
@ -8,28 +8,36 @@
|
|||||||
|
|
||||||
11. Python interface to LAMMPS :h3
|
11. Python interface to LAMMPS :h3
|
||||||
|
|
||||||
LAMMPS can work together with Python in two ways. First, Python can
|
LAMMPS can work together with Python in three ways. First, Python can
|
||||||
wrap LAMMPS through the "LAMMPS library
|
wrap LAMMPS through the "LAMMPS library
|
||||||
interface"_Section_howto.html#howto_19, so that a Python script can
|
interface"_Section_howto.html#howto_19, so that a Python script can
|
||||||
create one or more instances of LAMMPS and launch one or more
|
create one or more instances of LAMMPS and launch one or more
|
||||||
simulations. In Python lingo, this is "extending" Python with LAMMPS.
|
simulations. In Python lingo, this is "extending" Python with LAMMPS.
|
||||||
|
|
||||||
Second, LAMMPS can use the Python interpreter, so that a LAMMPS input
|
Second, the low-level Python interface can be used indirectly through the
|
||||||
|
PyLammps and IPyLammps wrapper classes in Python. These wrappers try to
|
||||||
|
simplify the usage of LAMMPS in Python by providing an object-based interface
|
||||||
|
to common LAMMPS functionality. It also reduces the amount of code necessary to
|
||||||
|
parameterize LAMMPS scripts through Python and makes variables and computes
|
||||||
|
directly accessible. See "PyLammps interface"_#py_9 for more details.
|
||||||
|
|
||||||
|
Third, LAMMPS can use the Python interpreter, so that a LAMMPS input
|
||||||
script can invoke Python code, and pass information back-and-forth
|
script can invoke Python code, and pass information back-and-forth
|
||||||
between the input script and Python functions you write. The Python
|
between the input script and Python functions you write. The Python
|
||||||
code can also callback to LAMMPS to query or change its attributes.
|
code can also callback to LAMMPS to query or change its attributes.
|
||||||
In Python lingo, this is "embedding" Python in LAMMPS.
|
In Python lingo, this is "embedding" Python in LAMMPS.
|
||||||
|
|
||||||
This section describes how to do both.
|
This section describes how to use these three approaches.
|
||||||
|
|
||||||
11.1 "Overview of running LAMMPS from Python"_#py_1
|
11.1 "Overview of running LAMMPS from Python"_#py_1
|
||||||
11.2 "Overview of using Python from a LAMMPS script"_#py_2
|
11.2 "Overview of using Python from a LAMMPS script"_#py_2
|
||||||
11.3 "Building LAMMPS as a shared library"_#py_3
|
11.3 "Building LAMMPS as a shared library"_#py_3
|
||||||
11.4 "Installing the Python wrapper into Python"_#py_4
|
11.4 "Installing the Python wrapper into Python"_#py_4
|
||||||
11.5 "Extending Python with MPI to run in parallel"_#py_5
|
11.5 "Extending Python with MPI to run in parallel"_#py_5
|
||||||
11.6 "Testing the Python-LAMMPS interface"_#py_6
|
11.6 "Testing the Python-LAMMPS interface"_#py_6
|
||||||
11.7 "Using LAMMPS from Python"_#py_7
|
11.7 "Using LAMMPS from Python"_#py_7
|
||||||
11.8 "Example Python scripts that use LAMMPS"_#py_8 :ul
|
11.8 "Example Python scripts that use LAMMPS"_#py_8
|
||||||
|
11.9 "PyLammps interface"_#py_9 :ul
|
||||||
|
|
||||||
If you are not familiar with it, "Python"_http://www.python.org is a
|
If you are not familiar with it, "Python"_http://www.python.org is a
|
||||||
powerful scripting and programming language which can essentially do
|
powerful scripting and programming language which can essentially do
|
||||||
@ -503,7 +511,7 @@ one of several ways:
|
|||||||
The last command requires that the first line of the script be
|
The last command requires that the first line of the script be
|
||||||
something like this:
|
something like this:
|
||||||
|
|
||||||
#!/usr/local/bin/python
|
#!/usr/local/bin/python
|
||||||
#!/usr/local/bin/python -i :pre
|
#!/usr/local/bin/python -i :pre
|
||||||
|
|
||||||
where the path points to where you have Python installed, and that you
|
where the path points to where you have Python installed, and that you
|
||||||
@ -534,10 +542,11 @@ from lammps import lammps :pre
|
|||||||
These are the methods defined by the lammps module. If you look at
|
These are the methods defined by the lammps module. If you look at
|
||||||
the files src/library.cpp and src/library.h you will see that they
|
the files src/library.cpp and src/library.h you will see that they
|
||||||
correspond one-to-one with calls you can make to the LAMMPS library
|
correspond one-to-one with calls you can make to the LAMMPS library
|
||||||
from a C++ or C or Fortran program.
|
from a C++ or C or Fortran program, and which are described in
|
||||||
|
"Section 6.19"_Section_howto.html#howto_19 of the manual.
|
||||||
|
|
||||||
lmp = lammps() # create a LAMMPS object using the default liblammps.so library
|
lmp = lammps() # create a LAMMPS object using the default liblammps.so library
|
||||||
4 optional args are allowed: name, cmdargs, ptr, comm
|
# 4 optional args are allowed: name, cmdargs, ptr, comm
|
||||||
lmp = lammps(ptr=lmpptr) # use lmpptr as previously created LAMMPS object
|
lmp = lammps(ptr=lmpptr) # use lmpptr as previously created LAMMPS object
|
||||||
lmp = lammps(comm=split) # create a LAMMPS object with a custom communicator, requires mpi4py 2.0.0 or later
|
lmp = lammps(comm=split) # create a LAMMPS object with a custom communicator, requires mpi4py 2.0.0 or later
|
||||||
lmp = lammps(name="g++") # create a LAMMPS object using the liblammps_g++.so library
|
lmp = lammps(name="g++") # create a LAMMPS object using the liblammps_g++.so library
|
||||||
@ -549,37 +558,41 @@ version = lmp.version() # return the numerical version id, e.g. LAMMPS 2 Sep 20
|
|||||||
|
|
||||||
lmp.file(file) # run an entire input script, file = "in.lj"
|
lmp.file(file) # run an entire input script, file = "in.lj"
|
||||||
lmp.command(cmd) # invoke a single LAMMPS command, cmd = "run 100" :pre
|
lmp.command(cmd) # invoke a single LAMMPS command, cmd = "run 100" :pre
|
||||||
|
lmp.commands_list(cmdlist) # invoke commands in cmdlist = ["run 10", "run 20"]
|
||||||
|
lmp.commands_string(multicmd) # invoke commands in multicmd = "run 10\nrun 20"
|
||||||
|
|
||||||
xlo = lmp.extract_global(name,type) # extract a global quantity
|
xlo = lmp.extract_global(name,type) # extract a global quantity
|
||||||
# name = "boxxlo", "nlocal", etc
|
# name = "boxxlo", "nlocal", etc
|
||||||
# type = 0 = int
|
# type = 0 = int
|
||||||
# 1 = double :pre
|
# 1 = double :pre
|
||||||
|
|
||||||
coords = lmp.extract_atom(name,type) # extract a per-atom quantity
|
coords = lmp.extract_atom(name,type) # extract a per-atom quantity
|
||||||
# name = "x", "type", etc
|
# name = "x", "type", etc
|
||||||
# type = 0 = vector of ints
|
# type = 0 = vector of ints
|
||||||
# 1 = array of ints
|
# 1 = array of ints
|
||||||
# 2 = vector of doubles
|
# 2 = vector of doubles
|
||||||
# 3 = array of doubles :pre
|
# 3 = array of doubles :pre
|
||||||
|
|
||||||
eng = lmp.extract_compute(id,style,type) # extract value(s) from a compute
|
eng = lmp.extract_compute(id,style,type) # extract value(s) from a compute
|
||||||
v3 = lmp.extract_fix(id,style,type,i,j) # extract value(s) from a fix
|
v3 = lmp.extract_fix(id,style,type,i,j) # extract value(s) from a fix
|
||||||
# id = ID of compute or fix
|
# id = ID of compute or fix
|
||||||
# style = 0 = global data
|
# style = 0 = global data
|
||||||
# 1 = per-atom data
|
# 1 = per-atom data
|
||||||
# 2 = local data
|
# 2 = local data
|
||||||
# type = 0 = scalar
|
# type = 0 = scalar
|
||||||
# 1 = vector
|
# 1 = vector
|
||||||
# 2 = array
|
# 2 = array
|
||||||
# i,j = indices of value in global vector or array :pre
|
# i,j = indices of value in global vector or array :pre
|
||||||
|
|
||||||
var = lmp.extract_variable(name,group,flag) # extract value(s) from a variable
|
var = lmp.extract_variable(name,group,flag) # extract value(s) from a variable
|
||||||
# name = name of variable
|
# name = name of variable
|
||||||
# group = group ID (ignored for equal-style variables)
|
# group = group ID (ignored for equal-style variables)
|
||||||
# flag = 0 = equal-style variable
|
# flag = 0 = equal-style variable
|
||||||
# 1 = atom-style variable :pre
|
# 1 = atom-style variable :pre
|
||||||
|
|
||||||
flag = lmp.set_variable(name,value) # set existing named string-style variable to value, flag = 0 if successful
|
flag = lmp.set_variable(name,value) # set existing named string-style variable to value, flag = 0 if successful
|
||||||
|
value = lmp.get_thermo(name) # return current value of a thermo keyword
|
||||||
|
|
||||||
natoms = lmp.get_natoms() # total # of atoms as int
|
natoms = lmp.get_natoms() # total # of atoms as int
|
||||||
data = lmp.gather_atoms(name,type,count) # return atom attribute of all atoms gathered into data, ordered by atom ID
|
data = lmp.gather_atoms(name,type,count) # return atom attribute of all atoms gathered into data, ordered by atom ID
|
||||||
# name = "x", "charge", "type", etc
|
# name = "x", "charge", "type", etc
|
||||||
@ -599,9 +612,10 @@ create an instance of LAMMPS, wrapped in a Python class by the lammps
|
|||||||
Python module, and return an instance of the Python class as lmp. It
|
Python module, and return an instance of the Python class as lmp. It
|
||||||
is used to make all subequent calls to the LAMMPS library.
|
is used to make all subequent calls to the LAMMPS library.
|
||||||
|
|
||||||
Additional arguments can be used to tell Python the name of the shared
|
Additional arguments to lammps() can be used to tell Python the name
|
||||||
library to load or to pass arguments to the LAMMPS instance, the same
|
of the shared library to load or to pass arguments to the LAMMPS
|
||||||
as if LAMMPS were launched from a command-line prompt.
|
instance, the same as if LAMMPS were launched from a command-line
|
||||||
|
prompt.
|
||||||
|
|
||||||
If the ptr argument is set like this:
|
If the ptr argument is set like this:
|
||||||
|
|
||||||
@ -626,8 +640,9 @@ lmp2 = lammps()
|
|||||||
lmp1.file("in.file1")
|
lmp1.file("in.file1")
|
||||||
lmp2.file("in.file2") :pre
|
lmp2.file("in.file2") :pre
|
||||||
|
|
||||||
The file() and command() methods allow an input script or single
|
The file(), command(), commands_list(), commands_string() methods
|
||||||
commands to be invoked.
|
allow an input script, a single command, or multiple commands to be
|
||||||
|
invoked.
|
||||||
|
|
||||||
The extract_global(), extract_atom(), extract_compute(),
|
The extract_global(), extract_atom(), extract_compute(),
|
||||||
extract_fix(), and extract_variable() methods return values or
|
extract_fix(), and extract_variable() methods return values or
|
||||||
@ -724,7 +739,7 @@ lmp.scatter_coords("x",1,3,x) :pre
|
|||||||
Alternatively, you can just change values in the vector returned by
|
Alternatively, you can just change values in the vector returned by
|
||||||
gather_atoms("x",1,3), since it is a ctypes vector of doubles.
|
gather_atoms("x",1,3), since it is a ctypes vector of doubles.
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
As noted above, these Python class methods correspond one-to-one with
|
As noted above, these Python class methods correspond one-to-one with
|
||||||
the functions in the LAMMPS library interface in src/library.cpp and
|
the functions in the LAMMPS library interface in src/library.cpp and
|
||||||
@ -767,7 +782,7 @@ vizplotgui_tool.py, combination of viz_tool.py and plot.py and gui.py :tb(c=2)
|
|||||||
|
|
||||||
For the viz_tool.py and vizplotgui_tool.py commands, replace "tool"
|
For the viz_tool.py and vizplotgui_tool.py commands, replace "tool"
|
||||||
with "gl" or "atomeye" or "pymol" or "vmd", depending on what
|
with "gl" or "atomeye" or "pymol" or "vmd", depending on what
|
||||||
visualization package you have installed.
|
visualization package you have installed.
|
||||||
|
|
||||||
Note that for GL, you need to be able to run the Pizza.py GL tool,
|
Note that for GL, you need to be able to run the Pizza.py GL tool,
|
||||||
which is included in the pizza sub-directory. See the "Pizza.py doc
|
which is included in the pizza sub-directory. See the "Pizza.py doc
|
||||||
@ -817,3 +832,7 @@ different visualization package options. Click to see larger images:
|
|||||||
:image(JPG/screenshot_atomeye_small.jpg,JPG/screenshot_atomeye.jpg)
|
:image(JPG/screenshot_atomeye_small.jpg,JPG/screenshot_atomeye.jpg)
|
||||||
:image(JPG/screenshot_pymol_small.jpg,JPG/screenshot_pymol.jpg)
|
:image(JPG/screenshot_pymol_small.jpg,JPG/screenshot_pymol.jpg)
|
||||||
:image(JPG/screenshot_vmd_small.jpg,JPG/screenshot_vmd.jpg)
|
:image(JPG/screenshot_vmd_small.jpg,JPG/screenshot_vmd.jpg)
|
||||||
|
|
||||||
|
11.9 PyLammps interface :link(py_9),h4
|
||||||
|
|
||||||
|
Please see the "PyLammps Tutorial"_tutorial_pylammps.html.
|
||||||
|
|||||||
@ -33,7 +33,7 @@ tar -xzvf lammps*.tar.gz :pre
|
|||||||
|
|
||||||
This will create a LAMMPS directory containing two files and several
|
This will create a LAMMPS directory containing two files and several
|
||||||
sub-directories:
|
sub-directories:
|
||||||
|
|
||||||
README: text file
|
README: text file
|
||||||
LICENSE: the GNU General Public License (GPL)
|
LICENSE: the GNU General Public License (GPL)
|
||||||
bench: benchmark problems
|
bench: benchmark problems
|
||||||
@ -600,10 +600,10 @@ LAMMPS will generate a run-time error. As far as we know, the
|
|||||||
settings defined in src/lmptype.h are portable and work on every
|
settings defined in src/lmptype.h are portable and work on every
|
||||||
current system.
|
current system.
|
||||||
|
|
||||||
In all cases, the size of problem that can be run on a per-processor
|
In all cases, the size of problem that can be run on a per-processor
|
||||||
basis is limited by 4-byte integer storage to 2^31 atoms per processor
|
basis is limited by 4-byte integer storage to 2^31 atoms per processor
|
||||||
(about 2 billion). This should not normally be a limitation since such
|
(about 2 billion). This should not normally be a limitation since such
|
||||||
a problem would have a huge per-processor memory footprint due to
|
a problem would have a huge per-processor memory footprint due to
|
||||||
neighbor lists and would run very slowly in terms of CPU secs/timestep.
|
neighbor lists and would run very slowly in terms of CPU secs/timestep.
|
||||||
|
|
||||||
:line
|
:line
|
||||||
@ -706,7 +706,7 @@ future changes to LAMMPS.
|
|||||||
User packages, such as user-atc or user-omp, have been contributed by
|
User packages, such as user-atc or user-omp, have been contributed by
|
||||||
users, and always begin with the user prefix. If they are a single
|
users, and always begin with the user prefix. If they are a single
|
||||||
command (single file), they are typically in the user-misc package.
|
command (single file), they are typically in the user-misc package.
|
||||||
Otherwise, they are a a set of files grouped together which add a
|
Otherwise, they are a set of files grouped together which add a
|
||||||
specific functionality to the code.
|
specific functionality to the code.
|
||||||
|
|
||||||
User packages don't necessarily meet the requirements of the standard
|
User packages don't necessarily meet the requirements of the standard
|
||||||
@ -841,7 +841,7 @@ libpackage.a
|
|||||||
Makefile.lammps :pre
|
Makefile.lammps :pre
|
||||||
|
|
||||||
The Makefile.lammps file will typically be a copy of one of the
|
The Makefile.lammps file will typically be a copy of one of the
|
||||||
Makefile.lammps.* files in the library directory.
|
Makefile.lammps.* files in the library directory.
|
||||||
|
|
||||||
Note that you must insure that the settings in Makefile.lammps are
|
Note that you must insure that the settings in Makefile.lammps are
|
||||||
appropriate for your system. If they are not, the LAMMPS build may
|
appropriate for your system. If they are not, the LAMMPS build may
|
||||||
@ -883,7 +883,7 @@ A few packages require specific settings in Makefile.machine, to
|
|||||||
either build or use the package effectively. These are the
|
either build or use the package effectively. These are the
|
||||||
USER-INTEL, KOKKOS, USER-OMP, and OPT packages, used for accelerating
|
USER-INTEL, KOKKOS, USER-OMP, and OPT packages, used for accelerating
|
||||||
code performance on CPUs or other hardware, as discussed in "Section
|
code performance on CPUs or other hardware, as discussed in "Section
|
||||||
5.3"_Section_accelerate.html#acc_3.
|
5.3"_Section_accelerate.html#acc_3.
|
||||||
|
|
||||||
A summary of what Makefile.machine changes are needed for each of
|
A summary of what Makefile.machine changes are needed for each of
|
||||||
these packages is given in "Section 4"_Section_packages.html.
|
these packages is given in "Section 4"_Section_packages.html.
|
||||||
@ -1199,7 +1199,7 @@ installer package from "here"_http://rpm.lammps.org/windows.html
|
|||||||
|
|
||||||
For running the non-MPI executable, follow these steps:
|
For running the non-MPI executable, follow these steps:
|
||||||
|
|
||||||
Get a command prompt by going to Start->Run... ,
|
Get a command prompt by going to Start->Run... ,
|
||||||
then typing "cmd". :ulb,l
|
then typing "cmd". :ulb,l
|
||||||
|
|
||||||
Move to the directory where you have your input, e.g. a copy of
|
Move to the directory where you have your input, e.g. a copy of
|
||||||
@ -1209,7 +1209,7 @@ At the command prompt, type "lmp_serial -in in.lj", replacing [in.lj]
|
|||||||
with the name of your LAMMPS input script. :l
|
with the name of your LAMMPS input script. :l
|
||||||
:ule
|
:ule
|
||||||
|
|
||||||
For the MPI version, which allows you to run LAMMPS under Windows on
|
For the MPI version, which allows you to run LAMMPS under Windows on
|
||||||
multiple processors, follow these steps:
|
multiple processors, follow these steps:
|
||||||
|
|
||||||
Download and install
|
Download and install
|
||||||
@ -1224,7 +1224,7 @@ For this you need to start a Command Prompt in {Administrator Mode}
|
|||||||
installation directory, then into the subdirectory [bin] and execute
|
installation directory, then into the subdirectory [bin] and execute
|
||||||
[smpd.exe -install]. Exit the command window.
|
[smpd.exe -install]. Exit the command window.
|
||||||
|
|
||||||
Get a new, regular command prompt by going to Start->Run... ,
|
Get a new, regular command prompt by going to Start->Run... ,
|
||||||
then typing "cmd". :l
|
then typing "cmd". :l
|
||||||
|
|
||||||
Move to the directory where you have your input file
|
Move to the directory where you have your input file
|
||||||
@ -1488,7 +1488,7 @@ of the manual. World- and universe-style "variables"_variable.html
|
|||||||
are useful in this context.
|
are useful in this context.
|
||||||
|
|
||||||
-plog file :pre
|
-plog file :pre
|
||||||
|
|
||||||
Specify the base name for the partition log files, so partition N
|
Specify the base name for the partition log files, so partition N
|
||||||
writes log information to file.N. If file is none, then no partition
|
writes log information to file.N. If file is none, then no partition
|
||||||
log files are created. This overrides the filename specified in the
|
log files are created. This overrides the filename specified in the
|
||||||
@ -1499,7 +1499,7 @@ replica_files/log.lammps) If this option is not used the log file for
|
|||||||
partition N is log.lammps.N or whatever is specified by the -log
|
partition N is log.lammps.N or whatever is specified by the -log
|
||||||
command-line option.
|
command-line option.
|
||||||
|
|
||||||
-pscreen file :pre
|
-pscreen file :pre
|
||||||
|
|
||||||
Specify the base name for the partition screen file, so partition N
|
Specify the base name for the partition screen file, so partition N
|
||||||
writes screen information to file.N. If file is none, then no
|
writes screen information to file.N. If file is none, then no
|
||||||
@ -1511,7 +1511,7 @@ sub-directory (-pscreen replica_files/screen). If this option is not
|
|||||||
used the screen file for partition N is screen.N or whatever is
|
used the screen file for partition N is screen.N or whatever is
|
||||||
specified by the -screen command-line option.
|
specified by the -screen command-line option.
|
||||||
|
|
||||||
-restart restartfile {remap} datafile keyword value ... :pre
|
-restart restartfile {remap} datafile keyword value ... :pre
|
||||||
|
|
||||||
Convert the restart file into a data file and immediately exit. This
|
Convert the restart file into a data file and immediately exit. This
|
||||||
is the same operation as if the following 2-line input script were
|
is the same operation as if the following 2-line input script were
|
||||||
@ -1572,7 +1572,7 @@ to
|
|||||||
|
|
||||||
so that the processors in each partition will be
|
so that the processors in each partition will be
|
||||||
|
|
||||||
0 1 2 4 5 6 8 9 10
|
0 1 2 4 5 6 8 9 10
|
||||||
3 7 11 :pre
|
3 7 11 :pre
|
||||||
|
|
||||||
See the "processors" command for how to insure processors from each
|
See the "processors" command for how to insure processors from each
|
||||||
@ -1601,9 +1601,9 @@ implementations, either by environment variables that specify how to
|
|||||||
order physical processors, or by config files that specify what
|
order physical processors, or by config files that specify what
|
||||||
physical processors to assign to each MPI rank. The -reorder switch
|
physical processors to assign to each MPI rank. The -reorder switch
|
||||||
simply gives you a portable way to do this without relying on MPI
|
simply gives you a portable way to do this without relying on MPI
|
||||||
itself. See the "processors out"_processors command for how to output
|
itself. See the "processors out"_processors.html command for how
|
||||||
info on the final assignment of physical processors to the LAMMPS
|
to output info on the final assignment of physical processors to
|
||||||
simulation domain.
|
the LAMMPS simulation domain.
|
||||||
|
|
||||||
-screen file :pre
|
-screen file :pre
|
||||||
|
|
||||||
@ -1663,12 +1663,12 @@ invokes the default USER-INTEL settings, as if the command "package
|
|||||||
intel 1" were used at the top of your input script. These settings
|
intel 1" were used at the top of your input script. These settings
|
||||||
can be changed by using the "-package intel" command-line switch or
|
can be changed by using the "-package intel" command-line switch or
|
||||||
the "package intel"_package.html command in your script. If the
|
the "package intel"_package.html command in your script. If the
|
||||||
USER-OMP package is also installed, the hybrid style with "intel omp"
|
USER-OMP package is also installed, the hybrid style with "intel omp"
|
||||||
arguments can be used to make the omp suffix a second choice, if a
|
arguments can be used to make the omp suffix a second choice, if a
|
||||||
requested style is not available in the USER-INTEL package. It will
|
requested style is not available in the USER-INTEL package. It will
|
||||||
also invoke the default USER-OMP settings, as if the command "package
|
also invoke the default USER-OMP settings, as if the command "package
|
||||||
omp 0" were used at the top of your input script. These settings can
|
omp 0" were used at the top of your input script. These settings can
|
||||||
be changed by using the "-package omp" command-line switch or the
|
be changed by using the "-package omp" command-line switch or the
|
||||||
"package omp"_package.html command in your script.
|
"package omp"_package.html command in your script.
|
||||||
|
|
||||||
For the KOKKOS package, using this command-line switch also invokes
|
For the KOKKOS package, using this command-line switch also invokes
|
||||||
@ -1727,7 +1727,7 @@ thermodynamic state and a total run time for the simulation. It then
|
|||||||
appends statistics about the CPU time and storage requirements for the
|
appends statistics about the CPU time and storage requirements for the
|
||||||
simulation. An example set of statistics is shown here:
|
simulation. An example set of statistics is shown here:
|
||||||
|
|
||||||
Loop time of 2.81192 on 4 procs for 300 steps with 2004 atoms
|
Loop time of 2.81192 on 4 procs for 300 steps with 2004 atoms :pre
|
||||||
|
|
||||||
Performance: 18.436 ns/day 1.302 hours/ns 106.689 timesteps/s
|
Performance: 18.436 ns/day 1.302 hours/ns 106.689 timesteps/s
|
||||||
97.0% CPU use with 4 MPI tasks x no OpenMP threads :pre
|
97.0% CPU use with 4 MPI tasks x no OpenMP threads :pre
|
||||||
@ -1757,14 +1757,14 @@ Ave special neighs/atom = 2.34032
|
|||||||
Neighbor list builds = 26
|
Neighbor list builds = 26
|
||||||
Dangerous builds = 0 :pre
|
Dangerous builds = 0 :pre
|
||||||
|
|
||||||
The first section provides a global loop timing summary. The loop time
|
The first section provides a global loop timing summary. The {loop time}
|
||||||
is the total wall time for the section. The {Performance} line is
|
is the total wall time for the section. The {Performance} line is
|
||||||
provided for convenience to help predicting the number of loop
|
provided for convenience to help predicting the number of loop
|
||||||
continuations required and for comparing performance with other
|
continuations required and for comparing performance with other,
|
||||||
similar MD codes. The CPU use line provides the CPU utilzation per
|
similar MD codes. The {CPU use} line provides the CPU utilzation per
|
||||||
MPI task; it should be close to 100% times the number of OpenMP
|
MPI task; it should be close to 100% times the number of OpenMP
|
||||||
threads (or 1). Lower numbers correspond to delays due to file I/O or
|
threads (or 1 of no OpenMP). Lower numbers correspond to delays due
|
||||||
insufficient thread utilization.
|
to file I/O or insufficient thread utilization.
|
||||||
|
|
||||||
The MPI task section gives the breakdown of the CPU run time (in
|
The MPI task section gives the breakdown of the CPU run time (in
|
||||||
seconds) into major categories:
|
seconds) into major categories:
|
||||||
@ -1791,7 +1791,7 @@ is present that also prints the CPU utilization in percent. In
|
|||||||
addition, when using {timer full} and the "package omp"_package.html
|
addition, when using {timer full} and the "package omp"_package.html
|
||||||
command are active, a similar timing summary of time spent in threaded
|
command are active, a similar timing summary of time spent in threaded
|
||||||
regions to monitor thread utilization and load balance is provided. A
|
regions to monitor thread utilization and load balance is provided. A
|
||||||
new entry is the {Reduce} section, which lists the time spend in
|
new entry is the {Reduce} section, which lists the time spent in
|
||||||
reducing the per-thread data elements to the storage for non-threaded
|
reducing the per-thread data elements to the storage for non-threaded
|
||||||
computation. These thread timings are taking from the first MPI rank
|
computation. These thread timings are taking from the first MPI rank
|
||||||
only and and thus, as the breakdown for MPI tasks can change from MPI
|
only and and thus, as the breakdown for MPI tasks can change from MPI
|
||||||
@ -1833,7 +1833,7 @@ e.g.
|
|||||||
|
|
||||||
Minimization stats:
|
Minimization stats:
|
||||||
Stopping criterion = linesearch alpha is zero
|
Stopping criterion = linesearch alpha is zero
|
||||||
Energy initial, next-to-last, final =
|
Energy initial, next-to-last, final =
|
||||||
-6372.3765206 -8328.46998942 -8328.46998942
|
-6372.3765206 -8328.46998942 -8328.46998942
|
||||||
Force two-norm initial, final = 1059.36 5.36874
|
Force two-norm initial, final = 1059.36 5.36874
|
||||||
Force max component initial, final = 58.6026 1.46872
|
Force max component initial, final = 58.6026 1.46872
|
||||||
|
|||||||
@ -104,7 +104,7 @@ since binary files are not compatible across all platforms.
|
|||||||
ch2lmp tool :h4,link(charmm)
|
ch2lmp tool :h4,link(charmm)
|
||||||
|
|
||||||
The ch2lmp sub-directory contains tools for converting files
|
The ch2lmp sub-directory contains tools for converting files
|
||||||
back-and-forth between the CHARMM MD code and LAMMPS.
|
back-and-forth between the CHARMM MD code and LAMMPS.
|
||||||
|
|
||||||
They are intended to make it easy to use CHARMM as a builder and as a
|
They are intended to make it easy to use CHARMM as a builder and as a
|
||||||
post-processor for LAMMPS. Using charmm2lammps.pl, you can convert a
|
post-processor for LAMMPS. Using charmm2lammps.pl, you can convert a
|
||||||
|
|||||||
@ -29,80 +29,80 @@ Bond Styles: fene, harmonic :l
|
|||||||
Dihedral Styles: charmm, harmonic, opls :l
|
Dihedral Styles: charmm, harmonic, opls :l
|
||||||
Fixes: nve, npt, nvt, nvt/sllod :l
|
Fixes: nve, npt, nvt, nvt/sllod :l
|
||||||
Improper Styles: cvff, harmonic :l
|
Improper Styles: cvff, harmonic :l
|
||||||
Pair Styles: buck/coul/cut, buck/coul/long, buck, gayberne,
|
Pair Styles: buck/coul/cut, buck/coul/long, buck, eam, gayberne,
|
||||||
charmm/coul/long, lj/cut, lj/cut/coul/long, sw, tersoff :l
|
charmm/coul/long, lj/cut, lj/cut/coul/long, sw, tersoff :l
|
||||||
K-Space Styles: pppm :l
|
K-Space Styles: pppm :l
|
||||||
:ule
|
:ule
|
||||||
|
|
||||||
[Speed-ups to expect:]
|
[Speed-ups to expect:]
|
||||||
|
|
||||||
The speedups will depend on your simulation, the hardware, which
|
The speedups will depend on your simulation, the hardware, which
|
||||||
styles are used, the number of atoms, and the floating-point
|
styles are used, the number of atoms, and the floating-point
|
||||||
precision mode. Performance improvements are shown compared to
|
precision mode. Performance improvements are shown compared to
|
||||||
LAMMPS {without using other acceleration packages} as these are
|
LAMMPS {without using other acceleration packages} as these are
|
||||||
under active development (and subject to performance changes). The
|
under active development (and subject to performance changes). The
|
||||||
measurements were performed using the input files available in
|
measurements were performed using the input files available in
|
||||||
the src/USER-INTEL/TEST directory. These are scalable in size; the
|
the src/USER-INTEL/TEST directory. These are scalable in size; the
|
||||||
results given are with 512K particles (524K for Liquid Crystal).
|
results given are with 512K particles (524K for Liquid Crystal).
|
||||||
Most of the simulations are standard LAMMPS benchmarks (indicated
|
Most of the simulations are standard LAMMPS benchmarks (indicated
|
||||||
by the filename extension in parenthesis) with modifications to the
|
by the filename extension in parenthesis) with modifications to the
|
||||||
run length and to add a warmup run (for use with offload
|
run length and to add a warmup run (for use with offload
|
||||||
benchmarks).
|
benchmarks).
|
||||||
|
|
||||||
:c,image(JPG/user_intel.png)
|
:c,image(JPG/user_intel.png)
|
||||||
|
|
||||||
Results are speedups obtained on Intel Xeon E5-2697v4 processors
|
Results are speedups obtained on Intel Xeon E5-2697v4 processors
|
||||||
(code-named Broadwell) and Intel Xeon Phi 7250 processors
|
(code-named Broadwell) and Intel Xeon Phi 7250 processors
|
||||||
(code-named Knights Landing) with "18 Jun 2016" LAMMPS built with
|
(code-named Knights Landing) with "18 Jun 2016" LAMMPS built with
|
||||||
Intel Parallel Studio 2016 update 3. Results are with 1 MPI task
|
Intel Parallel Studio 2016 update 3. Results are with 1 MPI task
|
||||||
per physical core. See {src/USER-INTEL/TEST/README} for the raw
|
per physical core. See {src/USER-INTEL/TEST/README} for the raw
|
||||||
simulation rates and instructions to reproduce.
|
simulation rates and instructions to reproduce.
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
[Quick Start for Experienced Users:]
|
[Quick Start for Experienced Users:]
|
||||||
|
|
||||||
LAMMPS should be built with the USER-INTEL package installed.
|
LAMMPS should be built with the USER-INTEL package installed.
|
||||||
Simulations should be run with 1 MPI task per physical {core},
|
Simulations should be run with 1 MPI task per physical {core},
|
||||||
not {hardware thread}.
|
not {hardware thread}.
|
||||||
|
|
||||||
For Intel Xeon CPUs:
|
For Intel Xeon CPUs:
|
||||||
|
|
||||||
Edit src/MAKE/OPTIONS/Makefile.intel_cpu_intelmpi as necessary. :ulb,l
|
Edit src/MAKE/OPTIONS/Makefile.intel_cpu_intelmpi as necessary. :ulb,l
|
||||||
If using {kspace_style pppm} in the input script, add "neigh_modify binsize 3" and "kspace_modify diff ad" to the input script for better
|
If using {kspace_style pppm} in the input script, add "neigh_modify binsize 3" and "kspace_modify diff ad" to the input script for better
|
||||||
performance. :l
|
performance. :l
|
||||||
"-pk intel 0 omp 2 -sf intel" added to LAMMPS command-line :l
|
"-pk intel 0 omp 2 -sf intel" added to LAMMPS command-line :l
|
||||||
:ule
|
:ule
|
||||||
|
|
||||||
For Intel Xeon Phi CPUs for simulations without {kspace_style
|
For Intel Xeon Phi CPUs for simulations without {kspace_style
|
||||||
pppm} in the input script :
|
pppm} in the input script :
|
||||||
|
|
||||||
Edit src/MAKE/OPTIONS/Makefile.knl as necessary. :ulb,l
|
Edit src/MAKE/OPTIONS/Makefile.knl as necessary. :ulb,l
|
||||||
Runs should be performed using MCDRAM. :l
|
Runs should be performed using MCDRAM. :l
|
||||||
"-pk intel 0 omp 2 -sf intel" {or} "-pk intel 0 omp 4 -sf intel"
|
"-pk intel 0 omp 2 -sf intel" {or} "-pk intel 0 omp 4 -sf intel"
|
||||||
should be added to the LAMMPS command-line. Choice for best
|
should be added to the LAMMPS command-line. Choice for best
|
||||||
performance will depend on the simulation. :l
|
performance will depend on the simulation. :l
|
||||||
:ule
|
:ule
|
||||||
|
|
||||||
For Intel Xeon Phi CPUs for simulations with {kspace_style
|
For Intel Xeon Phi CPUs for simulations with {kspace_style
|
||||||
pppm} in the input script:
|
pppm} in the input script:
|
||||||
|
|
||||||
Edit src/MAKE/OPTIONS/Makefile.knl as necessary. :ulb,l
|
Edit src/MAKE/OPTIONS/Makefile.knl as necessary. :ulb,l
|
||||||
Runs should be performed using MCDRAM. :l
|
Runs should be performed using MCDRAM. :l
|
||||||
Add "neigh_modify binsize 3" to the input script for better
|
Add "neigh_modify binsize 3" to the input script for better
|
||||||
performance. :l
|
performance. :l
|
||||||
Add "kspace_modify diff ad" to the input script for better
|
Add "kspace_modify diff ad" to the input script for better
|
||||||
performance. :l
|
performance. :l
|
||||||
export KMP_AFFINITY=none :l
|
export KMP_AFFINITY=none :l
|
||||||
"-pk intel 0 omp 3 lrt yes -sf intel" or "-pk intel 0 omp 1 lrt yes
|
"-pk intel 0 omp 3 lrt yes -sf intel" or "-pk intel 0 omp 1 lrt yes
|
||||||
-sf intel" added to LAMMPS command-line. Choice for best performance
|
-sf intel" added to LAMMPS command-line. Choice for best performance
|
||||||
will depend on the simulation. :l
|
will depend on the simulation. :l
|
||||||
:ule
|
:ule
|
||||||
|
|
||||||
For Intel Xeon Phi coprocessors (Offload):
|
For Intel Xeon Phi coprocessors (Offload):
|
||||||
|
|
||||||
Edit src/MAKE/OPTIONS/Makefile.intel_coprocessor as necessary :ulb,l
|
Edit src/MAKE/OPTIONS/Makefile.intel_coprocessor as necessary :ulb,l
|
||||||
"-pk intel N omp 1" added to command-line where N is the number of
|
"-pk intel N omp 1" added to command-line where N is the number of
|
||||||
coprocessors per node. :l
|
coprocessors per node. :l
|
||||||
:ule
|
:ule
|
||||||
|
|
||||||
@ -111,7 +111,7 @@ coprocessors per node. :l
|
|||||||
[Required hardware/software:]
|
[Required hardware/software:]
|
||||||
|
|
||||||
In order to use offload to coprocessors, an Intel Xeon Phi
|
In order to use offload to coprocessors, an Intel Xeon Phi
|
||||||
coprocessor and an Intel compiler are required. For this, the
|
coprocessor and an Intel compiler are required. For this, the
|
||||||
recommended version of the Intel compiler is 14.0.1.106 or
|
recommended version of the Intel compiler is 14.0.1.106 or
|
||||||
versions 15.0.2.044 and higher.
|
versions 15.0.2.044 and higher.
|
||||||
|
|
||||||
@ -133,7 +133,7 @@ slightly lower.
|
|||||||
|
|
||||||
[Notes about Simultaneous Multithreading:]
|
[Notes about Simultaneous Multithreading:]
|
||||||
|
|
||||||
Modern CPUs often support Simultaneous Multithreading (SMT). On
|
Modern CPUs often support Simultaneous Multithreading (SMT). On
|
||||||
Intel processors, this is called Hyper-Threading (HT) technology.
|
Intel processors, this is called Hyper-Threading (HT) technology.
|
||||||
SMT is hardware support for running multiple threads efficiently on
|
SMT is hardware support for running multiple threads efficiently on
|
||||||
a single core. {Hardware threads} or {logical cores} are often used
|
a single core. {Hardware threads} or {logical cores} are often used
|
||||||
@ -141,8 +141,8 @@ to refer to the number of threads that are supported in hardware.
|
|||||||
For example, the Intel Xeon E5-2697v4 processor is described
|
For example, the Intel Xeon E5-2697v4 processor is described
|
||||||
as having 36 cores and 72 threads. This means that 36 MPI processes
|
as having 36 cores and 72 threads. This means that 36 MPI processes
|
||||||
or OpenMP threads can run simultaneously on separate cores, but that
|
or OpenMP threads can run simultaneously on separate cores, but that
|
||||||
up to 72 MPI processes or OpenMP threads can be running on the CPU
|
up to 72 MPI processes or OpenMP threads can be running on the CPU
|
||||||
without costly operating system context switches.
|
without costly operating system context switches.
|
||||||
|
|
||||||
Molecular dynamics simulations will often run faster when making use
|
Molecular dynamics simulations will often run faster when making use
|
||||||
of SMT. If a thread becomes stalled, for example because it is
|
of SMT. If a thread becomes stalled, for example because it is
|
||||||
@ -150,18 +150,18 @@ waiting on data that has not yet arrived from memory, another thread
|
|||||||
can start running so that the CPU pipeline is still being used
|
can start running so that the CPU pipeline is still being used
|
||||||
efficiently. Although benefits can be seen by launching a MPI task
|
efficiently. Although benefits can be seen by launching a MPI task
|
||||||
for every hardware thread, for multinode simulations, we recommend
|
for every hardware thread, for multinode simulations, we recommend
|
||||||
that OpenMP threads are used for SMT instead, either with the
|
that OpenMP threads are used for SMT instead, either with the
|
||||||
USER-INTEL package, "USER-OMP package"_accelerate_omp.html", or
|
USER-INTEL package, "USER-OMP package"_accelerate_omp.html, or
|
||||||
"KOKKOS package"_accelerate_kokkos.html. In the example above, up
|
"KOKKOS package"_accelerate_kokkos.html. In the example above, up
|
||||||
to 36X speedups can be observed by using all 36 physical cores with
|
to 36X speedups can be observed by using all 36 physical cores with
|
||||||
LAMMPS. By using all 72 hardware threads, an additional 10-30%
|
LAMMPS. By using all 72 hardware threads, an additional 10-30%
|
||||||
performance gain can be achieved.
|
performance gain can be achieved.
|
||||||
|
|
||||||
The BIOS on many platforms allows SMT to be disabled, however, we do
|
The BIOS on many platforms allows SMT to be disabled, however, we do
|
||||||
not recommend this on modern processors as there is little to no
|
not recommend this on modern processors as there is little to no
|
||||||
benefit for any software package in most cases. The operating system
|
benefit for any software package in most cases. The operating system
|
||||||
will report every hardware thread as a separate core allowing one to
|
will report every hardware thread as a separate core allowing one to
|
||||||
determine the number of hardware threads available. On Linux systems,
|
determine the number of hardware threads available. On Linux systems,
|
||||||
this information can normally be obtained with:
|
this information can normally be obtained with:
|
||||||
|
|
||||||
cat /proc/cpuinfo :pre
|
cat /proc/cpuinfo :pre
|
||||||
@ -182,21 +182,21 @@ Makefile.intel_cpu_openpmi # Intel Compiler, OpenMPI, No Offload
|
|||||||
Makefile.intel_coprocessor # Intel Compiler, Intel MPI, Offload :pre
|
Makefile.intel_coprocessor # Intel Compiler, Intel MPI, Offload :pre
|
||||||
|
|
||||||
Makefile.knl is identical to Makefile.intel_cpu_intelmpi except that
|
Makefile.knl is identical to Makefile.intel_cpu_intelmpi except that
|
||||||
it explicitly specifies that vectorization should be for Intel
|
it explicitly specifies that vectorization should be for Intel
|
||||||
Xeon Phi x200 processors making it easier to cross-compile. For
|
Xeon Phi x200 processors making it easier to cross-compile. For
|
||||||
users with recent installations of Intel Parallel Studio, the
|
users with recent installations of Intel Parallel Studio, the
|
||||||
process can be as simple as:
|
process can be as simple as:
|
||||||
|
|
||||||
make yes-user-intel
|
make yes-user-intel
|
||||||
source /opt/intel/parallel_studio_xe_2016.3.067/psxevars.sh
|
source /opt/intel/parallel_studio_xe_2016.3.067/psxevars.sh
|
||||||
# or psxevars.csh for C-shell
|
# or psxevars.csh for C-shell
|
||||||
make intel_cpu_intelmpi :pre
|
make intel_cpu_intelmpi :pre
|
||||||
|
|
||||||
Alternatively, the build can be accomplished with the src/Make.py
|
Alternatively, the build can be accomplished with the src/Make.py
|
||||||
script, described in "Section 2.4"_Section_start.html#start_4 of the
|
script, described in "Section 2.4"_Section_start.html#start_4 of the
|
||||||
manual. Type "Make.py -h" for help. For an example:
|
manual. Type "Make.py -h" for help. For an example:
|
||||||
|
|
||||||
Make.py -v -p intel omp -intel cpu -a file intel_cpu_intelmpi :pre
|
Make.py -v -p intel omp -intel cpu -a file intel_cpu_intelmpi :pre
|
||||||
|
|
||||||
Note that if you build with support for a Phi coprocessor, the same
|
Note that if you build with support for a Phi coprocessor, the same
|
||||||
binary can be used on nodes with or without coprocessors installed.
|
binary can be used on nodes with or without coprocessors installed.
|
||||||
@ -205,26 +205,26 @@ without offload support will produce a smaller binary.
|
|||||||
|
|
||||||
The general requirements for Makefiles with the USER-INTEL package
|
The general requirements for Makefiles with the USER-INTEL package
|
||||||
are as follows. "-DLAMMPS_MEMALIGN=64" is required for CCFLAGS. When
|
are as follows. "-DLAMMPS_MEMALIGN=64" is required for CCFLAGS. When
|
||||||
using Intel compilers, "-restrict" is required and "-qopenmp" is
|
using Intel compilers, "-restrict" is required and "-qopenmp" is
|
||||||
highly recommended for CCFLAGS and LINKFLAGS. LIB should include
|
highly recommended for CCFLAGS and LINKFLAGS. LIB should include
|
||||||
"-ltbbmalloc". For builds supporting offload, "-DLMP_INTEL_OFFLOAD"
|
"-ltbbmalloc". For builds supporting offload, "-DLMP_INTEL_OFFLOAD"
|
||||||
is required for CCFLAGS and "-qoffload" is required for LINKFLAGS.
|
is required for CCFLAGS and "-qoffload" is required for LINKFLAGS.
|
||||||
Other recommended CCFLAG options for best performance are
|
Other recommended CCFLAG options for best performance are
|
||||||
"-O2 -fno-alias -ansi-alias -qoverride-limits fp-model fast=2
|
"-O2 -fno-alias -ansi-alias -qoverride-limits fp-model fast=2
|
||||||
-no-prec-div". The Make.py command will add all of these
|
-no-prec-div". The Make.py command will add all of these
|
||||||
automatically.
|
automatically.
|
||||||
|
|
||||||
NOTE: The vectorization and math capabilities can differ depending on
|
NOTE: The vectorization and math capabilities can differ depending on
|
||||||
the CPU. For Intel compilers, the "-x" flag specifies the type of
|
the CPU. For Intel compilers, the "-x" flag specifies the type of
|
||||||
processor for which to optimize. "-xHost" specifies that the compiler
|
processor for which to optimize. "-xHost" specifies that the compiler
|
||||||
should build for the processor used for compiling. For Intel Xeon Phi
|
should build for the processor used for compiling. For Intel Xeon Phi
|
||||||
x200 series processors, this option is "-xMIC-AVX512". For fourth
|
x200 series processors, this option is "-xMIC-AVX512". For fourth
|
||||||
generation Intel Xeon (v4/Broadwell) processors, "-xCORE-AVX2" should
|
generation Intel Xeon (v4/Broadwell) processors, "-xCORE-AVX2" should
|
||||||
be used. For older Intel Xeon processors, "-xAVX" will perform best
|
be used. For older Intel Xeon processors, "-xAVX" will perform best
|
||||||
in general for the different simulations in LAMMPS. The default
|
in general for the different simulations in LAMMPS. The default
|
||||||
in most of the example Makefiles is to use "-xHost", however this
|
in most of the example Makefiles is to use "-xHost", however this
|
||||||
should not be used when cross-compiling.
|
should not be used when cross-compiling.
|
||||||
|
|
||||||
[Running LAMMPS with the USER-INTEL package:]
|
[Running LAMMPS with the USER-INTEL package:]
|
||||||
|
|
||||||
Running LAMMPS with the USER-INTEL package is similar to normal use
|
Running LAMMPS with the USER-INTEL package is similar to normal use
|
||||||
@ -232,7 +232,7 @@ with the exceptions that one should 1) specify that LAMMPS should use
|
|||||||
the USER-INTEL package, 2) specify the number of OpenMP threads, and
|
the USER-INTEL package, 2) specify the number of OpenMP threads, and
|
||||||
3) optionally specify the specific LAMMPS styles that should use the
|
3) optionally specify the specific LAMMPS styles that should use the
|
||||||
USER-INTEL package. 1) and 2) can be performed from the command-line
|
USER-INTEL package. 1) and 2) can be performed from the command-line
|
||||||
or by editing the input script. 3) requires editing the input script.
|
or by editing the input script. 3) requires editing the input script.
|
||||||
Advanced performance tuning options are also described below to get
|
Advanced performance tuning options are also described below to get
|
||||||
the best performance.
|
the best performance.
|
||||||
|
|
||||||
@ -241,14 +241,14 @@ coprocessor), best performance is normally obtained by using 1 MPI
|
|||||||
task per physical core and additional OpenMP threads with SMT. For
|
task per physical core and additional OpenMP threads with SMT. For
|
||||||
Intel Xeon processors, 2 OpenMP threads should be used for SMT.
|
Intel Xeon processors, 2 OpenMP threads should be used for SMT.
|
||||||
For Intel Xeon Phi CPUs, 2 or 4 OpenMP threads should be used
|
For Intel Xeon Phi CPUs, 2 or 4 OpenMP threads should be used
|
||||||
(best choice depends on the simulation). In cases where the user
|
(best choice depends on the simulation). In cases where the user
|
||||||
specifies that LRT mode is used (described below), 1 or 3 OpenMP
|
specifies that LRT mode is used (described below), 1 or 3 OpenMP
|
||||||
threads should be used. For multi-node runs, using 1 MPI task per
|
threads should be used. For multi-node runs, using 1 MPI task per
|
||||||
physical core will often perform best, however, depending on the
|
physical core will often perform best, however, depending on the
|
||||||
machine and scale, users might get better performance by decreasing
|
machine and scale, users might get better performance by decreasing
|
||||||
the number of MPI tasks and using more OpenMP threads. For
|
the number of MPI tasks and using more OpenMP threads. For
|
||||||
performance, the product of the number of MPI tasks and OpenMP
|
performance, the product of the number of MPI tasks and OpenMP
|
||||||
threads should not exceed the number of available hardware threads in
|
threads should not exceed the number of available hardware threads in
|
||||||
almost all cases.
|
almost all cases.
|
||||||
|
|
||||||
NOTE: Setting core affinity is often used to pin MPI tasks and OpenMP
|
NOTE: Setting core affinity is often used to pin MPI tasks and OpenMP
|
||||||
@ -257,21 +257,21 @@ uniform. Unless disabled at build time, affinity for MPI tasks and
|
|||||||
OpenMP threads on the host (CPU) will be set by default on the host
|
OpenMP threads on the host (CPU) will be set by default on the host
|
||||||
{when using offload to a coprocessor}. In this case, it is unnecessary
|
{when using offload to a coprocessor}. In this case, it is unnecessary
|
||||||
to use other methods to control affinity (e.g. taskset, numactl,
|
to use other methods to control affinity (e.g. taskset, numactl,
|
||||||
I_MPI_PIN_DOMAIN, etc.). This can be disabled with the {no_affinity}
|
I_MPI_PIN_DOMAIN, etc.). This can be disabled with the {no_affinity}
|
||||||
option to the "package intel"_package.html command or by disabling the
|
option to the "package intel"_package.html command or by disabling the
|
||||||
option at build time (by adding -DINTEL_OFFLOAD_NOAFFINITY to the
|
option at build time (by adding -DINTEL_OFFLOAD_NOAFFINITY to the
|
||||||
CCFLAGS line of your Makefile). Disabling this option is not
|
CCFLAGS line of your Makefile). Disabling this option is not
|
||||||
recommended, especially when running on a machine with Intel
|
recommended, especially when running on a machine with Intel
|
||||||
Hyper-Threading technology disabled.
|
Hyper-Threading technology disabled.
|
||||||
|
|
||||||
[Run with the USER-INTEL package from the command line:]
|
[Run with the USER-INTEL package from the command line:]
|
||||||
|
|
||||||
To enable USER-INTEL optimizations for all available styles used in
|
To enable USER-INTEL optimizations for all available styles used in
|
||||||
the input script, the "-sf intel"
|
the input script, the "-sf intel"
|
||||||
"command-line switch"_Section_start.html#start_7 can be used without
|
"command-line switch"_Section_start.html#start_7 can be used without
|
||||||
any requirement for editing the input script. This switch will
|
any requirement for editing the input script. This switch will
|
||||||
automatically append "intel" to styles that support it. It also
|
automatically append "intel" to styles that support it. It also
|
||||||
invokes a default command: "package intel 1"_package.html. This
|
invokes a default command: "package intel 1"_package.html. This
|
||||||
package command is used to set options for the USER-INTEL package.
|
package command is used to set options for the USER-INTEL package.
|
||||||
The default package command will specify that USER-INTEL calculations
|
The default package command will specify that USER-INTEL calculations
|
||||||
are performed in mixed precision, that the number of OpenMP threads
|
are performed in mixed precision, that the number of OpenMP threads
|
||||||
@ -281,16 +281,16 @@ support, that 1 coprocessor per node will be used with automatic
|
|||||||
balancing of work between the CPU and the coprocessor.
|
balancing of work between the CPU and the coprocessor.
|
||||||
|
|
||||||
You can specify different options for the USER-INTEL package by using
|
You can specify different options for the USER-INTEL package by using
|
||||||
the "-pk intel Nphi" "command-line switch"_Section_start.html#start_7
|
the "-pk intel Nphi" "command-line switch"_Section_start.html#start_7
|
||||||
with keyword/value pairs as specified in the documentation. Here,
|
with keyword/value pairs as specified in the documentation. Here,
|
||||||
Nphi = # of Xeon Phi coprocessors/node (ignored without offload
|
Nphi = # of Xeon Phi coprocessors/node (ignored without offload
|
||||||
support). Common options to the USER-INTEL package include {omp} to
|
support). Common options to the USER-INTEL package include {omp} to
|
||||||
override any OMP_NUM_THREADS setting and specify the number of OpenMP
|
override any OMP_NUM_THREADS setting and specify the number of OpenMP
|
||||||
threads, {mode} to set the floating-point precision mode, and
|
threads, {mode} to set the floating-point precision mode, and
|
||||||
{lrt} to enable Long-Range Thread mode as described below. See the
|
{lrt} to enable Long-Range Thread mode as described below. See the
|
||||||
"package intel"_package.html command for details, including the
|
"package intel"_package.html command for details, including the
|
||||||
default values used for all its options if not specified, and how to
|
default values used for all its options if not specified, and how to
|
||||||
set the number of OpenMP threads via the OMP_NUM_THREADS environment
|
set the number of OpenMP threads via the OMP_NUM_THREADS environment
|
||||||
variable if desired.
|
variable if desired.
|
||||||
|
|
||||||
Examples (see documentation for your MPI/Machine for differences in
|
Examples (see documentation for your MPI/Machine for differences in
|
||||||
@ -303,7 +303,7 @@ mpirun -np 72 -ppn 36 lmp_machine -sf intel -in in.script -pk intel 0 omp 2 mode
|
|||||||
|
|
||||||
As an alternative to adding command-line arguments, the input script
|
As an alternative to adding command-line arguments, the input script
|
||||||
can be edited to enable the USER-INTEL package. This requires adding
|
can be edited to enable the USER-INTEL package. This requires adding
|
||||||
the "package intel"_package.html command to the top of the input
|
the "package intel"_package.html command to the top of the input
|
||||||
script. For the second example above, this would be:
|
script. For the second example above, this would be:
|
||||||
|
|
||||||
package intel 0 omp 2 mode double :pre
|
package intel 0 omp 2 mode double :pre
|
||||||
@ -314,46 +314,46 @@ add an "intel" suffix to the individual style, e.g.:
|
|||||||
pair_style lj/cut/intel 2.5 :pre
|
pair_style lj/cut/intel 2.5 :pre
|
||||||
|
|
||||||
Alternatively, the "suffix intel"_suffix.html command can be added to
|
Alternatively, the "suffix intel"_suffix.html command can be added to
|
||||||
the input script to enable USER-INTEL styles for the commands that
|
the input script to enable USER-INTEL styles for the commands that
|
||||||
follow in the input script.
|
follow in the input script.
|
||||||
|
|
||||||
[Tuning for Performance:]
|
[Tuning for Performance:]
|
||||||
|
|
||||||
NOTE: The USER-INTEL package will perform better with modifications
|
NOTE: The USER-INTEL package will perform better with modifications
|
||||||
to the input script when "PPPM"_kspace_style.html is used:
|
to the input script when "PPPM"_kspace_style.html is used:
|
||||||
"kspace_modify diff ad"_kspace_modify.html and "neigh_modify binsize
|
"kspace_modify diff ad"_kspace_modify.html and "neigh_modify binsize
|
||||||
3"_neigh_modify.html should be added to the input script.
|
3"_neigh_modify.html should be added to the input script.
|
||||||
|
|
||||||
Long-Range Thread (LRT) mode is an option to the "package
|
Long-Range Thread (LRT) mode is an option to the "package
|
||||||
intel"_package.html command that can improve performance when using
|
intel"_package.html command that can improve performance when using
|
||||||
"PPPM"_kspace_style.html for long-range electrostatics on processors
|
"PPPM"_kspace_style.html for long-range electrostatics on processors
|
||||||
with SMT. It generates an extra pthread for each MPI task. The thread
|
with SMT. It generates an extra pthread for each MPI task. The thread
|
||||||
is dedicated to performing some of the PPPM calculations and MPI
|
is dedicated to performing some of the PPPM calculations and MPI
|
||||||
communications. On Intel Xeon Phi x200 series CPUs, this will likely
|
communications. On Intel Xeon Phi x200 series CPUs, this will likely
|
||||||
always improve performance, even on a single node. On Intel Xeon
|
always improve performance, even on a single node. On Intel Xeon
|
||||||
processors, using this mode might result in better performance when
|
processors, using this mode might result in better performance when
|
||||||
using multiple nodes, depending on the machine. To use this mode,
|
using multiple nodes, depending on the machine. To use this mode,
|
||||||
specify that the number of OpenMP threads is one less than would
|
specify that the number of OpenMP threads is one less than would
|
||||||
normally be used for the run and add the "lrt yes" option to the "-pk"
|
normally be used for the run and add the "lrt yes" option to the "-pk"
|
||||||
command-line suffix or "package intel" command. For example, if a run
|
command-line suffix or "package intel" command. For example, if a run
|
||||||
would normally perform best with "-pk intel 0 omp 4", instead use
|
would normally perform best with "-pk intel 0 omp 4", instead use
|
||||||
"-pk intel 0 omp 3 lrt yes". When using LRT, you should set the
|
"-pk intel 0 omp 3 lrt yes". When using LRT, you should set the
|
||||||
environment variable "KMP_AFFINITY=none". LRT mode is not supported
|
environment variable "KMP_AFFINITY=none". LRT mode is not supported
|
||||||
when using offload.
|
when using offload.
|
||||||
|
|
||||||
Not all styles are supported in the USER-INTEL package. You can mix
|
Not all styles are supported in the USER-INTEL package. You can mix
|
||||||
the USER-INTEL package with styles from the "OPT"_accelerate_opt.html
|
the USER-INTEL package with styles from the "OPT"_accelerate_opt.html
|
||||||
package or the "USER-OMP package"_accelerate_omp.html". Of course,
|
package or the "USER-OMP package"_accelerate_omp.html. Of course,
|
||||||
this requires that these packages were installed at build time. This
|
this requires that these packages were installed at build time. This
|
||||||
can performed automatically by using "-sf hybrid intel opt" or
|
can performed automatically by using "-sf hybrid intel opt" or
|
||||||
"-sf hybrid intel omp" command-line options. Alternatively, the "opt"
|
"-sf hybrid intel omp" command-line options. Alternatively, the "opt"
|
||||||
and "omp" suffixes can be appended manually in the input script. For
|
and "omp" suffixes can be appended manually in the input script. For
|
||||||
the latter, the "package omp"_package.html command must be in the
|
the latter, the "package omp"_package.html command must be in the
|
||||||
input script or the "-pk omp Nt" "command-line
|
input script or the "-pk omp Nt" "command-line
|
||||||
switch"_Section_start.html#start_7 must be used where Nt is the
|
switch"_Section_start.html#start_7 must be used where Nt is the
|
||||||
number of OpenMP threads. The number of OpenMP threads should not be
|
number of OpenMP threads. The number of OpenMP threads should not be
|
||||||
set differently for the different packages. Note that the "suffix
|
set differently for the different packages. Note that the "suffix
|
||||||
hybrid intel omp"_suffix.html command can also be used within the
|
hybrid intel omp"_suffix.html command can also be used within the
|
||||||
input script to automatically append the "omp" suffix to styles when
|
input script to automatically append the "omp" suffix to styles when
|
||||||
USER-INTEL styles are not available.
|
USER-INTEL styles are not available.
|
||||||
|
|
||||||
@ -374,33 +374,33 @@ that MPI runs are performed in MCDRAM.
|
|||||||
|
|
||||||
[Tuning for Offload Performance:]
|
[Tuning for Offload Performance:]
|
||||||
|
|
||||||
The default settings for offload should give good performance.
|
The default settings for offload should give good performance.
|
||||||
|
|
||||||
When using LAMMPS with offload to Intel coprocessors, best performance
|
When using LAMMPS with offload to Intel coprocessors, best performance
|
||||||
will typically be achieved with concurrent calculations performed on
|
will typically be achieved with concurrent calculations performed on
|
||||||
both the CPU and the coprocessor. This is achieved by offloading only
|
both the CPU and the coprocessor. This is achieved by offloading only
|
||||||
a fraction of the neighbor and pair computations to the coprocessor or
|
a fraction of the neighbor and pair computations to the coprocessor or
|
||||||
using "hybrid"_pair_hybrid.html pair styles where only one style uses
|
using "hybrid"_pair_hybrid.html pair styles where only one style uses
|
||||||
the "intel" suffix. For simulations with long-range electrostatics or
|
the "intel" suffix. For simulations with long-range electrostatics or
|
||||||
bond, angle, dihedral, improper calculations, computation and data
|
bond, angle, dihedral, improper calculations, computation and data
|
||||||
transfer to the coprocessor will run concurrently with computations
|
transfer to the coprocessor will run concurrently with computations
|
||||||
and MPI communications for these calculations on the host CPU. This
|
and MPI communications for these calculations on the host CPU. This
|
||||||
is illustrated in the figure below for the rhodopsin protein benchmark
|
is illustrated in the figure below for the rhodopsin protein benchmark
|
||||||
running on E5-2697v2 processors with a Intel Xeon Phi 7120p
|
running on E5-2697v2 processors with a Intel Xeon Phi 7120p
|
||||||
coprocessor. In this plot, the vertical access is time and routines
|
coprocessor. In this plot, the vertical access is time and routines
|
||||||
running at the same time are running concurrently on both the host and
|
running at the same time are running concurrently on both the host and
|
||||||
the coprocessor.
|
the coprocessor.
|
||||||
|
|
||||||
:c,image(JPG/offload_knc.png)
|
:c,image(JPG/offload_knc.png)
|
||||||
|
|
||||||
The fraction of the offloaded work is controlled by the {balance}
|
The fraction of the offloaded work is controlled by the {balance}
|
||||||
keyword in the "package intel"_package.html command. A balance of 0
|
keyword in the "package intel"_package.html command. A balance of 0
|
||||||
runs all calculations on the CPU. A balance of 1 runs all
|
runs all calculations on the CPU. A balance of 1 runs all
|
||||||
supported calculations on the coprocessor. A balance of 0.5 runs half
|
supported calculations on the coprocessor. A balance of 0.5 runs half
|
||||||
of the calculations on the coprocessor. Setting the balance to -1
|
of the calculations on the coprocessor. Setting the balance to -1
|
||||||
(the default) will enable dynamic load balancing that continously
|
(the default) will enable dynamic load balancing that continously
|
||||||
adjusts the fraction of offloaded work throughout the simulation.
|
adjusts the fraction of offloaded work throughout the simulation.
|
||||||
Because data transfer cannot be timed, this option typically produces
|
Because data transfer cannot be timed, this option typically produces
|
||||||
results within 5 to 10 percent of the optimal fixed balance.
|
results within 5 to 10 percent of the optimal fixed balance.
|
||||||
|
|
||||||
If running short benchmark runs with dynamic load balancing, adding a
|
If running short benchmark runs with dynamic load balancing, adding a
|
||||||
@ -418,15 +418,15 @@ with 60 cores available for offload and 4 hardware threads per core
|
|||||||
each MPI task to use a subset of 10 threads on the coprocessor. Fine
|
each MPI task to use a subset of 10 threads on the coprocessor. Fine
|
||||||
tuning of the number of threads to use per MPI task or the number of
|
tuning of the number of threads to use per MPI task or the number of
|
||||||
threads to use per core can be accomplished with keyword settings of
|
threads to use per core can be accomplished with keyword settings of
|
||||||
the "package intel"_package.html command.
|
the "package intel"_package.html command.
|
||||||
|
|
||||||
The USER-INTEL package has two modes for deciding which atoms will be
|
The USER-INTEL package has two modes for deciding which atoms will be
|
||||||
handled by the coprocessor. This choice is controlled with the {ghost}
|
handled by the coprocessor. This choice is controlled with the {ghost}
|
||||||
keyword of the "package intel"_package.html command. When set to 0,
|
keyword of the "package intel"_package.html command. When set to 0,
|
||||||
ghost atoms (atoms at the borders between MPI tasks) are not offloaded
|
ghost atoms (atoms at the borders between MPI tasks) are not offloaded
|
||||||
to the card. This allows for overlap of MPI communication of forces
|
to the card. This allows for overlap of MPI communication of forces
|
||||||
with computation on the coprocessor when the "newton"_newton.html
|
with computation on the coprocessor when the "newton"_newton.html
|
||||||
setting is "on". The default is dependent on the style being used,
|
setting is "on". The default is dependent on the style being used,
|
||||||
however, better performance may be achieved by setting this option
|
however, better performance may be achieved by setting this option
|
||||||
explictly.
|
explictly.
|
||||||
|
|
||||||
@ -442,10 +442,10 @@ mode is being used and indicating the number of coprocessor threads
|
|||||||
per MPI task. Additionally, an offload timing summary is printed at
|
per MPI task. Additionally, an offload timing summary is printed at
|
||||||
the end of each run. When offloading, the frequency for "atom
|
the end of each run. When offloading, the frequency for "atom
|
||||||
sorting"_atom_modify.html is changed to 1 so that the per-atom data is
|
sorting"_atom_modify.html is changed to 1 so that the per-atom data is
|
||||||
effectively sorted at every rebuild of the neighbor lists. All the
|
effectively sorted at every rebuild of the neighbor lists. All the
|
||||||
available coprocessor threads on each Phi will be divided among MPI
|
available coprocessor threads on each Phi will be divided among MPI
|
||||||
tasks, unless the {tptask} option of the "-pk intel" "command-line
|
tasks, unless the {tptask} option of the "-pk intel" "command-line
|
||||||
switch"_Section_start.html#start_7 is used to limit the coprocessor
|
switch"_Section_start.html#start_7 is used to limit the coprocessor
|
||||||
threads per MPI task.
|
threads per MPI task.
|
||||||
|
|
||||||
[Restrictions:]
|
[Restrictions:]
|
||||||
|
|||||||
@ -65,7 +65,7 @@ Make.py -v -p kokkos -kokkos omp -o mpi -a file mpi # or one-line build via Ma
|
|||||||
|
|
||||||
mpirun -np 16 lmp_mpi -k on -sf kk -in in.lj # 1 node, 16 MPI tasks/node, no threads
|
mpirun -np 16 lmp_mpi -k on -sf kk -in in.lj # 1 node, 16 MPI tasks/node, no threads
|
||||||
mpirun -np 2 -ppn 1 lmp_mpi -k on t 16 -sf kk -in in.lj # 2 nodes, 1 MPI task/node, 16 threads/task
|
mpirun -np 2 -ppn 1 lmp_mpi -k on t 16 -sf kk -in in.lj # 2 nodes, 1 MPI task/node, 16 threads/task
|
||||||
mpirun -np 2 lmp_mpi -k on t 8 -sf kk -in in.lj # 1 node, 2 MPI tasks/node, 8 threads/task
|
mpirun -np 2 lmp_mpi -k on t 8 -sf kk -in in.lj # 1 node, 2 MPI tasks/node, 8 threads/task
|
||||||
mpirun -np 32 -ppn 4 lmp_mpi -k on t 4 -sf kk -in in.lj # 8 nodes, 4 MPI tasks/node, 4 threads/task :pre
|
mpirun -np 32 -ppn 4 lmp_mpi -k on t 4 -sf kk -in in.lj # 8 nodes, 4 MPI tasks/node, 4 threads/task :pre
|
||||||
|
|
||||||
specify variables and settings in your Makefile.machine that enable OpenMP, GPU, or Phi support
|
specify variables and settings in your Makefile.machine that enable OpenMP, GPU, or Phi support
|
||||||
@ -110,14 +110,14 @@ mpirun -np 96 -ppn 12 lmp_g++ -k on t 20 -sf kk -in in.lj # ditto on 8 Phis :p
|
|||||||
[Required hardware/software:]
|
[Required hardware/software:]
|
||||||
|
|
||||||
Kokkos support within LAMMPS must be built with a C++11 compatible
|
Kokkos support within LAMMPS must be built with a C++11 compatible
|
||||||
compiler. If using gcc, version 4.8.1 or later is required.
|
compiler. If using gcc, version 4.7.2 or later is required.
|
||||||
|
|
||||||
To build with Kokkos support for CPUs, your compiler must support the
|
To build with Kokkos support for CPUs, your compiler must support the
|
||||||
OpenMP interface. You should have one or more multi-core CPUs so that
|
OpenMP interface. You should have one or more multi-core CPUs so that
|
||||||
multiple threads can be launched by each MPI task running on a CPU.
|
multiple threads can be launched by each MPI task running on a CPU.
|
||||||
|
|
||||||
To build with Kokkos support for NVIDIA GPUs, NVIDIA Cuda software
|
To build with Kokkos support for NVIDIA GPUs, NVIDIA Cuda software
|
||||||
version 6.5 or later must be installed on your system. See the
|
version 7.5 or later must be installed on your system. See the
|
||||||
discussion for the "GPU"_accelerate_gpu.html package for details of
|
discussion for the "GPU"_accelerate_gpu.html package for details of
|
||||||
how to check and do this.
|
how to check and do this.
|
||||||
|
|
||||||
@ -178,7 +178,7 @@ make kokkos_cuda_mpich :pre
|
|||||||
|
|
||||||
These examples set the KOKKOS-specific OMP, MIC, CUDA variables on the
|
These examples set the KOKKOS-specific OMP, MIC, CUDA variables on the
|
||||||
make command line which requires a GNU-compatible make command. Try
|
make command line which requires a GNU-compatible make command. Try
|
||||||
"gmake" if your system's standard make complains.
|
"gmake" if your system's standard make complains.
|
||||||
|
|
||||||
NOTE: If you build using make line variables and re-build LAMMPS twice
|
NOTE: If you build using make line variables and re-build LAMMPS twice
|
||||||
with different KOKKOS options and the *same* target, e.g. g++ in the
|
with different KOKKOS options and the *same* target, e.g. g++ in the
|
||||||
@ -394,7 +394,7 @@ additional parallelism (beyond MPI) will be invoked on the host
|
|||||||
CPU(s).
|
CPU(s).
|
||||||
|
|
||||||
You can compare the performance running in different modes:
|
You can compare the performance running in different modes:
|
||||||
|
|
||||||
run with 1 MPI task/node and N threads/task
|
run with 1 MPI task/node and N threads/task
|
||||||
run with N MPI tasks/node and 1 thread/task
|
run with N MPI tasks/node and 1 thread/task
|
||||||
run with settings in between these extremes :ul
|
run with settings in between these extremes :ul
|
||||||
@ -427,7 +427,7 @@ e.g. src/MAKE/Makefile.cuda, is correct for your GPU hardware/software
|
|||||||
details).
|
details).
|
||||||
|
|
||||||
The -np setting of the mpirun command should set the number of MPI
|
The -np setting of the mpirun command should set the number of MPI
|
||||||
tasks/node to be equal to the # of physical GPUs on the node.
|
tasks/node to be equal to the # of physical GPUs on the node.
|
||||||
|
|
||||||
Use the "-k" "command-line switch"_Section_commands.html#start_7 to
|
Use the "-k" "command-line switch"_Section_commands.html#start_7 to
|
||||||
specify the number of GPUs per node, and the number of threads per MPI
|
specify the number of GPUs per node, and the number of threads per MPI
|
||||||
|
|||||||
@ -96,7 +96,7 @@ variable.
|
|||||||
|
|
||||||
Depending on which styles are accelerated, you should look for a
|
Depending on which styles are accelerated, you should look for a
|
||||||
reduction in the "Pair time", "Bond time", "KSpace time", and "Loop
|
reduction in the "Pair time", "Bond time", "KSpace time", and "Loop
|
||||||
time" values printed at the end of a run.
|
time" values printed at the end of a run.
|
||||||
|
|
||||||
You may see a small performance advantage (5 to 20%) when running a
|
You may see a small performance advantage (5 to 20%) when running a
|
||||||
USER-OMP style (in serial or parallel) with a single thread per MPI
|
USER-OMP style (in serial or parallel) with a single thread per MPI
|
||||||
|
|||||||
@ -74,7 +74,7 @@ more instructions on how to use the accelerated styles effectively.
|
|||||||
[Restrictions:]
|
[Restrictions:]
|
||||||
|
|
||||||
This angle style can only be used if LAMMPS was built with the
|
This angle style can only be used if LAMMPS was built with the
|
||||||
MOLECULE package (which it is by default). See the "Making
|
MOLECULE package. See the "Making
|
||||||
LAMMPS"_Section_start.html#start_3 section for more info on packages.
|
LAMMPS"_Section_start.html#start_3 section for more info on packages.
|
||||||
|
|
||||||
[Related commands:]
|
[Related commands:]
|
||||||
|
|||||||
@ -61,7 +61,7 @@ more instructions on how to use the accelerated styles effectively.
|
|||||||
[Restrictions:]
|
[Restrictions:]
|
||||||
|
|
||||||
This angle style can only be used if LAMMPS was built with the
|
This angle style can only be used if LAMMPS was built with the
|
||||||
MOLECULE package (which it is by default). See the "Making
|
MOLECULE package. See the "Making
|
||||||
LAMMPS"_Section_start.html#start_3 section for more info on packages.
|
LAMMPS"_Section_start.html#start_3 section for more info on packages.
|
||||||
|
|
||||||
[Related commands:]
|
[Related commands:]
|
||||||
|
|||||||
@ -66,7 +66,7 @@ more instructions on how to use the accelerated styles effectively.
|
|||||||
[Restrictions:]
|
[Restrictions:]
|
||||||
|
|
||||||
This angle style can only be used if LAMMPS was built with the
|
This angle style can only be used if LAMMPS was built with the
|
||||||
MOLECULE package (which it is by default). See the "Making
|
MOLECULE package. See the "Making
|
||||||
LAMMPS"_Section_start.html#start_3 section for more info on packages.
|
LAMMPS"_Section_start.html#start_3 section for more info on packages.
|
||||||
|
|
||||||
[Related commands:]
|
[Related commands:]
|
||||||
|
|||||||
@ -74,7 +74,7 @@ more instructions on how to use the accelerated styles effectively.
|
|||||||
[Restrictions:]
|
[Restrictions:]
|
||||||
|
|
||||||
This angle style can only be used if LAMMPS was built with the
|
This angle style can only be used if LAMMPS was built with the
|
||||||
MOLECULE package (which it is by default). See the "Making
|
MOLECULE package. See the "Making
|
||||||
LAMMPS"_Section_start.html#start_3 section for more info on packages.
|
LAMMPS"_Section_start.html#start_3 section for more info on packages.
|
||||||
|
|
||||||
[Related commands:]
|
[Related commands:]
|
||||||
|
|||||||
@ -66,7 +66,7 @@ more instructions on how to use the accelerated styles effectively.
|
|||||||
[Restrictions:]
|
[Restrictions:]
|
||||||
|
|
||||||
This angle style can only be used if LAMMPS was built with the
|
This angle style can only be used if LAMMPS was built with the
|
||||||
MOLECULE package (which it is by default). See the "Making
|
MOLECULE package. See the "Making
|
||||||
LAMMPS"_Section_start.html#start_3 section for more info on packages.
|
LAMMPS"_Section_start.html#start_3 section for more info on packages.
|
||||||
|
|
||||||
[Related commands:]
|
[Related commands:]
|
||||||
|
|||||||
@ -21,11 +21,11 @@ angle_coeff 6 2.1 180.0 :pre
|
|||||||
[Description:]
|
[Description:]
|
||||||
|
|
||||||
The {dipole} angle style is used to control the orientation of a dipolar
|
The {dipole} angle style is used to control the orientation of a dipolar
|
||||||
atom within a molecule "(Orsi)"_#Orsi. Specifically, the {dipole} angle
|
atom within a molecule "(Orsi)"_#Orsi. Specifically, the {dipole} angle
|
||||||
style restrains the orientation of a point dipole mu_j (embedded in atom
|
style restrains the orientation of a point dipole mu_j (embedded in atom
|
||||||
'j') with respect to a reference (bond) vector r_ij = r_i - r_j, where 'i'
|
'j') with respect to a reference (bond) vector r_ij = r_i - r_j, where 'i'
|
||||||
is another atom of the same molecule (typically, 'i' and 'j' are also
|
is another atom of the same molecule (typically, 'i' and 'j' are also
|
||||||
covalently bonded).
|
covalently bonded).
|
||||||
|
|
||||||
It is convenient to define an angle gamma between the 'free' vector mu_j
|
It is convenient to define an angle gamma between the 'free' vector mu_j
|
||||||
and the reference (bond) vector r_ij:
|
and the reference (bond) vector r_ij:
|
||||||
@ -37,21 +37,21 @@ The {dipole} angle style uses the potential:
|
|||||||
:c,image(Eqs/angle_dipole_potential.jpg)
|
:c,image(Eqs/angle_dipole_potential.jpg)
|
||||||
|
|
||||||
where K is a rigidity constant and gamma0 is an equilibrium (reference)
|
where K is a rigidity constant and gamma0 is an equilibrium (reference)
|
||||||
angle.
|
angle.
|
||||||
|
|
||||||
The torque on the dipole can be obtained by differentiating the
|
The torque on the dipole can be obtained by differentiating the
|
||||||
potential using the 'chain rule' as in appendix C.3 of
|
potential using the 'chain rule' as in appendix C.3 of
|
||||||
"(Allen)"_#Allen:
|
"(Allen)"_#Allen:
|
||||||
|
|
||||||
:c,image(Eqs/angle_dipole_torque.jpg)
|
:c,image(Eqs/angle_dipole_torque.jpg)
|
||||||
|
|
||||||
Example: if gamma0 is set to 0 degrees, the torque generated by
|
Example: if gamma0 is set to 0 degrees, the torque generated by
|
||||||
the potential will tend to align the dipole along the reference
|
the potential will tend to align the dipole along the reference
|
||||||
direction defined by the (bond) vector r_ij (in other words, mu_j is
|
direction defined by the (bond) vector r_ij (in other words, mu_j is
|
||||||
restrained to point towards atom 'i').
|
restrained to point towards atom 'i').
|
||||||
|
|
||||||
The dipolar torque T_j must be counterbalanced in order to conserve
|
The dipolar torque T_j must be counterbalanced in order to conserve
|
||||||
the local angular momentum. This is achieved via an additional force
|
the local angular momentum. This is achieved via an additional force
|
||||||
couple generating a torque equivalent to the opposite of T_j:
|
couple generating a torque equivalent to the opposite of T_j:
|
||||||
|
|
||||||
:c,image(Eqs/angle_dipole_couple.jpg)
|
:c,image(Eqs/angle_dipole_couple.jpg)
|
||||||
@ -118,7 +118,7 @@ This angle style should not be used with SHAKE.
|
|||||||
:line
|
:line
|
||||||
|
|
||||||
:link(Orsi)
|
:link(Orsi)
|
||||||
[(Orsi)] Orsi & Essex, The ELBA force field for coarse-grain modeling of
|
[(Orsi)] Orsi & Essex, The ELBA force field for coarse-grain modeling of
|
||||||
lipid membranes, PloS ONE 6(12): e28637, 2011.
|
lipid membranes, PloS ONE 6(12): e28637, 2011.
|
||||||
|
|
||||||
:link(Allen)
|
:link(Allen)
|
||||||
|
|||||||
@ -62,7 +62,7 @@ more instructions on how to use the accelerated styles effectively.
|
|||||||
[Restrictions:]
|
[Restrictions:]
|
||||||
|
|
||||||
This angle style can only be used if LAMMPS was built with the
|
This angle style can only be used if LAMMPS was built with the
|
||||||
USER_MISC package. See the "Making LAMMPS"_Section_start.html#start_3
|
USER_MISC package. See the "Making LAMMPS"_Section_start.html#start_3
|
||||||
section for more info on packages.
|
section for more info on packages.
|
||||||
|
|
||||||
[Related commands:]
|
[Related commands:]
|
||||||
|
|||||||
@ -61,7 +61,7 @@ more instructions on how to use the accelerated styles effectively.
|
|||||||
[Restrictions:]
|
[Restrictions:]
|
||||||
|
|
||||||
This angle style can only be used if LAMMPS was built with the
|
This angle style can only be used if LAMMPS was built with the
|
||||||
USER_MISC package. See the "Making LAMMPS"_Section_start.html#start_3
|
USER_MISC package. See the "Making LAMMPS"_Section_start.html#start_3
|
||||||
section for more info on packages.
|
section for more info on packages.
|
||||||
|
|
||||||
[Related commands:]
|
[Related commands:]
|
||||||
|
|||||||
@ -65,11 +65,11 @@ more instructions on how to use the accelerated styles effectively.
|
|||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
[Restrictions:] none
|
[Restrictions:]
|
||||||
|
|
||||||
This angle style can only be used if LAMMPS was built with the
|
This angle style can only be used if LAMMPS was built with the
|
||||||
MOLECULE package (which it is by default). See the "Making
|
MOLECULE package. See the "Making LAMMPS"_Section_start.html#start_3
|
||||||
LAMMPS"_Section_start.html#start_3 section for more info on packages.
|
section for more info on packages.
|
||||||
|
|
||||||
[Related commands:]
|
[Related commands:]
|
||||||
|
|
||||||
|
|||||||
@ -76,7 +76,7 @@ for specific angle types.
|
|||||||
[Restrictions:]
|
[Restrictions:]
|
||||||
|
|
||||||
This angle style can only be used if LAMMPS was built with the
|
This angle style can only be used if LAMMPS was built with the
|
||||||
MOLECULE package (which it is by default). See the "Making
|
MOLECULE package. See the "Making
|
||||||
LAMMPS"_Section_start.html#start_3 section for more info on packages.
|
LAMMPS"_Section_start.html#start_3 section for more info on packages.
|
||||||
|
|
||||||
Unlike other angle styles, the hybrid angle style does not store angle
|
Unlike other angle styles, the hybrid angle style does not store angle
|
||||||
|
|||||||
@ -68,7 +68,7 @@ more instructions on how to use the accelerated styles effectively.
|
|||||||
[Restrictions:]
|
[Restrictions:]
|
||||||
|
|
||||||
This angle style can only be used if LAMMPS was built with the
|
This angle style can only be used if LAMMPS was built with the
|
||||||
USER_MISC package. See the "Making LAMMPS"_Section_start.html#start_3
|
USER_MISC package. See the "Making LAMMPS"_Section_start.html#start_3
|
||||||
section for more info on packages.
|
section for more info on packages.
|
||||||
|
|
||||||
[Related commands:]
|
[Related commands:]
|
||||||
|
|||||||
@ -43,7 +43,7 @@ internally; hence the units of K are in energy/radian^2.
|
|||||||
The also required {lj/sdk} parameters will be extracted automatically
|
The also required {lj/sdk} parameters will be extracted automatically
|
||||||
from the pair_style.
|
from the pair_style.
|
||||||
|
|
||||||
[Restrictions:]
|
[Restrictions:]
|
||||||
|
|
||||||
This angle style can only be used if LAMMPS was built with the
|
This angle style can only be used if LAMMPS was built with the
|
||||||
USER-CG-CMM package. See the "Making
|
USER-CG-CMM package. See the "Making
|
||||||
|
|||||||
@ -147,7 +147,7 @@ more instructions on how to use the accelerated styles effectively.
|
|||||||
[Restrictions:]
|
[Restrictions:]
|
||||||
|
|
||||||
This angle style can only be used if LAMMPS was built with the
|
This angle style can only be used if LAMMPS was built with the
|
||||||
MOLECULE package (which it is by default). See the "Making
|
MOLECULE package. See the "Making
|
||||||
LAMMPS"_Section_start.html#start_3 section for more info on packages.
|
LAMMPS"_Section_start.html#start_3 section for more info on packages.
|
||||||
|
|
||||||
[Related commands:]
|
[Related commands:]
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
"LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS
|
"LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS
|
||||||
Commands"_lc :c
|
Commands"_lc :c
|
||||||
|
|
||||||
:link(lws,http://lammps.sandia.gov)
|
:link(lws,http://lammps.sandia.gov)
|
||||||
@ -156,12 +156,12 @@ used with a group-ID that is not "all".
|
|||||||
|
|
||||||
[Default:]
|
[Default:]
|
||||||
|
|
||||||
By default, {id} is yes. By default, atomic systems (no bond topology
|
By default, {id} is yes. By default, atomic systems (no bond topology
|
||||||
info) do not use a map. For molecular systems (with bond topology
|
info) do not use a map. For molecular systems (with bond topology
|
||||||
info), a map is used. The default map style is array if no atom ID is
|
info), a map is used. The default map style is array if no atom ID is
|
||||||
larger than 1 million, otherwise the default is hash. By default, a
|
larger than 1 million, otherwise the default is hash. By default, a
|
||||||
"first" group is not defined. By default, sorting is enabled with a
|
"first" group is not defined. By default, sorting is enabled with a
|
||||||
frequency of 1000 and a binsize of 0.0, which means the neighbor
|
frequency of 1000 and a binsize of 0.0, which means the neighbor
|
||||||
cutoff will be used to set the bin size.
|
cutoff will be used to set the bin size.
|
||||||
|
|
||||||
:line
|
:line
|
||||||
|
|||||||
@ -14,7 +14,7 @@ atom_style style args :pre
|
|||||||
|
|
||||||
style = {angle} or {atomic} or {body} or {bond} or {charge} or {dipole} or \
|
style = {angle} or {atomic} or {body} or {bond} or {charge} or {dipole} or \
|
||||||
{dpd} or {electron} or {ellipsoid} or {full} or {line} or {meso} or \
|
{dpd} or {electron} or {ellipsoid} or {full} or {line} or {meso} or \
|
||||||
{molecular} or {peri} or {smd} or {sphere} or {tri} or \
|
{molecular} or {peri} or {smd} or {sphere} or {tri} or \
|
||||||
{template} or {hybrid} :ulb,l
|
{template} or {hybrid} :ulb,l
|
||||||
args = none for any style except the following
|
args = none for any style except the following
|
||||||
{body} args = bstyle bstyle-args
|
{body} args = bstyle bstyle-args
|
||||||
@ -166,7 +166,7 @@ stores a per-particle mass and size and orientation (i.e. the corner
|
|||||||
points of the triangle).
|
points of the triangle).
|
||||||
|
|
||||||
The {template} style allows molecular topolgy (bonds,angles,etc) to be
|
The {template} style allows molecular topolgy (bonds,angles,etc) to be
|
||||||
defined via a molecule template using the "molecule"_molecule.txt
|
defined via a molecule template using the "molecule"_molecule.html
|
||||||
command. The template stores one or more molecules with a single copy
|
command. The template stores one or more molecules with a single copy
|
||||||
of the topology info (bonds,angles,etc) of each. Individual atoms
|
of the topology info (bonds,angles,etc) of each. Individual atoms
|
||||||
only store a template index and template atom to identify which
|
only store a template index and template atom to identify which
|
||||||
@ -193,7 +193,7 @@ For the {body} style, the particles are arbitrary bodies with internal
|
|||||||
attributes defined by the "style" of the bodies, which is specified by
|
attributes defined by the "style" of the bodies, which is specified by
|
||||||
the {bstyle} argument. Body particles can represent complex entities,
|
the {bstyle} argument. Body particles can represent complex entities,
|
||||||
such as surface meshes of discrete points, collections of
|
such as surface meshes of discrete points, collections of
|
||||||
sub-particles, deformable objects, etc.
|
sub-particles, deformable objects, etc.
|
||||||
|
|
||||||
The "body"_body.html doc page descibes the body styles LAMMPS
|
The "body"_body.html doc page descibes the body styles LAMMPS
|
||||||
currently supports, and provides more details as to the kind of body
|
currently supports, and provides more details as to the kind of body
|
||||||
@ -269,7 +269,7 @@ The {line} and {tri} styles are part of the ASPHERE package.
|
|||||||
|
|
||||||
The {body} style is part of the BODY package.
|
The {body} style is part of the BODY package.
|
||||||
|
|
||||||
The {dipole} style is part of the DIPOLE package.
|
The {dipole} style is part of the DIPOLE package.
|
||||||
|
|
||||||
The {peri} style is part of the PERI package for Peridynamics.
|
The {peri} style is part of the PERI package for Peridynamics.
|
||||||
|
|
||||||
|
|||||||
@ -319,14 +319,16 @@ accurately would be impractical and slow down the computation.
|
|||||||
Instead the {weight} keyword implements several ways to influence the
|
Instead the {weight} keyword implements several ways to influence the
|
||||||
per-particle weights empirically by properties readily available or
|
per-particle weights empirically by properties readily available or
|
||||||
using the user's knowledge of the system. Note that the absolute
|
using the user's knowledge of the system. Note that the absolute
|
||||||
value of the weights are not important; their ratio is what is used to
|
value of the weights are not important; only their relative ratios
|
||||||
assign particles to processors. A particle with a weight of 2.5 is
|
affect which particle is assigned to which processor. A particle with
|
||||||
assumed to require 5x more computational than a particle with a weight
|
a weight of 2.5 is assumed to require 5x more computational than a
|
||||||
of 0.5.
|
particle with a weight of 0.5. For all the options below the weight
|
||||||
|
assigned to a particle must be a positive value; an error will be be
|
||||||
|
generated if a weight is <= 0.0.
|
||||||
|
|
||||||
Below is a list of possible weight options with a short description of
|
Below is a list of possible weight options with a short description of
|
||||||
their usage and some example scenarios where they might be applicable.
|
their usage and some example scenarios where they might be applicable.
|
||||||
It is possible to apply multiple weight flags and the weightins they
|
It is possible to apply multiple weight flags and the weightings they
|
||||||
induce will be combined through multiplication. Most of the time,
|
induce will be combined through multiplication. Most of the time,
|
||||||
however, it is sufficient to use just one method.
|
however, it is sufficient to use just one method.
|
||||||
|
|
||||||
@ -346,13 +348,24 @@ the computational cost for each group remains constant over time.
|
|||||||
This is a purely empirical weighting, so a series test runs to tune
|
This is a purely empirical weighting, so a series test runs to tune
|
||||||
the assigned weight factors for optimal performance is recommended.
|
the assigned weight factors for optimal performance is recommended.
|
||||||
|
|
||||||
The {neigh} weight style assigns a weight to each particle equal to
|
The {neigh} weight style assigns the same weight to each particle
|
||||||
its number of neighbors divided by the avergage number of neighbors
|
owned by a processor based on the total count of neighbors in the
|
||||||
for all particles. The {factor} setting is then appied as an overall
|
neighbor list owned by that processor. The motivation is that more
|
||||||
scale factor to all the {neigh} weights which allows tuning of the
|
neighbors means a higher computational cost. The style does not use
|
||||||
impact of this style. A {factor} smaller than 1.0 (e.g. 0.8) often
|
neighbors per atom to assign a unique weight to each atom, because
|
||||||
results in the best performance, since the number of neighbors is
|
that value can vary depending on how the neighbor list is built.
|
||||||
likely to overestimate the ideal weight.
|
|
||||||
|
The {factor} setting is applied as an overall scale factor to the
|
||||||
|
{neigh} weights which allows adjustment of their impact on the
|
||||||
|
balancing operation. The specified {factor} value must be positive.
|
||||||
|
A value > 1.0 will increase the weights so that the ratio of max
|
||||||
|
weight to min weight increases by {factor}. A value < 1.0 will
|
||||||
|
decrease the weights so that the ratio of max weight to min weight
|
||||||
|
decreases by {factor}. In both cases the intermediate weight values
|
||||||
|
increase/decrease proportionally as well. A value = 1.0 has no effect
|
||||||
|
on the {neigh} weights. As a rule of thumb, we have found a {factor}
|
||||||
|
of about 0.8 often results in the best performance, since the number
|
||||||
|
of neighbors is likely to overestimate the ideal weight.
|
||||||
|
|
||||||
This weight style is useful for systems where there are different
|
This weight style is useful for systems where there are different
|
||||||
cutoffs used for different pairs of interations, or the density
|
cutoffs used for different pairs of interations, or the density
|
||||||
@ -368,35 +381,48 @@ weights are computed. Inserting a "run 0 post no"_run.html command
|
|||||||
before issuing the {balance} command, may be a workaround for this
|
before issuing the {balance} command, may be a workaround for this
|
||||||
case, as it will induce the neighbor list to be built.
|
case, as it will induce the neighbor list to be built.
|
||||||
|
|
||||||
The {time} weight style uses "timer data"_timer.html to estimate a
|
The {time} weight style uses "timer data"_timer.html to estimate
|
||||||
weight for each particle. It uses the same information as is used for
|
weights. It assigns the same weight to each particle owned by a
|
||||||
the "MPI task timing breakdown"_Section_start.html#start_8, namely,
|
processor based on the total computational time spent by that
|
||||||
the timings for sections {Pair}, {Bond}, {Kspace}, and {Neigh}. The
|
processor. See details below on what time window is used. It uses
|
||||||
time spent in these sections of the timestep are measured for each MPI
|
the same timing information as is used for the "MPI task timing
|
||||||
rank, summed up, then converted into a cost for each MPI rank relative
|
breakdown"_Section_start.html#start_8, namely, for sections {Pair},
|
||||||
to the average cost over all MPI ranks for the same sections. That
|
{Bond}, {Kspace}, and {Neigh}. The time spent in those portions of
|
||||||
cost then evenly distributed over all the particles owned by that
|
the timestep are measured for each MPI rank, summed, then divided by
|
||||||
rank. Finally, the {factor} setting is then appied as an overall
|
the number of particles owned by that processor. I.e. the weight is
|
||||||
scale factor to all the {time} weights as a way to fine tune the
|
an effective CPU time/particle averaged over the particles on that
|
||||||
impact of this weight style. Good {factor} values to use are
|
processor.
|
||||||
typically between 0.5 and 1.2.
|
|
||||||
|
|
||||||
For the {balance} command the timing data is taken from the preceding
|
The {factor} setting is applied as an overall scale factor to the
|
||||||
run command, i.e. the timings are for the entire previous run. For
|
{time} weights which allows adjustment of their impact on the
|
||||||
the {fix balance} command the timing data is for only the timesteps
|
balancing operation. The specified {factor} value must be positive.
|
||||||
since the last balancing operation was performed. If timing
|
A value > 1.0 will increase the weights so that the ratio of max
|
||||||
information for the required sections is not available, e.g. at the
|
weight to min weight increases by {factor}. A value < 1.0 will
|
||||||
beginning of a run, or when the "timer"_timer.html command is set to
|
decrease the weights so that the ratio of max weight to min weight
|
||||||
either {loop} or {off}, a warning is issued. In this case no weights
|
decreases by {factor}. In both cases the intermediate weight values
|
||||||
are computed.
|
increase/decrease proportionally as well. A value = 1.0 has no effect
|
||||||
|
on the {time} weights. As a rule of thumb, effective values to use
|
||||||
|
are typicall between 0.5 and 1.2. Note that the timer quantities
|
||||||
|
mentioned above can be affected by communication which occurs in the
|
||||||
|
middle of the operations, e.g. pair styles with intermediate exchange
|
||||||
|
of data witin the force computation, and likewise for KSpace solves.
|
||||||
|
|
||||||
This weight style is the most generic one, and should be tried first,
|
When using the {time} weight style with the {balance} command, the
|
||||||
if neither the {group} or {neigh} styles are easily applicable.
|
timing data is taken from the preceding run command, i.e. the timings
|
||||||
However, since the computed cost function is averaged over all local
|
are for the entire previous run. For the {fix balance} command the
|
||||||
particles this weight style may not be highly accurate. This style
|
timing data is for only the timesteps since the last balancing
|
||||||
can also be effective as a secondary weight in combination with either
|
operation was performed. If timing information for the required
|
||||||
{group} or {neigh} to offset some of inaccuracies in either of those
|
sections is not available, e.g. at the beginning of a run, or when the
|
||||||
heuristics.
|
"timer"_timer.html command is set to either {loop} or {off}, a warning
|
||||||
|
is issued. In this case no weights are computed.
|
||||||
|
|
||||||
|
NOTE: The {time} weight style is the most generic option, and should
|
||||||
|
be tried first, unless the {group} style is easily applicable.
|
||||||
|
However, since the computed cost function is averaged over all
|
||||||
|
particles on a processor, the weights may not be highly accurate.
|
||||||
|
This style can also be effective as a secondary weight in combination
|
||||||
|
with either {group} or {neigh} to offset some of inaccuracies in
|
||||||
|
either of those heuristics.
|
||||||
|
|
||||||
The {var} weight style assigns per-particle weights by evaluating an
|
The {var} weight style assigns per-particle weights by evaluating an
|
||||||
"atom-style variable"_variable.html specified by {name}. This is
|
"atom-style variable"_variable.html specified by {name}. This is
|
||||||
@ -464,7 +490,7 @@ per processor. Note that the 4 sub-domains share vertices, so there
|
|||||||
will be duplicate nodes in the list.
|
will be duplicate nodes in the list.
|
||||||
|
|
||||||
The "SQUARES" section lists the node IDs of the 4 vertices in a
|
The "SQUARES" section lists the node IDs of the 4 vertices in a
|
||||||
rectangle for each processor (1 to 4).
|
rectangle for each processor (1 to 4).
|
||||||
|
|
||||||
For a 3d problem, the syntax is similar with 8 vertices listed for
|
For a 3d problem, the syntax is similar with 8 vertices listed for
|
||||||
each processor, instead of 4, and "SQUARES" replaced by "CUBES".
|
each processor, instead of 4, and "SQUARES" replaced by "CUBES".
|
||||||
|
|||||||
@ -125,7 +125,7 @@ in the {Bodies} section of the data file:
|
|||||||
|
|
||||||
atom-ID 1 M
|
atom-ID 1 M
|
||||||
N
|
N
|
||||||
ixx iyy izz ixy ixz iyz
|
ixx iyy izz ixy ixz iyz
|
||||||
x1 y1 z1
|
x1 y1 z1
|
||||||
...
|
...
|
||||||
xN yN zN :pre
|
xN yN zN :pre
|
||||||
@ -198,11 +198,11 @@ in the {Bodies} section of the data file:
|
|||||||
|
|
||||||
atom-ID 1 M
|
atom-ID 1 M
|
||||||
N
|
N
|
||||||
ixx iyy izz ixy ixz iyz
|
ixx iyy izz ixy ixz iyz
|
||||||
x1 y1 z1
|
x1 y1 z1
|
||||||
...
|
...
|
||||||
xN yN zN
|
xN yN zN
|
||||||
i j j k k ...
|
i j j k k ...
|
||||||
radius :pre
|
radius :pre
|
||||||
|
|
||||||
N is the number of vertices in the body particle. M = 6 + 3*N + 2*N +
|
N is the number of vertices in the body particle. M = 6 + 3*N + 2*N +
|
||||||
@ -230,11 +230,11 @@ particles whose edge length is sqrt(2):
|
|||||||
|
|
||||||
3 1 27
|
3 1 27
|
||||||
4
|
4
|
||||||
1 1 4 0 0 0
|
1 1 4 0 0 0
|
||||||
-0.7071 -0.7071 0
|
-0.7071 -0.7071 0
|
||||||
-0.7071 0.7071 0
|
-0.7071 0.7071 0
|
||||||
0.7071 0.7071 0
|
0.7071 0.7071 0
|
||||||
0.7071 -0.7071 0
|
0.7071 -0.7071 0
|
||||||
0 1 1 2 2 3 3 0
|
0 1 1 2 2 3 3 0
|
||||||
1.0 :pre
|
1.0 :pre
|
||||||
|
|
||||||
|
|||||||
@ -70,10 +70,10 @@ more instructions on how to use the accelerated styles effectively.
|
|||||||
[Restrictions:]
|
[Restrictions:]
|
||||||
|
|
||||||
This bond style can only be used if LAMMPS was built with the
|
This bond style can only be used if LAMMPS was built with the
|
||||||
MOLECULE package (which it is by default). See the "Making
|
MOLECULE package. See the "Making
|
||||||
LAMMPS"_Section_start.html#start_3 section for more info on packages.
|
LAMMPS"_Section_start.html#start_3 section for more info on packages.
|
||||||
|
|
||||||
You typically should specify "special_bonds fene"_special_bonds.html"
|
You typically should specify "special_bonds fene"_special_bonds.html
|
||||||
or "special_bonds lj/coul 0 1 1"_special_bonds.html to use this bond
|
or "special_bonds lj/coul 0 1 1"_special_bonds.html to use this bond
|
||||||
style. LAMMPS will issue a warning it that's not the case.
|
style. LAMMPS will issue a warning it that's not the case.
|
||||||
|
|
||||||
|
|||||||
@ -73,10 +73,10 @@ more instructions on how to use the accelerated styles effectively.
|
|||||||
[Restrictions:]
|
[Restrictions:]
|
||||||
|
|
||||||
This bond style can only be used if LAMMPS was built with the
|
This bond style can only be used if LAMMPS was built with the
|
||||||
MOLECULE package (which it is by default). See the "Making
|
MOLECULE package. See the "Making
|
||||||
LAMMPS"_Section_start.html#start_3 section for more info on packages.
|
LAMMPS"_Section_start.html#start_3 section for more info on packages.
|
||||||
|
|
||||||
You typically should specify "special_bonds fene"_special_bonds.html"
|
You typically should specify "special_bonds fene"_special_bonds.html
|
||||||
or "special_bonds lj/coul 0 1 1"_special_bonds.html to use this bond
|
or "special_bonds lj/coul 0 1 1"_special_bonds.html to use this bond
|
||||||
style. LAMMPS will issue a warning it that's not the case.
|
style. LAMMPS will issue a warning it that's not the case.
|
||||||
|
|
||||||
|
|||||||
@ -65,7 +65,7 @@ more instructions on how to use the accelerated styles effectively.
|
|||||||
[Restrictions:]
|
[Restrictions:]
|
||||||
|
|
||||||
This bond style can only be used if LAMMPS was built with the
|
This bond style can only be used if LAMMPS was built with the
|
||||||
MOLECULE package (which it is by default). See the "Making
|
MOLECULE package. See the "Making
|
||||||
LAMMPS"_Section_start.html#start_3 section for more info on packages.
|
LAMMPS"_Section_start.html#start_3 section for more info on packages.
|
||||||
|
|
||||||
[Related commands:]
|
[Related commands:]
|
||||||
|
|||||||