# Variables that can be adjusted by kim-lammps-preprocessor to switch unit sets for # Simulator Models variable _u_distance equal 1.0 variable _u_energy equal 1.0 variable _u_mass equal 1.0 variable _u_time equal 1.0 variable _u_pressure equal 1.0 variable _u_temperature equal 1.0 # This line may be swapped out by kim-lammps-preprocessor if running against a Simulator # Model whose atom_style is not 'atomic' atom_style atomic # periodic boundary conditions along all three dimensions boundary p p p # Set neighbor skin variable neigh_skin equal 2.0*${_u_distance} variable neigh_skin equal 2.0*1 neighbor ${neigh_skin} bin neighbor 2 bin # create a supercell with cubic lattice (fcc, bcc, sc, or diamond) # using 10*10*10 conventional (orthogonal) unit cells variable latticeconst_converted equal 4.05000014603138*${_u_distance} variable latticeconst_converted equal 4.05000014603138*1 lattice fcc ${latticeconst_converted} lattice fcc 4.05000014603138 Lattice spacing in x,y,z = 4.05 4.05 4.05 region simbox block 0 10 0 10 0 10 units lattice create_box 1 simbox Created orthogonal box = (0 0 0) to (40.5 40.5 40.5) 1 by 1 by 1 MPI processor grid create_atoms 1 box Created 4000 atoms create_atoms CPU = 0.000343084 secs variable mass_converted equal 26.981538*${_u_mass} variable mass_converted equal 26.981538*1 # specify which KIM Model to use pair_style kim EAM_Dynamo_PunYamakovMishin_2013_AlCo__MO_678952612413_000 pair_coeff * * Al mass 1 ${mass_converted} mass 1 26.981538 # initial volume variable v equal vol # assign formula variable V0 equal ${v} # evaluate initial value variable V0 equal 66430.1321858394 variable V0_metal equal ${V0}/(${_u_distance}*${_u_distance}*${_u_distance}) variable V0_metal equal 66430.1321858394/(${_u_distance}*${_u_distance}*${_u_distance}) variable V0_metal equal 66430.1321858394/(1*${_u_distance}*${_u_distance}) variable V0_metal equal 66430.1321858394/(1*1*${_u_distance}) variable V0_metal equal 66430.1321858394/(1*1*1) variable V0_metal_times1000 equal ${V0_metal}*1000 variable V0_metal_times1000 equal 66430.1321858394*1000 print "Initial system volume: ${V0_metal} Angstroms^3" Initial system volume: 66430.1321858394 Angstroms^3 # set the time step to 0.001 picoseconds variable timestep_converted equal 0.001*${_u_time} variable timestep_converted equal 0.001*1 timestep ${timestep_converted} timestep 0.001 variable temp_converted equal 273.15*${_u_temperature} variable temp_converted equal 273.15*1 variable Tdamp_converted equal 0.1*${_u_time} variable Tdamp_converted equal 0.1*1 variable press_converted equal 0.0*${_u_pressure} variable press_converted equal 0.0*1 variable Pdamp_converted equal 1*${_u_time} variable Pdamp_converted equal 1*1 # create initial velocities consistent with the chosen temperature velocity all create ${temp_converted} 17 mom yes rot yes velocity all create 273.15 17 mom yes rot yes # set NPT ensemble for all atoms fix ensemble all npt temp ${temp_converted} ${temp_converted} ${Tdamp_converted} iso ${press_converted} ${press_converted} ${Pdamp_converted} fix ensemble all npt temp 273.15 ${temp_converted} ${Tdamp_converted} iso ${press_converted} ${press_converted} ${Pdamp_converted} fix ensemble all npt temp 273.15 273.15 ${Tdamp_converted} iso ${press_converted} ${press_converted} ${Pdamp_converted} fix ensemble all npt temp 273.15 273.15 0.1 iso ${press_converted} ${press_converted} ${Pdamp_converted} fix ensemble all npt temp 273.15 273.15 0.1 iso 0 ${press_converted} ${Pdamp_converted} fix ensemble all npt temp 273.15 273.15 0.1 iso 0 0 ${Pdamp_converted} fix ensemble all npt temp 273.15 273.15 0.1 iso 0 0 1 # compute the time averages of pressure, temperature, and volume, respectively # ignore the first 5000 timesteps variable etotal_metal equal etotal/${_u_energy} variable etotal_metal equal etotal/1 variable pe_metal equal pe/${_u_energy} variable pe_metal equal pe/1 variable T_metal equal temp/${_u_temperature} variable T_metal equal temp/1 variable V_metal equal vol/(${_u_distance}*${_u_distance}*${_u_distance}) variable V_metal equal vol/(1*${_u_distance}*${_u_distance}) variable V_metal equal vol/(1*1*${_u_distance}) variable V_metal equal vol/(1*1*1) variable P_metal equal press/${_u_pressure} variable P_metal equal press/1 fix avgmyTemp all ave/time 5 20 100 v_T_metal ave running start 5000 fix avgmyPress all ave/time 5 20 100 v_P_metal ave running start 5000 fix avgmyVol all ave/time 5 20 100 v_V_metal ave running start 5000 # extract fix quantities into variables so they can be used in if-else logic later. variable T equal f_avgmyTemp variable P equal f_avgmyPress variable V equal f_avgmyVol # set error bounds for temperature and pressure in original metal units (K and bar) variable T_low equal "273.15 - 0.2" variable T_up equal "273.15 + 0.2" variable P_low equal "0.0 - 0.2" variable P_up equal "0.0 + 0.2" # print to logfile every 1000 timesteps thermo_style custom step etotal v_etotal_metal pe v_pe_metal temp v_T_metal vol v_V_metal press v_P_metal thermo 1000 # Run a simulation for at most 2000*1000 timesteps. At each 1000th time step, check # whether the temperature and pressure have converged. If yes, break. label top variable a loop 2000 run 1000 Neighbor list info ... update every 1 steps, delay 10 steps, check yes max neighbors/atom: 2000, page size: 100000 master list distance cutoff = 8.49954 ghost atom cutoff = 8.49954 binsize = 4.24977, bins = 10 10 10 1 neighbor lists, perpetual/occasional/extra = 1 0 0 (1) pair kim, perpetual attributes: full, newton off, cut 8.49954 pair build: full/bin/atomonly stencil: full/bin/3d bin: standard Per MPI rank memory allocation (min/avg/max) = 5.48 | 5.48 | 5.48 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 0 -13298.806 -13298.806 -13440 -13440 273.15 273.15 66430.132 66430.132 2270.2581 2270.2581 1000 -13151.259 -13151.259 -13302.589 -13302.589 292.75979 292.75979 67087.803 67087.803 199.6447 199.6447 Loop time of 32.6364 on 1 procs for 1000 steps with 4000 atoms Performance: 2.647 ns/day, 9.066 hours/ns, 30.641 timesteps/s 41.9% CPU use with 1 MPI tasks x 1 OpenMP threads MPI task timing breakdown: Section | min time | avg time | max time |%varavg| %total --------------------------------------------------------------- Pair | 32.123 | 32.123 | 32.123 | 0.0 | 98.43 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.13286 | 0.13286 | 0.13286 | 0.0 | 0.41 Output | 3.6955e-05 | 3.6955e-05 | 3.6955e-05 | 0.0 | 0.00 Modify | 0.35895 | 0.35895 | 0.35895 | 0.0 | 1.10 Other | | 0.02174 | | | 0.07 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8195 ave 8195 max 8195 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 FullNghs: 560000 ave 560000 max 560000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 560000 Ave neighs/atom = 140 Neighbor list builds = 0 Dangerous builds = 0 if "${V_metal}>${V0_metal_times1000}" then "jump SELF unstable" if "${T}>${T_low} && ${T}<${T_up} && ${P}>${P_low} && ${P}<${P_up}" then "jump SELF break" print "flag: Temp = ${T}, Press = ${P}" flag: Temp = 0, Press = 0 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 5.48 | 5.48 | 5.48 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 1000 -13151.259 -13151.259 -13302.589 -13302.589 292.75979 292.75979 67087.803 67087.803 199.6447 199.6447 2000 -13159.48 -13159.48 -13299.798 -13299.798 271.45501 271.45501 67142.72 67142.72 -753.94914 -753.94914 Loop time of 33.8953 on 1 procs for 1000 steps with 4000 atoms Performance: 2.549 ns/day, 9.415 hours/ns, 29.503 timesteps/s 41.8% CPU use with 1 MPI tasks x 1 OpenMP threads MPI task timing breakdown: Section | min time | avg time | max time |%varavg| %total --------------------------------------------------------------- Pair | 33.313 | 33.313 | 33.313 | 0.0 | 98.28 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.13333 | 0.13333 | 0.13333 | 0.0 | 0.39 Output | 3.8862e-05 | 3.8862e-05 | 3.8862e-05 | 0.0 | 0.00 Modify | 0.38709 | 0.38709 | 0.38709 | 0.0 | 1.14 Other | | 0.06191 | | | 0.18 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8195 ave 8195 max 8195 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 FullNghs: 584018 ave 584018 max 584018 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 584018 Ave neighs/atom = 146.005 Neighbor list builds = 0 Dangerous builds = 0 if "${V_metal}>${V0_metal_times1000}" then "jump SELF unstable" if "${T}>${T_low} && ${T}<${T_up} && ${P}>${P_low} && ${P}<${P_up}" then "jump SELF break" print "flag: Temp = ${T}, Press = ${P}" flag: Temp = 0, Press = 0 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 5.48 | 5.48 | 5.48 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 2000 -13159.48 -13159.48 -13299.798 -13299.798 271.45501 271.45501 67142.72 67142.72 -753.94914 -753.94914 3000 -13159.533 -13159.533 -13298.752 -13298.752 269.32938 269.32938 67094.312 67094.312 -6.3654588 -6.3654588 Loop time of 32.689 on 1 procs for 1000 steps with 4000 atoms Performance: 2.643 ns/day, 9.080 hours/ns, 30.591 timesteps/s 43.6% CPU use with 1 MPI tasks x 1 OpenMP threads MPI task timing breakdown: Section | min time | avg time | max time |%varavg| %total --------------------------------------------------------------- Pair | 32.173 | 32.173 | 32.173 | 0.0 | 98.42 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.093747 | 0.093747 | 0.093747 | 0.0 | 0.29 Output | 3.6001e-05 | 3.6001e-05 | 3.6001e-05 | 0.0 | 0.00 Modify | 0.37953 | 0.37953 | 0.37953 | 0.0 | 1.16 Other | | 0.04222 | | | 0.13 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8195 ave 8195 max 8195 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 FullNghs: 584292 ave 584292 max 584292 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 584292 Ave neighs/atom = 146.073 Neighbor list builds = 0 Dangerous builds = 0 if "${V_metal}>${V0_metal_times1000}" then "jump SELF unstable" if "${T}>${T_low} && ${T}<${T_up} && ${P}>${P_low} && ${P}<${P_up}" then "jump SELF break" print "flag: Temp = ${T}, Press = ${P}" flag: Temp = 0, Press = 0 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 5.48 | 5.48 | 5.48 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 3000 -13159.533 -13159.533 -13298.752 -13298.752 269.32938 269.32938 67094.312 67094.312 -6.3654588 -6.3654588 4000 -13155.102 -13155.102 -13299.372 -13299.372 279.09919 279.09919 67059.856 67059.856 486.97727 486.97727 Loop time of 30.0725 on 1 procs for 1000 steps with 4000 atoms Performance: 2.873 ns/day, 8.353 hours/ns, 33.253 timesteps/s 47.1% CPU use with 1 MPI tasks x 1 OpenMP threads MPI task timing breakdown: Section | min time | avg time | max time |%varavg| %total --------------------------------------------------------------- Pair | 29.57 | 29.57 | 29.57 | 0.0 | 98.33 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.14336 | 0.14336 | 0.14336 | 0.0 | 0.48 Output | 3.8862e-05 | 3.8862e-05 | 3.8862e-05 | 0.0 | 0.00 Modify | 0.29756 | 0.29756 | 0.29756 | 0.0 | 0.99 Other | | 0.06188 | | | 0.21 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8195 ave 8195 max 8195 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 FullNghs: 585006 ave 585006 max 585006 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 585006 Ave neighs/atom = 146.251 Neighbor list builds = 0 Dangerous builds = 0 if "${V_metal}>${V0_metal_times1000}" then "jump SELF unstable" if "${T}>${T_low} && ${T}<${T_up} && ${P}>${P_low} && ${P}<${P_up}" then "jump SELF break" print "flag: Temp = ${T}, Press = ${P}" flag: Temp = 0, Press = 0 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 5.48 | 5.48 | 5.48 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 4000 -13155.102 -13155.102 -13299.372 -13299.372 279.09919 279.09919 67059.856 67059.856 486.97727 486.97727 5000 -13161.079 -13161.079 -13300.601 -13300.601 269.91492 269.91492 67079.032 67079.032 69.574266 69.574266 Loop time of 30.8195 on 1 procs for 1000 steps with 4000 atoms Performance: 2.803 ns/day, 8.561 hours/ns, 32.447 timesteps/s 46.2% CPU use with 1 MPI tasks x 1 OpenMP threads MPI task timing breakdown: Section | min time | avg time | max time |%varavg| %total --------------------------------------------------------------- Pair | 30.343 | 30.343 | 30.343 | 0.0 | 98.45 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.083738 | 0.083738 | 0.083738 | 0.0 | 0.27 Output | 2.5034e-05 | 2.5034e-05 | 2.5034e-05 | 0.0 | 0.00 Modify | 0.35067 | 0.35067 | 0.35067 | 0.0 | 1.14 Other | | 0.042 | | | 0.14 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8195 ave 8195 max 8195 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 FullNghs: 585438 ave 585438 max 585438 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 585438 Ave neighs/atom = 146.359 Neighbor list builds = 0 Dangerous builds = 0 if "${V_metal}>${V0_metal_times1000}" then "jump SELF unstable" if "${T}>${T_low} && ${T}<${T_up} && ${P}>${P_low} && ${P}<${P_up}" then "jump SELF break" print "flag: Temp = ${T}, Press = ${P}" flag: Temp = 271.02146156571, Press = 531.734308036429 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 5.48 | 5.48 | 5.48 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 5000 -13161.079 -13161.079 -13300.601 -13300.601 269.91492 269.91492 67079.032 67079.032 69.574266 69.574266 6000 -13155.453 -13155.453 -13295.885 -13295.885 271.67454 271.67454 67211.454 67211.454 -1217.1934 -1217.1934 Loop time of 29.0035 on 1 procs for 1000 steps with 4000 atoms Performance: 2.979 ns/day, 8.057 hours/ns, 34.479 timesteps/s 49.1% CPU use with 1 MPI tasks x 1 OpenMP threads MPI task timing breakdown: Section | min time | avg time | max time |%varavg| %total --------------------------------------------------------------- Pair | 28.463 | 28.463 | 28.463 | 0.0 | 98.14 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.13344 | 0.13344 | 0.13344 | 0.0 | 0.46 Output | 3.4094e-05 | 3.4094e-05 | 3.4094e-05 | 0.0 | 0.00 Modify | 0.32425 | 0.32425 | 0.32425 | 0.0 | 1.12 Other | | 0.08272 | | | 0.29 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8195 ave 8195 max 8195 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 FullNghs: 585584 ave 585584 max 585584 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 585584 Ave neighs/atom = 146.396 Neighbor list builds = 0 Dangerous builds = 0 if "${V_metal}>${V0_metal_times1000}" then "jump SELF unstable" if "${T}>${T_low} && ${T}<${T_up} && ${P}>${P_low} && ${P}<${P_up}" then "jump SELF break" print "flag: Temp = ${T}, Press = ${P}" flag: Temp = 272.862621301991, Press = 27.0340677701822 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 5.48 | 5.48 | 5.48 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 6000 -13155.453 -13155.453 -13295.885 -13295.885 271.67454 271.67454 67211.454 67211.454 -1217.1934 -1217.1934 7000 -13161.297 -13161.297 -13300.478 -13300.478 269.2542 269.2542 67106.627 67106.627 -287.55095 -287.55095 Loop time of 30.465 on 1 procs for 1000 steps with 4000 atoms Performance: 2.836 ns/day, 8.463 hours/ns, 32.825 timesteps/s 46.6% CPU use with 1 MPI tasks x 1 OpenMP threads MPI task timing breakdown: Section | min time | avg time | max time |%varavg| %total --------------------------------------------------------------- Pair | 29.912 | 29.912 | 29.912 | 0.0 | 98.18 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.073122 | 0.073122 | 0.073122 | 0.0 | 0.24 Output | 3.2902e-05 | 3.2902e-05 | 3.2902e-05 | 0.0 | 0.00 Modify | 0.41823 | 0.41823 | 0.41823 | 0.0 | 1.37 Other | | 0.0616 | | | 0.20 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8195 ave 8195 max 8195 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 FullNghs: 584048 ave 584048 max 584048 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 584048 Ave neighs/atom = 146.012 Neighbor list builds = 0 Dangerous builds = 0 if "${V_metal}>${V0_metal_times1000}" then "jump SELF unstable" if "${T}>${T_low} && ${T}<${T_up} && ${P}>${P_low} && ${P}<${P_up}" then "jump SELF break" print "flag: Temp = ${T}, Press = ${P}" flag: Temp = 272.99944261832, Press = -9.25194333223527 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 5.48 | 5.48 | 5.48 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 7000 -13161.297 -13161.297 -13300.478 -13300.478 269.2542 269.2542 67106.627 67106.627 -287.55095 -287.55095 8000 -13157.605 -13157.605 -13299.492 -13299.492 274.4894 274.4894 67046.078 67046.078 578.00846 578.00846 Loop time of 29.6485 on 1 procs for 1000 steps with 4000 atoms Performance: 2.914 ns/day, 8.236 hours/ns, 33.728 timesteps/s 47.7% CPU use with 1 MPI tasks x 1 OpenMP threads MPI task timing breakdown: Section | min time | avg time | max time |%varavg| %total --------------------------------------------------------------- Pair | 29.06 | 29.06 | 29.06 | 0.0 | 98.02 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.073188 | 0.073188 | 0.073188 | 0.0 | 0.25 Output | 3.4094e-05 | 3.4094e-05 | 3.4094e-05 | 0.0 | 0.00 Modify | 0.49351 | 0.49351 | 0.49351 | 0.0 | 1.66 Other | | 0.02164 | | | 0.07 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8195 ave 8195 max 8195 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 FullNghs: 584664 ave 584664 max 584664 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 584664 Ave neighs/atom = 146.166 Neighbor list builds = 0 Dangerous builds = 0 if "${V_metal}>${V0_metal_times1000}" then "jump SELF unstable" if "${T}>${T_low} && ${T}<${T_up} && ${P}>${P_low} && ${P}<${P_up}" then "jump SELF break" print "flag: Temp = ${T}, Press = ${P}" flag: Temp = 272.94777504842, Press = 8.54455662120028 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 5.48 | 5.48 | 5.48 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 8000 -13157.605 -13157.605 -13299.492 -13299.492 274.4894 274.4894 67046.078 67046.078 578.00846 578.00846 9000 -13159.544 -13159.544 -13301.807 -13301.807 275.21717 275.21717 67087.55 67087.55 2.0628528 2.0628528 Loop time of 28.5744 on 1 procs for 1000 steps with 4000 atoms Performance: 3.024 ns/day, 7.937 hours/ns, 34.996 timesteps/s 49.9% CPU use with 1 MPI tasks x 1 OpenMP threads MPI task timing breakdown: Section | min time | avg time | max time |%varavg| %total --------------------------------------------------------------- Pair | 28.155 | 28.155 | 28.155 | 0.0 | 98.53 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.11527 | 0.11527 | 0.11527 | 0.0 | 0.40 Output | 3.6955e-05 | 3.6955e-05 | 3.6955e-05 | 0.0 | 0.00 Modify | 0.28228 | 0.28228 | 0.28228 | 0.0 | 0.99 Other | | 0.02182 | | | 0.08 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8191 ave 8191 max 8191 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 FullNghs: 585786 ave 585786 max 585786 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 585786 Ave neighs/atom = 146.446 Neighbor list builds = 0 Dangerous builds = 0 if "${V_metal}>${V0_metal_times1000}" then "jump SELF unstable" if "${T}>${T_low} && ${T}<${T_up} && ${P}>${P_low} && ${P}<${P_up}" then "jump SELF break" print "flag: Temp = ${T}, Press = ${P}" flag: Temp = 272.617273040496, Press = 9.83344084852539 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 5.48 | 5.48 | 5.48 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 9000 -13159.544 -13159.544 -13301.807 -13301.807 275.21717 275.21717 67087.55 67087.55 2.0628528 2.0628528 10000 -13159.842 -13159.842 -13300.056 -13300.056 271.2531 271.2531 67120.465 67120.465 -407.43394 -407.43394 Loop time of 27.1331 on 1 procs for 1000 steps with 4000 atoms Performance: 3.184 ns/day, 7.537 hours/ns, 36.855 timesteps/s 51.8% CPU use with 1 MPI tasks x 1 OpenMP threads MPI task timing breakdown: Section | min time | avg time | max time |%varavg| %total --------------------------------------------------------------- Pair | 26.607 | 26.607 | 26.607 | 0.0 | 98.06 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.15281 | 0.15281 | 0.15281 | 0.0 | 0.56 Output | 5.5075e-05 | 5.5075e-05 | 5.5075e-05 | 0.0 | 0.00 Modify | 0.3519 | 0.3519 | 0.3519 | 0.0 | 1.30 Other | | 0.02172 | | | 0.08 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8195 ave 8195 max 8195 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 FullNghs: 585188 ave 585188 max 585188 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 585188 Ave neighs/atom = 146.297 Neighbor list builds = 0 Dangerous builds = 0 if "${V_metal}>${V0_metal_times1000}" then "jump SELF unstable" if "${T}>${T_low} && ${T}<${T_up} && ${P}>${P_low} && ${P}<${P_up}" then "jump SELF break" print "flag: Temp = ${T}, Press = ${P}" flag: Temp = 272.953861478167, Press = 6.68481706311717 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 5.48 | 5.48 | 5.48 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 10000 -13159.842 -13159.842 -13300.056 -13300.056 271.2531 271.2531 67120.465 67120.465 -407.43394 -407.43394 11000 -13156.736 -13156.736 -13297.17 -13297.17 271.6789 271.6789 67131.963 67131.963 -320.73239 -320.73239 Loop time of 27.2792 on 1 procs for 1000 steps with 4000 atoms Performance: 3.167 ns/day, 7.578 hours/ns, 36.658 timesteps/s 52.0% CPU use with 1 MPI tasks x 1 OpenMP threads MPI task timing breakdown: Section | min time | avg time | max time |%varavg| %total --------------------------------------------------------------- Pair | 26.812 | 26.812 | 26.812 | 0.0 | 98.29 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.13349 | 0.13349 | 0.13349 | 0.0 | 0.49 Output | 3.5048e-05 | 3.5048e-05 | 3.5048e-05 | 0.0 | 0.00 Modify | 0.31149 | 0.31149 | 0.31149 | 0.0 | 1.14 Other | | 0.02188 | | | 0.08 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8195 ave 8195 max 8195 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 FullNghs: 584962 ave 584962 max 584962 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 584962 Ave neighs/atom = 146.24 Neighbor list builds = 0 Dangerous builds = 0 if "${V_metal}>${V0_metal_times1000}" then "jump SELF unstable" if "${T}>${T_low} && ${T}<${T_up} && ${P}>${P_low} && ${P}<${P_up}" then "jump SELF break" print "flag: Temp = ${T}, Press = ${P}" flag: Temp = 273.165088378475, Press = 0.861798933167644 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 5.48 | 5.48 | 5.48 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 11000 -13156.736 -13156.736 -13297.17 -13297.17 271.6789 271.6789 67131.963 67131.963 -320.73239 -320.73239 12000 -13159.974 -13159.974 -13300.629 -13300.629 272.10683 272.10683 66998.527 66998.527 1056.6598 1056.6598 Loop time of 28.3683 on 1 procs for 1000 steps with 4000 atoms Performance: 3.046 ns/day, 7.880 hours/ns, 35.251 timesteps/s 49.9% CPU use with 1 MPI tasks x 1 OpenMP threads MPI task timing breakdown: Section | min time | avg time | max time |%varavg| %total --------------------------------------------------------------- Pair | 27.881 | 27.881 | 27.881 | 0.0 | 98.28 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.073161 | 0.073161 | 0.073161 | 0.0 | 0.26 Output | 2.5988e-05 | 2.5988e-05 | 2.5988e-05 | 0.0 | 0.00 Modify | 0.37212 | 0.37212 | 0.37212 | 0.0 | 1.31 Other | | 0.04167 | | | 0.15 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8193 ave 8193 max 8193 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 FullNghs: 584830 ave 584830 max 584830 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 584830 Ave neighs/atom = 146.208 Neighbor list builds = 0 Dangerous builds = 0 if "${V_metal}>${V0_metal_times1000}" then "jump SELF unstable" if "${T}>${T_low} && ${T}<${T_up} && ${P}>${P_low} && ${P}<${P_up}" then "jump SELF break" jump SELF break # Write final averaged volume to file if temperature and volume have converged; otherwise wirte a # flag to indicate non-convergence. variable myStep equal step if "${myStep} < 2000000" then "print '${V}' file output/vol_T273.15.out" else "print 'not_converged' file output/vol_T273.15.out" print '${V}' file output/vol_T273.15.out 67092.3413385883 print "LAMMPS calculation completed" LAMMPS calculation completed quit 0