Skip to content

Commit 7f9cea7

Browse files
committed
applied Axel comment on PPPM/evald
1 parent c1ea2a6 commit 7f9cea7

File tree

10 files changed

+72399
-72398
lines changed

10 files changed

+72399
-72398
lines changed

files/tutorial3/merge.lmp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11

2-
kspace_style ewald 1e-5
32
read_restart water.restart

files/tutorial3/pull.lmp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11

2-
kspace_style ewald 1e-5
2+
kspace_style pull 1e-5
33
read_restart merge.restart

files/tutorial3/solution/merge.lmp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
kspace_style ewald 1e-5
2+
kspace_style pppm 1e-5
33
read_restart water.restart
44

55
molecule pegmol peg.mol
@@ -9,7 +9,7 @@ group PEG type C CPos H HC OAlc OE
99

1010
delete_atoms overlap 2.0 H2O PEG mol yes
1111

12-
dump viz PEG image 250 myimage-*.ppm type &
12+
dump viz all image 250 myimage-*.ppm type &
1313
type shiny 0.1 box no 0.01 &
1414
view 0 90 zoom 3 fsaa yes bond atom 0.8 size 1000 500
1515
dump_modify viz backcolor white &

files/tutorial3/solution/merge.log

Lines changed: 86 additions & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,26 @@
11
using 8 OpenMP thread(s) per MPI task
22
using multi-threaded neighbor list subroutines
3-
Reading data file ...
4-
orthogonal box = (-22.309834 -11.154917 -11.154917) to (22.309834 11.154917 11.154917)
3+
Reading restart file ...
4+
restart file = 29 Aug 2024, LAMMPS = 29 Aug 2024
5+
restoring atom style full from restart
6+
orthogonal box = (-22.256144 -11.128072 -11.128072) to (22.256144 11.128072 11.128072)
57
1 by 1 by 1 MPI processor grid
6-
reading atom labelmap ...
7-
reading bond labelmap ...
8-
reading angle labelmap ...
9-
reading dihedral labelmap ...
10-
reading atoms ...
8+
restoring pair style lj/cut/coul/long/omp from restart
9+
restoring bond style harmonic/omp from restart
10+
restoring angle style harmonic/omp from restart
11+
restoring dihedral style harmonic/omp from restart
1112
2100 atoms
12-
reading velocities ...
13-
2100 velocities
14-
scanning bonds ...
15-
5 = max bonds/atom
16-
scanning angles ...
17-
7 = max angles/atom
18-
orthogonal box = (-22.309834 -11.154917 -11.154917) to (22.309834 11.154917 11.154917)
19-
1 by 1 by 1 MPI processor grid
20-
reading bonds ...
2113
1400 bonds
22-
reading angles ...
2314
700 angles
2415
Finding 1-2 1-3 1-4 neighbors ...
2516
special bond factors lj: 0 0 0.5
2617
special bond factors coul: 0 0 1
2718
2 = max # of 1-2 neighbors
2819
1 = max # of 1-3 neighbors
2920
1 = max # of 1-4 neighbors
30-
1400 = # of 1-3 neighbors before angle trim
31-
1400 = # of 1-3 neighbors after angle trim
32-
1400 = # of 1-4 neighbors before dihedral trim
33-
0 = # of 1-4 neighbors after dihedral trim
34-
16 = max # of special neighbors
35-
special bonds CPU = 0.002 seconds
36-
read_data CPU = 0.063 seconds
21+
15 = max # of special neighbors
22+
special bonds CPU = 0.001 seconds
23+
read_restart CPU = 0.005 seconds
3724
Read molecule template pegmol:
3825
PEG molecule
3926
1 molecules
@@ -44,21 +31,23 @@ PEG molecule
4431
116 dihedrals with max type 4
4532
0 impropers with max type 0
4633
Created 59 atoms
47-
using lattice units in orthogonal box = (-22.309834 -11.154917 -11.154917) to (22.309834 11.154917 11.154917)
34+
using lattice units in orthogonal box = (-22.256144 -11.128072 -11.128072) to (22.256144 11.128072 11.128072)
4835
create_atoms CPU = 0.000 seconds
49-
2100 atoms in group H2O
5036
59 atoms in group PEG
5137
System init for delete_atoms ...
52-
Ewald initialization ...
53-
WARNING: System is not charge neutral, net charge = -0.007 (src/kspace.cpp:327)
38+
PPPM initialization ...
5439
using 12-bit tables for long-range coulomb (src/kspace.cpp:342)
55-
G vector (1/distance) = 0.29619569
56-
estimated absolute RMS force accuracy = 0.0038164443
57-
estimated relative force accuracy = 1.1493109e-05
58-
KSpace vectors: actual max1d max3d = 1398 12 7812
59-
kxmax kymax kzmax = 12 7 7
40+
G vector (1/distance) = 0.30147332
41+
grid = 32 20 20
42+
stencil order = 5
43+
estimated absolute RMS force accuracy = 0.0034375004
44+
estimated relative force accuracy = 1.035193e-05
45+
using double precision KISS FFT
46+
3d grid and FFT values/proc = 28431 12800
6047
Generated 28 of 28 mixed pair_coeff terms from geometric mixing rule
61-
Last active /omp style is kspace_style ewald/omp
48+
Unused restart file global fix info:
49+
fix style: npt, fix ID: mynpt
50+
Last active /omp style is kspace_style pppm/omp
6251
Neighbor list info ...
6352
update: every = 1 steps, delay = 0 steps, check = yes
6453
max neighbors/atom: 2000, page size: 100000
@@ -77,9 +66,9 @@ Neighbor list info ...
7766
stencil: half/bin/3d
7867
bin: standard
7968
WARNING: Ignoring 'compress yes' for molecular system (src/delete_atoms.cpp:141)
80-
Deleted 93 atoms, new total = 2066
81-
Deleted 62 bonds, new total = 1396
82-
Deleted 31 angles, new total = 773
69+
Deleted 96 atoms, new total = 2063
70+
Deleted 64 bonds, new total = 1394
71+
Deleted 32 angles, new total = 772
8372
Deleted 0 dihedrals, new total = 116
8473

