forked from lijiext/lammps
78 lines
2.3 KiB
Groff
78 lines
2.3 KiB
Groff
LAMMPS (10 Jan 2012)
|
|
# 3d Lennard-Jones melt
|
|
|
|
newton off
|
|
package gpu force/neigh 0 1 1 threads_per_atom 8
|
|
|
|
variable x index 2
|
|
variable y index 2
|
|
variable z index 2
|
|
|
|
variable xx equal 20*$x
|
|
variable xx equal 20*2
|
|
variable yy equal 20*$y
|
|
variable yy equal 20*2
|
|
variable zz equal 20*$z
|
|
variable zz equal 20*2
|
|
|
|
units lj
|
|
atom_style atomic
|
|
|
|
lattice fcc 0.8442
|
|
Lattice spacing in x,y,z = 1.6796 1.6796 1.6796
|
|
region box block 0 ${xx} 0 ${yy} 0 ${zz}
|
|
region box block 0 40 0 ${yy} 0 ${zz}
|
|
region box block 0 40 0 40 0 ${zz}
|
|
region box block 0 40 0 40 0 40
|
|
create_box 1 box
|
|
Created orthogonal box = (0 0 0) to (67.1838 67.1838 67.1838)
|
|
1 by 1 by 1 MPI processor grid
|
|
create_atoms 1 box
|
|
Created 256000 atoms
|
|
mass 1 1.0
|
|
|
|
velocity all create 1.44 87287 loop geom
|
|
|
|
pair_style lj/cut/gpu 5.0
|
|
pair_coeff 1 1 1.0 1.0 5.0
|
|
|
|
neighbor 0.3 bin
|
|
neigh_modify delay 0 every 20 check no
|
|
|
|
fix 1 all nve
|
|
|
|
thermo 100
|
|
run 1000
|
|
Memory usage per processor = 58.5637 Mbytes
|
|
Step Temp E_pair E_mol TotEng Press
|
|
0 1.44 -7.1616924 0 -5.0017009 -5.6743468
|
|
100 0.7599844 -6.1430228 0 -5.0030506 -0.43702259
|
|
200 0.75772866 -6.1397323 0 -5.0031437 -0.40563905
|
|
300 0.7502998 -6.1286575 0 -5.0032122 -0.33104598
|
|
400 0.73999173 -6.1132483 0 -5.003265 -0.24002836
|
|
500 0.73224837 -6.101694 0 -5.0033257 -0.16523366
|
|
600 0.72448052 -6.0900828 0 -5.0033662 -0.099466624
|
|
700 0.71878723 -6.0815904 0 -5.0034138 -0.044361885
|
|
800 0.71444388 -6.0751019 0 -5.0034403 -0.0083893389
|
|
900 0.70949961 -6.0676978 0 -5.0034525 0.032534654
|
|
1000 0.70480647 -6.0606748 0 -5.0034693 0.067358025
|
|
Loop time of 43.8997 on 1 procs for 1000 steps with 256000 atoms
|
|
|
|
Pair time (%) = 35.1574 (80.0858)
|
|
Neigh time (%) = 8.29697e-05 (0.000188998)
|
|
Comm time (%) = 1.61756 (3.68467)
|
|
Outpt time (%) = 0.011915 (0.0271413)
|
|
Other time (%) = 7.1127 (16.2022)
|
|
|
|
Nlocal: 256000 ave 256000 max 256000 min
|
|
Histogram: 1 0 0 0 0 0 0 0 0 0
|
|
Nghost: 141753 ave 141753 max 141753 min
|
|
Histogram: 1 0 0 0 0 0 0 0 0 0
|
|
Neighs: 0 ave 0 max 0 min
|
|
Histogram: 1 0 0 0 0 0 0 0 0 0
|
|
|
|
Total # of neighbors = 0
|
|
Ave neighs/atom = 0
|
|
Neighbor list builds = 50
|
|
Dangerous builds = 0
|