# 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 5.386678107082844*${_u_distance} variable latticeconst_converted equal 5.386678107082844*1 lattice diamond ${latticeconst_converted} lattice diamond 5.38667810708284 Lattice spacing in x,y,z = 5.38668 5.38668 5.38668 region simbox block 0 10 0 10 0 10 units lattice create_box 1 simbox Created orthogonal box = (0 0 0) to (53.8668 53.8668 53.8668) 1 by 1 by 1 MPI processor grid create_atoms 1 box Created 8000 atoms create_atoms CPU = 0.000797987 secs variable mass_converted equal 28.0855*${_u_mass} variable mass_converted equal 28.0855*1 # specify which KIM Model to use pair_style kim SW_LeeHwang_2012LDA_Si__MO_517338295712_000 pair_coeff * * Si mass 1 ${mass_converted} mass 1 28.0855 # initial volume variable v equal vol # assign formula variable V0 equal ${v} # evaluate initial value variable V0 equal 156301.473503193 variable V0_metal equal ${V0}/(${_u_distance}*${_u_distance}*${_u_distance}) variable V0_metal equal 156301.473503193/(${_u_distance}*${_u_distance}*${_u_distance}) variable V0_metal equal 156301.473503193/(1*${_u_distance}*${_u_distance}) variable V0_metal equal 156301.473503193/(1*1*${_u_distance}) variable V0_metal equal 156301.473503193/(1*1*1) variable V0_metal_times1000 equal ${V0_metal}*1000 variable V0_metal_times1000 equal 156301.473503193*1000 print "Initial system volume: ${V0_metal} Angstroms^3" Initial system volume: 156301.473503193 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 253.15*${_u_temperature} variable temp_converted equal 253.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 253.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 253.15 ${temp_converted} ${Tdamp_converted} iso ${press_converted} ${press_converted} ${Pdamp_converted} fix ensemble all npt temp 253.15 253.15 ${Tdamp_converted} iso ${press_converted} ${press_converted} ${Pdamp_converted} fix ensemble all npt temp 253.15 253.15 0.1 iso ${press_converted} ${press_converted} ${Pdamp_converted} fix ensemble all npt temp 253.15 253.15 0.1 iso 0 ${press_converted} ${Pdamp_converted} fix ensemble all npt temp 253.15 253.15 0.1 iso 0 0 ${Pdamp_converted} fix ensemble all npt temp 253.15 253.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 "253.15 - 0.2" variable T_up equal "253.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 = 5.74044 ghost atom cutoff = 5.74044 binsize = 2.87022, bins = 19 19 19 1 neighbor lists, perpetual/occasional/extra = 1 0 0 (1) pair kim, perpetual attributes: full, newton off, cut 5.74044 pair build: full/bin/atomonly stencil: full/bin/3d bin: standard Per MPI rank memory allocation (min/avg/max) = 4.309 | 4.309 | 4.309 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 0 -23684.175 -23684.175 -23945.92 -23945.92 253.15 253.15 156301.47 156301.47 1788.6899 1788.6899 1000 -23399.976 -23399.976 -23667.44 -23667.44 258.68078 258.68078 157281.07 157281.07 -759.7364 -759.7364 Loop time of 89.4343 on 1 procs for 1000 steps with 8000 atoms Performance: 0.966 ns/day, 24.843 hours/ns, 11.181 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 | 88.463 | 88.463 | 88.463 | 0.0 | 98.91 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.073325 | 0.073325 | 0.073325 | 0.0 | 0.08 Output | 5.6982e-05 | 5.6982e-05 | 5.6982e-05 | 0.0 | 0.00 Modify | 0.79294 | 0.79294 | 0.79294 | 0.0 | 0.89 Other | | 0.1052 | | | 0.12 Nlocal: 8000 ave 8000 max 8000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 6725 ave 6725 max 6725 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: 272000 ave 272000 max 272000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 272000 Ave neighs/atom = 34 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) = 4.311 | 4.311 | 4.311 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 1000 -23399.976 -23399.976 -23667.44 -23667.44 258.68078 258.68078 157281.07 157281.07 -759.7364 -759.7364 2000 -23429.712 -23429.712 -23673.692 -23673.692 235.96911 235.96911 156976.33 156976.33 431.13159 431.13159 Loop time of 94.5543 on 1 procs for 1000 steps with 8000 atoms Performance: 0.914 ns/day, 26.265 hours/ns, 10.576 timesteps/s 44.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 | 93.834 | 93.834 | 93.834 | 0.0 | 99.24 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.14392 | 0.14392 | 0.14392 | 0.0 | 0.15 Output | 5.6028e-05 | 5.6028e-05 | 5.6028e-05 | 0.0 | 0.00 Modify | 0.53011 | 0.53011 | 0.53011 | 0.0 | 0.56 Other | | 0.04624 | | | 0.05 Nlocal: 8000 ave 8000 max 8000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 6725 ave 6725 max 6725 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: 276652 ave 276652 max 276652 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 276652 Ave neighs/atom = 34.5815 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) = 4.311 | 4.311 | 4.311 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 2000 -23429.712 -23429.712 -23673.692 -23673.692 235.96911 235.96911 156976.33 156976.33 431.13159 431.13159 3000 -23412.71 -23412.71 -23674.896 -23674.896 253.57705 253.57705 157179.44 157179.44 -396.14387 -396.14387 Loop time of 92.8426 on 1 procs for 1000 steps with 8000 atoms Performance: 0.931 ns/day, 25.790 hours/ns, 10.771 timesteps/s 44.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 | 91.891 | 91.891 | 91.891 | 0.0 | 98.98 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.12428 | 0.12428 | 0.12428 | 0.0 | 0.13 Output | 5.5075e-05 | 5.5075e-05 | 5.5075e-05 | 0.0 | 0.00 Modify | 0.73102 | 0.73102 | 0.73102 | 0.0 | 0.79 Other | | 0.09606 | | | 0.10 Nlocal: 8000 ave 8000 max 8000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 6725 ave 6725 max 6725 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: 276882 ave 276882 max 276882 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 276882 Ave neighs/atom = 34.6103 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) = 4.311 | 4.311 | 4.311 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 3000 -23412.71 -23412.71 -23674.896 -23674.896 253.57705 253.57705 157179.44 157179.44 -396.14387 -396.14387 4000 -23421.742 -23421.742 -23677.244 -23677.244 247.11197 247.11197 156984.12 156984.12 489.92358 489.92358 Loop time of 90.1864 on 1 procs for 1000 steps with 8000 atoms Performance: 0.958 ns/day, 25.052 hours/ns, 11.088 timesteps/s 46.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 | 89.105 | 89.105 | 89.105 | 0.0 | 98.80 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.1379 | 0.1379 | 0.1379 | 0.0 | 0.15 Output | 5.5075e-05 | 5.5075e-05 | 5.5075e-05 | 0.0 | 0.00 Modify | 0.80734 | 0.80734 | 0.80734 | 0.0 | 0.90 Other | | 0.1357 | | | 0.15 Nlocal: 8000 ave 8000 max 8000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 6725 ave 6725 max 6725 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: 276704 ave 276704 max 276704 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 276704 Ave neighs/atom = 34.588 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) = 4.311 | 4.311 | 4.311 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 4000 -23421.742 -23421.742 -23677.244 -23677.244 247.11197 247.11197 156984.12 156984.12 489.92358 489.92358 5000 -23420.746 -23420.746 -23675.95 -23675.95 246.82366 246.82366 157291.39 157291.39 -924.56393 -924.56393 Loop time of 92.1049 on 1 procs for 1000 steps with 8000 atoms Performance: 0.938 ns/day, 25.585 hours/ns, 10.857 timesteps/s 45.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 | 91.204 | 91.204 | 91.204 | 0.0 | 99.02 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.1531 | 0.1531 | 0.1531 | 0.0 | 0.17 Output | 3.6001e-05 | 3.6001e-05 | 3.6001e-05 | 0.0 | 0.00 Modify | 0.67221 | 0.67221 | 0.67221 | 0.0 | 0.73 Other | | 0.07586 | | | 0.08 Nlocal: 8000 ave 8000 max 8000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 6725 ave 6725 max 6725 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: 276688 ave 276688 max 276688 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 276688 Ave neighs/atom = 34.586 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 = 253.617919001628, Press = -46.4834380268784 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 4.311 | 4.311 | 4.311 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 5000 -23420.746 -23420.746 -23675.95 -23675.95 246.82366 246.82366 157291.39 157291.39 -924.56393 -924.56393 6000 -23415.014 -23415.014 -23684.579 -23684.579 260.71263 260.71263 156926.63 156926.63 788.10471 788.10471 Loop time of 87.2247 on 1 procs for 1000 steps with 8000 atoms Performance: 0.991 ns/day, 24.229 hours/ns, 11.465 timesteps/s 47.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 | 86.338 | 86.338 | 86.338 | 0.0 | 98.98 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.11427 | 0.11427 | 0.11427 | 0.0 | 0.13 Output | 3.6001e-05 | 3.6001e-05 | 3.6001e-05 | 0.0 | 0.00 Modify | 0.66679 | 0.66679 | 0.66679 | 0.0 | 0.76 Other | | 0.106 | | | 0.12 Nlocal: 8000 ave 8000 max 8000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 6725 ave 6725 max 6725 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: 276310 ave 276310 max 276310 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 276310 Ave neighs/atom = 34.5388 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 = 252.840186184562, Press = 14.9299228613486 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 4.311 | 4.311 | 4.311 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 6000 -23415.014 -23415.014 -23684.579 -23684.579 260.71263 260.71263 156926.63 156926.63 788.10471 788.10471 7000 -23424.283 -23424.283 -23686.561 -23686.561 253.66532 253.66532 157191.32 157191.32 -482.23607 -482.23607 Loop time of 101.513 on 1 procs for 1000 steps with 8000 atoms Performance: 0.851 ns/day, 28.198 hours/ns, 9.851 timesteps/s 40.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 | 100.65 | 100.65 | 100.65 | 0.0 | 99.15 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.11382 | 0.11382 | 0.11382 | 0.0 | 0.11 Output | 3.6001e-05 | 3.6001e-05 | 3.6001e-05 | 0.0 | 0.00 Modify | 0.66696 | 0.66696 | 0.66696 | 0.0 | 0.66 Other | | 0.08586 | | | 0.08 Nlocal: 8000 ave 8000 max 8000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 6725 ave 6725 max 6725 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: 276642 ave 276642 max 276642 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 276642 Ave neighs/atom = 34.5802 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 = 253.126969409025, Press = -0.314866537045076 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 4.311 | 4.311 | 4.311 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 7000 -23424.283 -23424.283 -23686.561 -23686.561 253.66532 253.66532 157191.32 157191.32 -482.23607 -482.23607 8000 -23415.232 -23415.232 -23680.008 -23680.008 256.08115 256.08115 157040.79 157040.79 248.66053 248.66053 Loop time of 101.255 on 1 procs for 1000 steps with 8000 atoms Performance: 0.853 ns/day, 28.126 hours/ns, 9.876 timesteps/s 41.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 | 100.29 | 100.29 | 100.29 | 0.0 | 99.05 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.053155 | 0.053155 | 0.053155 | 0.0 | 0.05 Output | 5.2929e-05 | 5.2929e-05 | 5.2929e-05 | 0.0 | 0.00 Modify | 0.84685 | 0.84685 | 0.84685 | 0.0 | 0.84 Other | | 0.05954 | | | 0.06 Nlocal: 8000 ave 8000 max 8000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 6725 ave 6725 max 6725 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: 275966 ave 275966 max 275966 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 275966 Ave neighs/atom = 34.4958 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 = 253.114106360882, Press = 1.18878376806375 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 4.311 | 4.311 | 4.311 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 8000 -23415.232 -23415.232 -23680.008 -23680.008 256.08115 256.08115 157040.79 157040.79 248.66053 248.66053 9000 -23421.18 -23421.18 -23678.137 -23678.137 248.51944 248.51944 157135.84 157135.84 -230.51668 -230.51668 Loop time of 98.6655 on 1 procs for 1000 steps with 8000 atoms Performance: 0.876 ns/day, 27.407 hours/ns, 10.135 timesteps/s 42.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 | 97.908 | 97.908 | 97.908 | 0.0 | 99.23 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.11378 | 0.11378 | 0.11378 | 0.0 | 0.12 Output | 4.3154e-05 | 4.3154e-05 | 4.3154e-05 | 0.0 | 0.00 Modify | 0.60806 | 0.60806 | 0.60806 | 0.0 | 0.62 Other | | 0.03548 | | | 0.04 Nlocal: 8000 ave 8000 max 8000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 6725 ave 6725 max 6725 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: 276552 ave 276552 max 276552 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 276552 Ave neighs/atom = 34.569 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 = 253.073033530788, Press = 0.264568557719591 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 4.311 | 4.311 | 4.311 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 9000 -23421.18 -23421.18 -23678.137 -23678.137 248.51944 248.51944 157135.84 157135.84 -230.51668 -230.51668 10000 -23420.189 -23420.189 -23686.492 -23686.492 257.55924 257.55924 156989.72 156989.72 473.87361 473.87361 Loop time of 98.344 on 1 procs for 1000 steps with 8000 atoms Performance: 0.879 ns/day, 27.318 hours/ns, 10.168 timesteps/s 42.3% CPU use with 1 MPI tasks x 1 OpenMP threads MPI task timing breakdown: Section | min time | avg time | max time |%varavg| %total --------------------------------------------------------------- Pair | 97.425 | 97.425 | 97.425 | 0.0 | 99.07 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.12378 | 0.12378 | 0.12378 | 0.0 | 0.13 Output | 6.7949e-05 | 6.7949e-05 | 6.7949e-05 | 0.0 | 0.00 Modify | 0.66928 | 0.66928 | 0.66928 | 0.0 | 0.68 Other | | 0.126 | | | 0.13 Nlocal: 8000 ave 8000 max 8000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 6725 ave 6725 max 6725 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: 276560 ave 276560 max 276560 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 276560 Ave neighs/atom = 34.57 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 = 253.153346400873, Press = 1.88299940627029 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 4.311 | 4.311 | 4.311 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 10000 -23420.189 -23420.189 -23686.492 -23686.492 257.55924 257.55924 156989.72 156989.72 473.87361 473.87361 11000 -23421.422 -23421.422 -23675.485 -23675.485 245.72045 245.72045 157309.59 157309.59 -1001.8586 -1001.8586 Loop time of 93.6924 on 1 procs for 1000 steps with 8000 atoms Performance: 0.922 ns/day, 26.026 hours/ns, 10.673 timesteps/s 44.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 | 92.791 | 92.791 | 92.791 | 0.0 | 99.04 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.13356 | 0.13356 | 0.13356 | 0.0 | 0.14 Output | 4.6968e-05 | 4.6968e-05 | 4.6968e-05 | 0.0 | 0.00 Modify | 0.71205 | 0.71205 | 0.71205 | 0.0 | 0.76 Other | | 0.05574 | | | 0.06 Nlocal: 8000 ave 8000 max 8000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 6725 ave 6725 max 6725 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: 276310 ave 276310 max 276310 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 276310 Ave neighs/atom = 34.5388 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 = 253.162944044435, Press = -2.6327690352457 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 4.311 | 4.311 | 4.311 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 11000 -23421.422 -23421.422 -23675.485 -23675.485 245.72045 245.72045 157309.59 157309.59 -1001.8586 -1001.8586 12000 -23416.59 -23416.59 -23676.794 -23676.794 251.65874 251.65874 156914.09 156914.09 815.29437 815.29437 Loop time of 96.1172 on 1 procs for 1000 steps with 8000 atoms Performance: 0.899 ns/day, 26.699 hours/ns, 10.404 timesteps/s 43.3% CPU use with 1 MPI tasks x 1 OpenMP threads MPI task timing breakdown: Section | min time | avg time | max time |%varavg| %total --------------------------------------------------------------- Pair | 95.164 | 95.164 | 95.164 | 0.0 | 99.01 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.15425 | 0.15425 | 0.15425 | 0.0 | 0.16 Output | 4.5061e-05 | 4.5061e-05 | 4.5061e-05 | 0.0 | 0.00 Modify | 0.76263 | 0.76263 | 0.76263 | 0.0 | 0.79 Other | | 0.03618 | | | 0.04 Nlocal: 8000 ave 8000 max 8000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 6725 ave 6725 max 6725 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: 276178 ave 276178 max 276178 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 276178 Ave neighs/atom = 34.5222 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 = 253.184309612692, Press = 2.5004878894327 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 4.311 | 4.311 | 4.311 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 12000 -23416.59 -23416.59 -23676.794 -23676.794 251.65874 251.65874 156914.09 156914.09 815.29437 815.29437 13000 -23421.473 -23421.473 -23685.87 -23685.87 255.71485 255.71485 157227.15 157227.15 -589.16228 -589.16228 Loop time of 95.2567 on 1 procs for 1000 steps with 8000 atoms Performance: 0.907 ns/day, 26.460 hours/ns, 10.498 timesteps/s 43.3% CPU use with 1 MPI tasks x 1 OpenMP threads MPI task timing breakdown: Section | min time | avg time | max time |%varavg| %total --------------------------------------------------------------- Pair | 94.348 | 94.348 | 94.348 | 0.0 | 99.05 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.093438 | 0.093438 | 0.093438 | 0.0 | 0.10 Output | 4.1962e-05 | 4.1962e-05 | 4.1962e-05 | 0.0 | 0.00 Modify | 0.70673 | 0.70673 | 0.70673 | 0.0 | 0.74 Other | | 0.1088 | | | 0.11 Nlocal: 8000 ave 8000 max 8000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 6725 ave 6725 max 6725 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: 276878 ave 276878 max 276878 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 276878 Ave neighs/atom = 34.6097 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 = 253.111478741551, Press = -1.22468855309967 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 4.311 | 4.311 | 4.311 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 13000 -23421.473 -23421.473 -23685.87 -23685.87 255.71485 255.71485 157227.15 157227.15 -589.16228 -589.16228 14000 -23415.71 -23415.71 -23678.969 -23678.969 254.61484 254.61484 157029.71 157029.71 326.43579 326.43579 Loop time of 98.0639 on 1 procs for 1000 steps with 8000 atoms Performance: 0.881 ns/day, 27.240 hours/ns, 10.197 timesteps/s 42.5% CPU use with 1 MPI tasks x 1 OpenMP threads MPI task timing breakdown: Section | min time | avg time | max time |%varavg| %total --------------------------------------------------------------- Pair | 96.98 | 96.98 | 96.98 | 0.0 | 98.90 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.093656 | 0.093656 | 0.093656 | 0.0 | 0.10 Output | 4.4107e-05 | 4.4107e-05 | 4.4107e-05 | 0.0 | 0.00 Modify | 0.89329 | 0.89329 | 0.89329 | 0.0 | 0.91 Other | | 0.09642 | | | 0.10 Nlocal: 8000 ave 8000 max 8000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 6725 ave 6725 max 6725 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: 275950 ave 275950 max 275950 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 275950 Ave neighs/atom = 34.4937 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 = 253.234466869187, Press = 1.14540551951263 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 4.311 | 4.311 | 4.311 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 14000 -23415.71 -23415.71 -23678.969 -23678.969 254.61484 254.61484 157029.71 157029.71 326.43579 326.43579 15000 -23419.163 -23419.163 -23680.047 -23680.047 252.31668 252.31668 157139.02 157139.02 -192.42069 -192.42069 Loop time of 88.9966 on 1 procs for 1000 steps with 8000 atoms Performance: 0.971 ns/day, 24.721 hours/ns, 11.236 timesteps/s 46.5% CPU use with 1 MPI tasks x 1 OpenMP threads MPI task timing breakdown: Section | min time | avg time | max time |%varavg| %total --------------------------------------------------------------- Pair | 88.129 | 88.129 | 88.129 | 0.0 | 99.03 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.073397 | 0.073397 | 0.073397 | 0.0 | 0.08 Output | 3.5048e-05 | 3.5048e-05 | 3.5048e-05 | 0.0 | 0.00 Modify | 0.75848 | 0.75848 | 0.75848 | 0.0 | 0.85 Other | | 0.03573 | | | 0.04 Nlocal: 8000 ave 8000 max 8000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 6725 ave 6725 max 6725 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: 276422 ave 276422 max 276422 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 276422 Ave neighs/atom = 34.5528 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_T253.15.out" else "print 'not_converged' file output/vol_T253.15.out" print '${V}' file output/vol_T253.15.out 157094.79655163 print "LAMMPS calculation completed" LAMMPS calculation completed quit 0