8574
CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE
@@ -90,15 +79,17 @@ The log file lists these citations in BibTeX format.
9079

9180
CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE
9281

93-
Ewald initialization ...
82+
PPPM initialization ...
9483
using 12-bit tables for long-range coulomb (src/kspace.cpp:342)
95-
G vector (1/distance) = 0.29580367
96-
estimated absolute RMS force accuracy = 0.0037751365
97-
estimated relative force accuracy = 1.1368712e-05
98-
KSpace vectors: actual max1d max3d = 1398 12 7812
99-
kxmax kymax kzmax = 12 7 7
84+
G vector (1/distance) = 0.30147173
85+
grid = 32 20 20
86+
stencil order = 5
87+
estimated absolute RMS force accuracy = 0.0033561701
88+
estimated relative force accuracy = 1.0107007e-05
89+
using double precision KISS FFT
90+
3d grid and FFT values/proc = 28431 12800
10091
Generated 28 of 28 mixed pair_coeff terms from geometric mixing rule
101-
Last active /omp style is kspace_style ewald/omp
92+
Last active /omp style is kspace_style pppm/omp
10293
Neighbor list info ...
10394
update: every = 1 steps, delay = 0 steps, check = yes
10495
max neighbors/atom: 2000, page size: 100000
@@ -113,67 +104,69 @@ Neighbor list info ...
113104
bin: standard
114105
Setting up Verlet run ...
115106
Unit style : real
116-
Current step : 0
107+
Current step : 15000
117108
Time step : 1
118-
Per MPI rank memory allocation (min/avg/max) = 39.58 | 39.58 | 39.58 Mbytes
109+
Per MPI rank memory allocation (min/avg/max) = 21.57 | 21.57 | 21.57 Mbytes
119110
Step Temp E_pair E_mol TotEng Press Volume
120-
0 292.04142 -6906.08 841.26192 -4267.1943 -133.29779 22208.491
121-
500 298.28658 -7011.2941 813.61131 -4361.6177 -269.31726 22165.643
122-
1000 298.47509 -7068.0675 793.53481 -4437.3072 481.50467 21699.806
123-
1500 299.20591 -7017.2388 754.24855 -4421.2663 133.05223 21656.603
124-
2000 288.20776 -7004.9166 778.13225 -4452.7582 -310.6904 21798.621
125-
2500 295.68062 -7044.4038 802.18458 -4422.1948 -626.76572 21814.468
126-
3000 311.19 -7052.5776 807.73024 -4329.3569 574.0593 21888.289
127-
3500 300.13849 -7122.4913 760.70867 -4514.3184 49.422373 21853.951
128-
4000 302.67737 -6953.8422 772.36891 -4318.3813 -359.31208 22043.197
129-
4500 303.09838 -7043.774 829.56846 -4348.522 -46.131422 22092.539
130-
5000 299.63725 -7104.3302 837.34727 -4422.604 -49.054583 21841.508
131-
5500 300.26059 -7156.8959 829.9615 -4478.7185 728.13809 21741.557
132-
6000 305.21049 -7178.4288 788.6031 -4511.1414 -630.46346 21840.31
133-
6500 305.16449 -7085.6705 843.82655 -4363.4428 -768.19246 21821.17
134-
7000 297.41554 -7162.2886 824.9586 -4506.6265 681.26185 21523.218
135-
7500 307.1045 -6983.5245 772.69555 -4320.4863 81.205267 21878.449
136-
8000 301.22679 -7072.6247 805.80018 -4412.6614 -372.01075 21937.809
137-
8500 293.71928 -7209.9471 810.9105 -4591.0849 -94.535259 21485.293
138-
9000 294.21913 -7140.0469 804.04213 -4524.9763 -151.30325 21382.063
139-
9500 295.99208 -7239.6536 864.16669 -4553.5453 584.03957 21331.84
140-
10000 302.20461 -7206.7975 858.22255 -4488.3929 756.28581 21175.158
141-
Loop time of 143.564 on 8 procs for 10000 steps with 2066 atoms
111+
15000 293.96336 -6937.5692 809.92925 -4320.8147 -324.16098 22048.535
112+
15500 303.55223 -7052.6966 800.95294 -4385.981 159.56378 22126.265
113+
16000 299.6112 -7008.7809 788.22037 -4379.0211 -521.48094 22225.118
114+
16500 297.84365 -7024.1933 799.14999 -4394.368 -549.95427 22078.839
115+
17000 304.4771 -7151.7783 828.86978 -4451.4613 -1196.0884 21797.644
116+
17500 297.2736 -7140.0735 799.15477 -4513.7472 -64.748238 21483.268
117+
18000 290.38437 -7125.4702 772.583 -4568.0599 -147.3855 21603.548
118+
18500 300.21995 -7069.3954 797.33657 -4426.7778 -858.54751 21744.808
119+
19000 304.5521 -7222.3234 892.996 -4457.4191 -299.2864 21693.475
120+
19500 300.26279 -7212.0992 892.97173 -4473.5832 317.78627 21838.822
121+
20000 296.16369 -7088.4563 790.03404 -4478.0727 -324.19543 21847.186
122+
20500 294.2846 -7173.3437 862.60611 -4501.9378 -10.865505 21688.816
123+
21000 307.82989 -7129.0355 839.23064 -4397.7499 483.90536 21507.857
124+
21500 298.67151 -7128.1414 811.38427 -4480.9935 508.12832 21488.203
125+
22000 293.33114 -7103.4785 840.9377 -4459.6014 1534.3863 21399.357
126+
22500 300.04254 -7088.2347 811.98583 -4432.0583 13.37241 21477.914
127+
23000 297.09602 -7052.5148 855.06239 -4371.3725 -99.140411 21868.119
128+
23500 304.62568 -7119.4796 835.07566 -4412.0435 -66.958474 21978.769
129+
24000 301.80283 -7134.5524 806.69856 -4472.8438 399.88923 21660.515
130+
24500 296.45896 -7156.1096 838.01791 -4495.9273 456.62139 21628.227
131+
25000 297.98494 -7041.5008 828.93835 -4381.0188 146.83299 21852.916
132+
Loop time of 68.6241 on 8 procs for 10000 steps with 2063 atoms
142133

