add harmonic/cut to python example folder. small tweaks to docs and examples
This commit is contained in:
268
examples/python/log.18Mar22.pair_python_harmonic.openmp.1
Normal file
268
examples/python/log.18Mar22.pair_python_harmonic.openmp.1
Normal file
@ -0,0 +1,268 @@
|
||||
LAMMPS (17 Feb 2022)
|
||||
using 4 OpenMP thread(s) per MPI task
|
||||
package omp 0
|
||||
using multi-threaded neighbor list subroutines
|
||||
# 3d soft repulsive particles
|
||||
|
||||
units real
|
||||
atom_style atomic
|
||||
|
||||
lattice fcc 5.0 origin 0.1 0.1 0.1
|
||||
Lattice spacing in x,y,z = 5 5 5
|
||||
region box block -5 5 -5 5 -5 5
|
||||
create_box 2 box
|
||||
Created orthogonal box = (-25 -25 -25) to (25 25 25)
|
||||
1 by 1 by 1 MPI processor grid
|
||||
create_atoms 1 box
|
||||
Created 4000 atoms
|
||||
using lattice units in orthogonal box = (-25 -25 -25) to (25 25 25)
|
||||
create_atoms CPU = 0.001 seconds
|
||||
set type 1 type/ratio 2 0.5 424662346
|
||||
Setting atom values ...
|
||||
2000 settings made for type/ratio
|
||||
mass * 1.0
|
||||
|
||||
velocity all create 3.0 87287
|
||||
|
||||
pair_style python 9.0
|
||||
pair_coeff * * py_pot.Harmonic A B
|
||||
|
||||
neighbor 1.0 bin
|
||||
neigh_modify every 2 delay 4 check yes
|
||||
|
||||
fix 1 all nve
|
||||
|
||||
thermo 50
|
||||
run 250 post no
|
||||
generated 0 of 1 mixed pair_coeff terms from geometric mixing rule
|
||||
No /omp style for force computation currently active
|
||||
Neighbor list info ...
|
||||
update every 2 steps, delay 4 steps, check yes
|
||||
max neighbors/atom: 2000, page size: 100000
|
||||
master list distance cutoff = 10
|
||||
ghost atom cutoff = 10
|
||||
binsize = 5, bins = 10 10 10
|
||||
1 neighbor lists, perpetual/occasional/extra = 1 0 0
|
||||
(1) pair python, perpetual
|
||||
attributes: half, newton on, omp
|
||||
pair build: half/bin/atomonly/newton/omp
|
||||
stencil: half/bin/3d
|
||||
bin: standard
|
||||
Per MPI rank memory allocation (min/avg/max) = 6.024 | 6.024 | 6.024 Mbytes
|
||||
Step Temp E_pair E_mol TotEng Press
|
||||
0 3 423789.56 0 423825.32 249259.3
|
||||
50 75.889551 422919.46 0 423824.08 248893.24
|
||||
100 105.20972 422570.47 0 423824.6 250756.6
|
||||
150 132.08764 422249.71 0 423824.23 251894.29
|
||||
200 118.14116 422416.43 0 423824.7 252088.96
|
||||
250 128.40086 422293.71 0 423824.28 252057.16
|
||||
Loop time of 18.9294 on 4 procs for 250 steps with 4000 atoms
|
||||
|
||||
|
||||
write_restart repulsive.restart
|
||||
System init for write_restart ...
|
||||
generated 0 of 1 mixed pair_coeff terms from geometric mixing rule
|
||||
No /omp style for force computation currently active
|
||||
|
||||
clear
|
||||
using 4 OpenMP thread(s) per MPI task
|
||||
package omp 0
|
||||
using multi-threaded neighbor list subroutines
|
||||
|
||||
read_restart repulsive.restart
|
||||
Reading restart file ...
|
||||
restart file = 17 Feb 2022, LAMMPS = 17 Feb 2022
|
||||
restoring atom style atomic from restart
|
||||
orthogonal box = (-25 -25 -25) to (25 25 25)
|
||||
1 by 1 by 1 MPI processor grid
|
||||
pair style python stores no restart info
|
||||
4000 atoms
|
||||
read_restart CPU = 0.001 seconds
|
||||
|
||||
pair_style python 10.0
|
||||
pair_coeff * * py_pot.Harmonic A B
|
||||
|
||||
shell rm -f python.dat
|
||||
pair_write 1 1 1000 rsq 0.1 10.0 python.dat PYTH_A_A
|
||||
Creating table file python.dat with DATE: 2022-03-18
|
||||
generated 0 of 1 mixed pair_coeff terms from geometric mixing rule
|
||||
Neighbor list info ...
|
||||
update every 1 steps, delay 10 steps, check yes
|
||||
max neighbors/atom: 2000, page size: 100000
|
||||
master list distance cutoff = 12
|
||||
ghost atom cutoff = 12
|
||||
binsize = 6, bins = 9 9 9
|
||||
1 neighbor lists, perpetual/occasional/extra = 1 0 0
|
||||
(1) pair python, perpetual
|
||||
attributes: half, newton on
|
||||
pair build: half/bin/atomonly/newton
|
||||
stencil: half/bin/3d
|
||||
bin: standard
|
||||
pair_write 2 2 1000 rsq 0.1 10.0 python.dat PYTH_B_B
|
||||
Appending to table file python.dat with DATE: 2022-03-18
|
||||
generated 0 of 1 mixed pair_coeff terms from geometric mixing rule
|
||||
pair_write 1 2 1000 rsq 0.1 10.0 python.dat PYTH_A_B
|
||||
Appending to table file python.dat with DATE: 2022-03-18
|
||||
generated 0 of 1 mixed pair_coeff terms from geometric mixing rule
|
||||
|
||||
fix 1 all nve
|
||||
|
||||
thermo 50
|
||||
run 250 post no
|
||||
generated 0 of 1 mixed pair_coeff terms from geometric mixing rule
|
||||
No /omp style for force computation currently active
|
||||
Neighbor list info ...
|
||||
update every 1 steps, delay 10 steps, check yes
|
||||
max neighbors/atom: 2000, page size: 100000
|
||||
master list distance cutoff = 12
|
||||
ghost atom cutoff = 12
|
||||
binsize = 6, bins = 9 9 9
|
||||
1 neighbor lists, perpetual/occasional/extra = 1 0 0
|
||||
(1) pair python, perpetual
|
||||
attributes: half, newton on, omp
|
||||
pair build: half/bin/atomonly/newton/omp
|
||||
stencil: half/bin/3d
|
||||
bin: standard
|
||||
Per MPI rank memory allocation (min/avg/max) = 7.626 | 7.626 | 7.626 Mbytes
|
||||
Step Temp E_pair E_mol TotEng Press
|
||||
250 128.40086 422293.71 0 423824.28 252057.16
|
||||
300 119.72871 422397.4 0 423824.6 251985.11
|
||||
350 124.88375 422335.77 0 423824.42 252051.28
|
||||
400 121.76143 422373.11 0 423824.53 252006.39
|
||||
450 125.29847 422330.9 0 423824.49 251997.23
|
||||
500 126.87408 422312.08 0 423824.45 252053.51
|
||||
Loop time of 24.3294 on 4 procs for 250 steps with 4000 atoms
|
||||
|
||||
|
||||
clear
|
||||
using 4 OpenMP thread(s) per MPI task
|
||||
package omp 0
|
||||
using multi-threaded neighbor list subroutines
|
||||
|
||||
read_restart repulsive.restart
|
||||
Reading restart file ...
|
||||
restart file = 17 Feb 2022, LAMMPS = 17 Feb 2022
|
||||
restoring atom style atomic from restart
|
||||
orthogonal box = (-25 -25 -25) to (25 25 25)
|
||||
1 by 1 by 1 MPI processor grid
|
||||
pair style python stores no restart info
|
||||
4000 atoms
|
||||
read_restart CPU = 0.000 seconds
|
||||
|
||||
pair_style harmonic/cut
|
||||
pair_coeff 1 1 0.2 9.0
|
||||
pair_coeff 2 2 0.4 9.0
|
||||
|
||||
shell rm -f harmonic.dat
|
||||
pair_write 1 1 1000 rsq 0.1 10.0 harmonic.dat HARM_1_1
|
||||
Creating table file harmonic.dat with DATE: 2022-03-18
|
||||
generated 1 of 1 mixed pair_coeff terms from geometric mixing rule
|
||||
Neighbor list info ...
|
||||
update every 1 steps, delay 10 steps, check yes
|
||||
max neighbors/atom: 2000, page size: 100000
|
||||
master list distance cutoff = 11
|
||||
ghost atom cutoff = 11
|
||||
binsize = 5.5, bins = 10 10 10
|
||||
1 neighbor lists, perpetual/occasional/extra = 1 0 0
|
||||
(1) pair harmonic/cut/omp, perpetual
|
||||
attributes: half, newton on
|
||||
pair build: half/bin/atomonly/newton
|
||||
stencil: half/bin/3d
|
||||
bin: standard
|
||||
pair_write 2 2 1000 rsq 0.1 10.0 harmonic.dat HARM_2_2
|
||||
Appending to table file harmonic.dat with DATE: 2022-03-18
|
||||
generated 1 of 1 mixed pair_coeff terms from geometric mixing rule
|
||||
pair_write 1 2 1000 rsq 0.1 10.0 harmonic.dat HARM_1_2
|
||||
Appending to table file harmonic.dat with DATE: 2022-03-18
|
||||
generated 1 of 1 mixed pair_coeff terms from geometric mixing rule
|
||||
|
||||
neighbor 1.0 bin
|
||||
neigh_modify every 2 delay 4 check yes
|
||||
|
||||
fix 1 all nve
|
||||
|
||||
thermo 50
|
||||
run 250 post no
|
||||
generated 1 of 1 mixed pair_coeff terms from geometric mixing rule
|
||||
Last active /omp style is pair_style harmonic/cut/omp
|
||||
Neighbor list info ...
|
||||
update every 2 steps, delay 4 steps, check yes
|
||||
max neighbors/atom: 2000, page size: 100000
|
||||
master list distance cutoff = 10
|
||||
ghost atom cutoff = 10
|
||||
binsize = 5, bins = 10 10 10
|
||||
1 neighbor lists, perpetual/occasional/extra = 1 0 0
|
||||
(1) pair harmonic/cut/omp, perpetual
|
||||
attributes: half, newton on, omp
|
||||
pair build: half/bin/atomonly/newton/omp
|
||||
stencil: half/bin/3d
|
||||
bin: standard
|
||||
Per MPI rank memory allocation (min/avg/max) = 6.023 | 6.023 | 6.023 Mbytes
|
||||
Step Temp E_pair E_mol TotEng Press
|
||||
250 128.40086 422293.71 0 423824.28 252057.16
|
||||
300 119.72871 422397.4 0 423824.6 251985.11
|
||||
350 124.88375 422335.77 0 423824.42 252051.28
|
||||
400 121.76143 422373.11 0 423824.53 252006.39
|
||||
450 125.29847 422330.9 0 423824.49 251997.23
|
||||
500 126.87408 422312.08 0 423824.45 252053.51
|
||||
Loop time of 0.219199 on 4 procs for 250 steps with 4000 atoms
|
||||
|
||||
|
||||
clear
|
||||
using 4 OpenMP thread(s) per MPI task
|
||||
package omp 0
|
||||
using multi-threaded neighbor list subroutines
|
||||
|
||||
read_restart repulsive.restart
|
||||
Reading restart file ...
|
||||
restart file = 17 Feb 2022, LAMMPS = 17 Feb 2022
|
||||
restoring atom style atomic from restart
|
||||
orthogonal box = (-25 -25 -25) to (25 25 25)
|
||||
1 by 1 by 1 MPI processor grid
|
||||
pair style python stores no restart info
|
||||
4000 atoms
|
||||
read_restart CPU = 0.000 seconds
|
||||
|
||||
pair_style table spline 1000
|
||||
pair_coeff 1 1 python.dat PYTH_A_A
|
||||
Reading pair table potential file python.dat with DATE: 2022-03-18
|
||||
pair_coeff 1 2 python.dat PYTH_A_B
|
||||
Reading pair table potential file python.dat with DATE: 2022-03-18
|
||||
pair_coeff 2 2 python.dat PYTH_B_B
|
||||
Reading pair table potential file python.dat with DATE: 2022-03-18
|
||||
|
||||
neighbor 1.0 bin
|
||||
neigh_modify every 2 delay 4 check yes
|
||||
|
||||
fix 1 all nve
|
||||
|
||||
thermo 50
|
||||
run 250 post no
|
||||
generated 0 of 1 mixed pair_coeff terms from geometric mixing rule
|
||||
Last active /omp style is pair_style table/omp
|
||||
Neighbor list info ...
|
||||
update every 2 steps, delay 4 steps, check yes
|
||||
max neighbors/atom: 2000, page size: 100000
|
||||
master list distance cutoff = 11
|
||||
ghost atom cutoff = 11
|
||||
binsize = 5.5, bins = 10 10 10
|
||||
1 neighbor lists, perpetual/occasional/extra = 1 0 0
|
||||
(1) pair table/omp, perpetual
|
||||
attributes: half, newton on, omp
|
||||
pair build: half/bin/atomonly/newton/omp
|
||||
stencil: half/bin/3d
|
||||
bin: standard
|
||||
Per MPI rank memory allocation (min/avg/max) = 6.056 | 6.056 | 6.056 Mbytes
|
||||
Step Temp E_pair E_mol TotEng Press
|
||||
250 128.40086 422293.71 0 423824.28 252057.14
|
||||
300 119.72876 422397.4 0 423824.6 251985.1
|
||||
350 124.88381 422335.77 0 423824.42 252051.26
|
||||
400 121.76148 422373.11 0 423824.53 252006.37
|
||||
450 125.29842 422330.9 0 423824.49 251997.21
|
||||
500 126.87418 422312.08 0 423824.46 252053.48
|
||||
Loop time of 0.374806 on 4 procs for 250 steps with 4000 atoms
|
||||
|
||||
|
||||
# remove temporary files
|
||||
shell rm repulsive.restart harmonic.dat python.dat
|
||||
Total wall time: 0:00:44
|
||||
Reference in New Issue
Block a user