143-
Performance: 6.018 ns/day, 3.988 hours/ns, 69.655 timesteps/s, 143.908 katom-step/s
144-
751.4% CPU use with 1 MPI tasks x 8 OpenMP threads
134+
Performance: 12.590 ns/day, 1.906 hours/ns, 145.721 timesteps/s, 300.623 katom-step/s
135+
713.6% CPU use with 1 MPI tasks x 8 OpenMP threads
145136

146137
MPI task timing breakdown:
147138
Section | min time | avg time | max time |%varavg| %total
148139
---------------------------------------------------------------
149-
Pair | 39.858 | 39.858 | 39.858 | 0.0 | 27.76
150-
Bond | 0.84586 | 0.84586 | 0.84586 | 0.0 | 0.59
151-
Kspace | 75.721 | 75.721 | 75.721 | 0.0 | 52.74
152-
Neigh | 5.4482 | 5.4482 | 5.4482 | 0.0 | 3.79
153-
Comm | 1.7952 | 1.7952 | 1.7952 | 0.0 | 1.25
154-
Output | 15.713 | 15.713 | 15.713 | 0.0 | 10.95
155-
Modify | 4.0466 | 4.0466 | 4.0466 | 0.0 | 2.82
156-
Other | | 0.1353 | | | 0.09
140+
Pair | 21.648 | 21.648 | 21.648 | 0.0 | 31.55
141+
Bond | 0.39399 | 0.39399 | 0.39399 | 0.0 | 0.57
142+
Kspace | 25.793 | 25.793 | 25.793 | 0.0 | 37.59
143+
Neigh | 2.7759 | 2.7759 | 2.7759 | 0.0 | 4.05
144+
Comm | 0.82742 | 0.82742 | 0.82742 | 0.0 | 1.21
145+
Output | 10.283 | 10.283 | 10.283 | 0.0 | 14.98
146+
Modify | 6.8375 | 6.8375 | 6.8375 | 0.0 | 9.96
147+
Other | | 0.06478 | | | 0.09
157148

158-
Nlocal: 2066 ave 2066 max 2066 min
149+
Nlocal: 2063 ave 2063 max 2063 min
159150
Histogram: 1 0 0 0 0 0 0 0 0 0
160-
Nghost: 11794 ave 11794 max 11794 min
151+
Nghost: 11827 ave 11827 max 11827 min
161152
Histogram: 1 0 0 0 0 0 0 0 0 0
162-
Neighs: 728663 ave 728663 max 728663 min
153+
Neighs: 703928 ave 703928 max 703928 min
163154
Histogram: 1 0 0 0 0 0 0 0 0 0
164155

165-
Total # of neighbors = 728663
166-
Ave neighs/atom = 352.69264
167-
Ave special neighs/atom = 2.2168441
168-
Neighbor list builds = 550
156+
Total # of neighbors = 703928
157+
Ave neighs/atom = 341.21571
158+
Ave special neighs/atom = 2.2171595
159+
Neighbor list builds = 542
169160
Dangerous builds = 0
170-
System init for write_data ...
171-
Ewald initialization ...
161+
System init for write_restart ...
162+
PPPM initialization ...
172163
using 12-bit tables for long-range coulomb (src/kspace.cpp:342)
173-
G vector (1/distance) = 0.29620607
174-
estimated absolute RMS force accuracy = 0.0034433013
175-
estimated relative force accuracy = 1.03694e-05
176-
KSpace vectors: actual max1d max3d = 1342 12 7812
177-
kxmax kymax kzmax = 12 7 7
164+
G vector (1/distance) = 0.30178312
165+
grid = 32 20 20
166+
stencil order = 5
167+
estimated absolute RMS force accuracy = 0.0033082643
168+
estimated relative force accuracy = 9.9627396e-06
169+
using double precision KISS FFT
170+
3d grid and FFT values/proc = 28431 12800
178171
Generated 28 of 28 mixed pair_coeff terms from geometric mixing rule
179-
Last active /omp style is kspace_style ewald/omp
172+
Last active /omp style is kspace_style pppm/omp
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)