# 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 6.070152866840363*${_u_distance} variable latticeconst_converted equal 6.070152866840363*1 lattice fcc ${latticeconst_converted} lattice fcc 6.07015286684036 Lattice spacing in x,y,z = 6.07015 6.07015 6.07015 region simbox block 0 10 0 10 0 10 units lattice create_box 1 simbox Created orthogonal box = (0 0 0) to (60.7015 60.7015 60.7015) 1 by 1 by 1 MPI processor grid create_atoms 1 box Created 4000 atoms create_atoms CPU = 0.000478029 secs variable mass_converted equal 87.62*${_u_mass} variable mass_converted equal 87.62*1 # specify which KIM Model to use pair_style kim Morse_Shifted_GirifalcoWeizer_1959HighCutoff_Sr__MO_497591319122_002 WARNING: KIM Model does not provide `partialParticleVirial'; virial per atom will be zero (src/KIM/pair_kim.cpp:1089) pair_coeff * * Sr mass 1 ${mass_converted} mass 1 87.62 # initial volume variable v equal vol # assign formula variable V0 equal ${v} # evaluate initial value variable V0 equal 223665.440515879 variable V0_metal equal ${V0}/(${_u_distance}*${_u_distance}*${_u_distance}) variable V0_metal equal 223665.440515879/(${_u_distance}*${_u_distance}*${_u_distance}) variable V0_metal equal 223665.440515879/(1*${_u_distance}*${_u_distance}) variable V0_metal equal 223665.440515879/(1*1*${_u_distance}) variable V0_metal equal 223665.440515879/(1*1*1) variable V0_metal_times1000 equal ${V0_metal}*1000 variable V0_metal_times1000 equal 223665.440515879*1000 print "Initial system volume: ${V0_metal} Angstroms^3" Initial system volume: 223665.440515879 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 333.15*${_u_temperature} variable temp_converted equal 333.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 333.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 333.15 ${temp_converted} ${Tdamp_converted} iso ${press_converted} ${press_converted} ${Pdamp_converted} fix ensemble all npt temp 333.15 333.15 ${Tdamp_converted} iso ${press_converted} ${press_converted} ${Pdamp_converted} fix ensemble all npt temp 333.15 333.15 0.1 iso ${press_converted} ${press_converted} ${Pdamp_converted} fix ensemble all npt temp 333.15 333.15 0.1 iso 0 ${press_converted} ${Pdamp_converted} fix ensemble all npt temp 333.15 333.15 0.1 iso 0 0 ${Pdamp_converted} fix ensemble all npt temp 333.15 333.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 "333.15 - 0.2" variable T_up equal "333.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 = 20.5961 ghost atom cutoff = 20.5961 binsize = 10.298, bins = 6 6 6 1 neighbor lists, perpetual/occasional/extra = 1 0 0 (1) pair kim, perpetual attributes: full, newton off, cut 20.5961 pair build: full/bin/atomonly stencil: full/bin/3d bin: standard Per MPI rank memory allocation (min/avg/max) = 16.55 | 16.55 | 16.55 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 0 -6750.2077 -6750.2077 -6922.4167 -6922.4167 333.15 333.15 223665.44 223665.44 822.38757 822.38757 1000 -6556.1518 -6556.1518 -6730.0848 -6730.0848 336.48509 336.48509 229466.25 229466.25 20.690278 20.690278 Loop time of 127.552 on 1 procs for 1000 steps with 4000 atoms Performance: 0.677 ns/day, 35.431 hours/ns, 7.840 timesteps/s 46.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 | 126.09 | 126.09 | 126.09 | 0.0 | 98.85 Neigh | 1.0579 | 1.0579 | 1.0579 | 0.0 | 0.83 Comm | 0.18776 | 0.18776 | 0.18776 | 0.0 | 0.15 Output | 4.4107e-05 | 4.4107e-05 | 4.4107e-05 | 0.0 | 0.00 Modify | 0.19513 | 0.19513 | 0.19513 | 0.0 | 0.15 Other | | 0.02323 | | | 0.02 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 13969 ave 13969 max 13969 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: 2.54437e+06 ave 2.54437e+06 max 2.54437e+06 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 2544374 Ave neighs/atom = 636.093 Neighbor list builds = 7 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) = 16.55 | 16.55 | 16.55 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 1000 -6556.1518 -6556.1518 -6730.0848 -6730.0848 336.48509 336.48509 229466.25 229466.25 20.690278 20.690278 2000 -6564.9798 -6564.9798 -6741.0878 -6741.0878 340.69286 340.69286 229557.44 229557.44 -147.08184 -147.08184 Loop time of 144.959 on 1 procs for 1000 steps with 4000 atoms Performance: 0.596 ns/day, 40.266 hours/ns, 6.898 timesteps/s 41.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 | 143.19 | 143.19 | 143.19 | 0.0 | 98.78 Neigh | 1.1 | 1.1 | 1.1 | 0.0 | 0.76 Comm | 0.22771 | 0.22771 | 0.22771 | 0.0 | 0.16 Output | 3.5048e-05 | 3.5048e-05 | 3.5048e-05 | 0.0 | 0.00 Modify | 0.37608 | 0.37608 | 0.37608 | 0.0 | 0.26 Other | | 0.06355 | | | 0.04 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 13969 ave 13969 max 13969 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: 2.54146e+06 ave 2.54146e+06 max 2.54146e+06 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 2541460 Ave neighs/atom = 635.365 Neighbor list builds = 7 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) = 16.55 | 16.55 | 16.55 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 2000 -6564.9798 -6564.9798 -6741.0878 -6741.0878 340.69286 340.69286 229557.44 229557.44 -147.08184 -147.08184 3000 -6573.4858 -6573.4858 -6749.6833 -6749.6833 340.86612 340.86612 229135.34 229135.34 -18.490976 -18.490976 Loop time of 141.03 on 1 procs for 1000 steps with 4000 atoms Performance: 0.613 ns/day, 39.175 hours/ns, 7.091 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 | 139.31 | 139.31 | 139.31 | 0.0 | 98.78 Neigh | 1.1145 | 1.1145 | 1.1145 | 0.0 | 0.79 Comm | 0.2059 | 0.2059 | 0.2059 | 0.0 | 0.15 Output | 4.5061e-05 | 4.5061e-05 | 4.5061e-05 | 0.0 | 0.00 Modify | 0.29444 | 0.29444 | 0.29444 | 0.0 | 0.21 Other | | 0.1033 | | | 0.07 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 13969 ave 13969 max 13969 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: 2.54356e+06 ave 2.54356e+06 max 2.54356e+06 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 2543560 Ave neighs/atom = 635.89 Neighbor list builds = 6 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) = 16.55 | 16.55 | 16.55 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 3000 -6573.4858 -6573.4858 -6749.6833 -6749.6833 340.86612 340.86612 229135.34 229135.34 -18.490976 -18.490976 4000 -6581.6077 -6581.6077 -6747.7156 -6747.7156 321.34692 321.34692 228764.92 228764.92 135.33011 135.33011 Loop time of 137.106 on 1 procs for 1000 steps with 4000 atoms Performance: 0.630 ns/day, 38.085 hours/ns, 7.294 timesteps/s 43.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 | 135.34 | 135.34 | 135.34 | 0.0 | 98.71 Neigh | 1.2425 | 1.2425 | 1.2425 | 0.0 | 0.91 Comm | 0.16703 | 0.16703 | 0.16703 | 0.0 | 0.12 Output | 3.6955e-05 | 3.6955e-05 | 3.6955e-05 | 0.0 | 0.00 Modify | 0.31204 | 0.31204 | 0.31204 | 0.0 | 0.23 Other | | 0.04357 | | | 0.03 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 13969 ave 13969 max 13969 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: 2.54463e+06 ave 2.54463e+06 max 2.54463e+06 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 2544630 Ave neighs/atom = 636.158 Neighbor list builds = 6 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) = 16.55 | 16.55 | 16.55 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 4000 -6581.6077 -6581.6077 -6747.7156 -6747.7156 321.34692 321.34692 228764.92 228764.92 135.33011 135.33011 5000 -6566.4765 -6566.4765 -6739.5738 -6739.5738 334.86849 334.86849 229428.18 229428.18 -66.964165 -66.964165 Loop time of 132.115 on 1 procs for 1000 steps with 4000 atoms Performance: 0.654 ns/day, 36.699 hours/ns, 7.569 timesteps/s 45.4% CPU use with 1 MPI tasks x 1 OpenMP threads MPI task timing breakdown: Section | min time | avg time | max time |%varavg| %total --------------------------------------------------------------- Pair | 130.57 | 130.57 | 130.57 | 0.0 | 98.83 Neigh | 1.0305 | 1.0305 | 1.0305 | 0.0 | 0.78 Comm | 0.1467 | 0.1467 | 0.1467 | 0.0 | 0.11 Output | 5.1022e-05 | 5.1022e-05 | 5.1022e-05 | 0.0 | 0.00 Modify | 0.32624 | 0.32624 | 0.32624 | 0.0 | 0.25 Other | | 0.04356 | | | 0.03 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 13969 ave 13969 max 13969 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: 2.54405e+06 ave 2.54405e+06 max 2.54405e+06 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 2544054 Ave neighs/atom = 636.014 Neighbor list builds = 6 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 = 340.301749537186, Press = 9.20941289442213 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 16.55 | 16.55 | 16.55 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 5000 -6566.4765 -6566.4765 -6739.5738 -6739.5738 334.86849 334.86849 229428.18 229428.18 -66.964165 -66.964165 6000 -6579.1406 -6579.1406 -6744.7729 -6744.7729 320.42702 320.42702 229309.06 229309.06 -109.65935 -109.65935 Loop time of 150.988 on 1 procs for 1000 steps with 4000 atoms Performance: 0.572 ns/day, 41.941 hours/ns, 6.623 timesteps/s 39.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 | 148.92 | 148.92 | 148.92 | 0.0 | 98.63 Neigh | 1.1904 | 1.1904 | 1.1904 | 0.0 | 0.79 Comm | 0.24669 | 0.24669 | 0.24669 | 0.0 | 0.16 Output | 2.5988e-05 | 2.5988e-05 | 2.5988e-05 | 0.0 | 0.00 Modify | 0.52881 | 0.52881 | 0.52881 | 0.0 | 0.35 Other | | 0.1034 | | | 0.07 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 13969 ave 13969 max 13969 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: 2.54606e+06 ave 2.54606e+06 max 2.54606e+06 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 2546060 Ave neighs/atom = 636.515 Neighbor list builds = 6 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 = 333.016983930406, Press = -7.61117764860952 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 16.55 | 16.55 | 16.55 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 6000 -6579.1406 -6579.1406 -6744.7729 -6744.7729 320.42702 320.42702 229309.06 229309.06 -109.65935 -109.65935 7000 -6563.2231 -6563.2231 -6742.2658 -6742.2658 346.37038 346.37038 228803.31 228803.31 241.65186 241.65186 Loop time of 147.381 on 1 procs for 1000 steps with 4000 atoms Performance: 0.586 ns/day, 40.939 hours/ns, 6.785 timesteps/s 40.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 | 145.48 | 145.48 | 145.48 | 0.0 | 98.71 Neigh | 1.2741 | 1.2741 | 1.2741 | 0.0 | 0.86 Comm | 0.20752 | 0.20752 | 0.20752 | 0.0 | 0.14 Output | 3.2902e-05 | 3.2902e-05 | 3.2902e-05 | 0.0 | 0.00 Modify | 0.3793 | 0.3793 | 0.3793 | 0.0 | 0.26 Other | | 0.04335 | | | 0.03 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 13969 ave 13969 max 13969 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: 2.54538e+06 ave 2.54538e+06 max 2.54538e+06 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 2545376 Ave neighs/atom = 636.344 Neighbor list builds = 7 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 = 333.161794850228, Press = -4.95527050243531 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 16.55 | 16.55 | 16.55 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 7000 -6563.2231 -6563.2231 -6742.2658 -6742.2658 346.37038 346.37038 228803.31 228803.31 241.65186 241.65186 8000 -6574.4701 -6574.4701 -6746.8306 -6746.8306 333.44313 333.44313 228832 228832 132.40717 132.40717 Loop time of 150.547 on 1 procs for 1000 steps with 4000 atoms Performance: 0.574 ns/day, 41.819 hours/ns, 6.642 timesteps/s 40.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 | 148.52 | 148.52 | 148.52 | 0.0 | 98.65 Neigh | 1.3139 | 1.3139 | 1.3139 | 0.0 | 0.87 Comm | 0.30777 | 0.30777 | 0.30777 | 0.0 | 0.20 Output | 2.5988e-05 | 2.5988e-05 | 2.5988e-05 | 0.0 | 0.00 Modify | 0.34134 | 0.34134 | 0.34134 | 0.0 | 0.23 Other | | 0.06377 | | | 0.04 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 13969 ave 13969 max 13969 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: 2.54849e+06 ave 2.54849e+06 max 2.54849e+06 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 2548492 Ave neighs/atom = 637.123 Neighbor list builds = 7 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 = 333.371272322683, Press = 3.97149523147412 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 16.55 | 16.55 | 16.55 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 8000 -6574.4701 -6574.4701 -6746.8306 -6746.8306 333.44313 333.44313 228832 228832 132.40717 132.40717 9000 -6572.7381 -6572.7381 -6741.6225 -6741.6225 326.71839 326.71839 229520.5 229520.5 -163.40242 -163.40242 Loop time of 147.674 on 1 procs for 1000 steps with 4000 atoms Performance: 0.585 ns/day, 41.021 hours/ns, 6.772 timesteps/s 40.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 | 145.96 | 145.96 | 145.96 | 0.0 | 98.84 Neigh | 1.128 | 1.128 | 1.128 | 0.0 | 0.76 Comm | 0.18702 | 0.18702 | 0.18702 | 0.0 | 0.13 Output | 2.718e-05 | 2.718e-05 | 2.718e-05 | 0.0 | 0.00 Modify | 0.35985 | 0.35985 | 0.35985 | 0.0 | 0.24 Other | | 0.0435 | | | 0.03 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 13969 ave 13969 max 13969 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: 2.54672e+06 ave 2.54672e+06 max 2.54672e+06 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 2546716 Ave neighs/atom = 636.679 Neighbor list builds = 6 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 = 333.467535023095, Press = -0.265476424879252 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 16.55 | 16.55 | 16.55 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 9000 -6572.7381 -6572.7381 -6741.6225 -6741.6225 326.71839 326.71839 229520.5 229520.5 -163.40242 -163.40242 10000 -6575.2946 -6575.2946 -6745.6522 -6745.6522 329.56827 329.56827 229021.72 229021.72 47.509614 47.509614 Loop time of 139.958 on 1 procs for 1000 steps with 4000 atoms Performance: 0.617 ns/day, 38.877 hours/ns, 7.145 timesteps/s 42.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 | 138.29 | 138.29 | 138.29 | 0.0 | 98.81 Neigh | 1.0387 | 1.0387 | 1.0387 | 0.0 | 0.74 Comm | 0.22713 | 0.22713 | 0.22713 | 0.0 | 0.16 Output | 3.314e-05 | 3.314e-05 | 3.314e-05 | 0.0 | 0.00 Modify | 0.35609 | 0.35609 | 0.35609 | 0.0 | 0.25 Other | | 0.04417 | | | 0.03 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 13969 ave 13969 max 13969 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: 2.54229e+06 ave 2.54229e+06 max 2.54229e+06 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 2542288 Ave neighs/atom = 635.572 Neighbor list builds = 6 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 = 333.472344612504, Press = -1.2695096662972 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 16.55 | 16.55 | 16.55 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 10000 -6575.2946 -6575.2946 -6745.6522 -6745.6522 329.56827 329.56827 229021.72 229021.72 47.509614 47.509614 11000 -6569.1766 -6569.1766 -6743.1411 -6743.1411 336.54599 336.54599 229062.76 229062.76 72.838356 72.838356 Loop time of 142.167 on 1 procs for 1000 steps with 4000 atoms Performance: 0.608 ns/day, 39.491 hours/ns, 7.034 timesteps/s 42.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 | 140.54 | 140.54 | 140.54 | 0.0 | 98.86 Neigh | 1.0317 | 1.0317 | 1.0317 | 0.0 | 0.73 Comm | 0.26984 | 0.26984 | 0.26984 | 0.0 | 0.19 Output | 3.2902e-05 | 3.2902e-05 | 3.2902e-05 | 0.0 | 0.00 Modify | 0.30187 | 0.30187 | 0.30187 | 0.0 | 0.21 Other | | 0.02367 | | | 0.02 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 13969 ave 13969 max 13969 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: 2.54353e+06 ave 2.54353e+06 max 2.54353e+06 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 2543530 Ave neighs/atom = 635.883 Neighbor list builds = 6 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 = 333.5600099682, Press = -0.0969431432742272 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 16.55 | 16.55 | 16.55 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 11000 -6569.1766 -6569.1766 -6743.1411 -6743.1411 336.54599 336.54599 229062.76 229062.76 72.838356 72.838356 12000 -6566.9565 -6566.9565 -6739.2879 -6739.2879 333.38666 333.38666 229377.32 229377.32 -49.119883 -49.119883 Loop time of 155.292 on 1 procs for 1000 steps with 4000 atoms Performance: 0.556 ns/day, 43.137 hours/ns, 6.439 timesteps/s 38.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 | 153.31 | 153.31 | 153.31 | 0.0 | 98.72 Neigh | 1.2836 | 1.2836 | 1.2836 | 0.0 | 0.83 Comm | 0.2035 | 0.2035 | 0.2035 | 0.0 | 0.13 Output | 2.6941e-05 | 2.6941e-05 | 2.6941e-05 | 0.0 | 0.00 Modify | 0.47039 | 0.47039 | 0.47039 | 0.0 | 0.30 Other | | 0.02373 | | | 0.02 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 13969 ave 13969 max 13969 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: 2.54456e+06 ave 2.54456e+06 max 2.54456e+06 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 2544556 Ave neighs/atom = 636.139 Neighbor list builds = 6 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 = 333.546396529884, Press = 0.546042634838754 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 16.55 | 16.55 | 16.55 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 12000 -6566.9565 -6566.9565 -6739.2879 -6739.2879 333.38666 333.38666 229377.32 229377.32 -49.119883 -49.119883 13000 -6573.9326 -6573.9326 -6743.9477 -6743.9477 328.90572 328.90572 229592.85 229592.85 -223.59316 -223.59316 Loop time of 148.48 on 1 procs for 1000 steps with 4000 atoms Performance: 0.582 ns/day, 41.244 hours/ns, 6.735 timesteps/s 40.4% CPU use with 1 MPI tasks x 1 OpenMP threads MPI task timing breakdown: Section | min time | avg time | max time |%varavg| %total --------------------------------------------------------------- Pair | 146.67 | 146.67 | 146.67 | 0.0 | 98.78 Neigh | 1.1627 | 1.1627 | 1.1627 | 0.0 | 0.78 Comm | 0.22809 | 0.22809 | 0.22809 | 0.0 | 0.15 Output | 3.2902e-05 | 3.2902e-05 | 3.2902e-05 | 0.0 | 0.00 Modify | 0.32259 | 0.32259 | 0.32259 | 0.0 | 0.22 Other | | 0.09381 | | | 0.06 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 13969 ave 13969 max 13969 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: 2.54482e+06 ave 2.54482e+06 max 2.54482e+06 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 2544818 Ave neighs/atom = 636.205 Neighbor list builds = 6 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 = 333.400080578434, Press = -1.18279007928799 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 16.55 | 16.55 | 16.55 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 13000 -6573.9326 -6573.9326 -6743.9477 -6743.9477 328.90572 328.90572 229592.85 229592.85 -223.59316 -223.59316 14000 -6571.7715 -6571.7715 -6743.1269 -6743.1269 331.49878 331.49878 228803.47 228803.47 181.53566 181.53566 Loop time of 147.24 on 1 procs for 1000 steps with 4000 atoms Performance: 0.587 ns/day, 40.900 hours/ns, 6.792 timesteps/s 40.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 | 145.4 | 145.4 | 145.4 | 0.0 | 98.75 Neigh | 1.0362 | 1.0362 | 1.0362 | 0.0 | 0.70 Comm | 0.27854 | 0.27854 | 0.27854 | 0.0 | 0.19 Output | 2.6941e-05 | 2.6941e-05 | 2.6941e-05 | 0.0 | 0.00 Modify | 0.48362 | 0.48362 | 0.48362 | 0.0 | 0.33 Other | | 0.04368 | | | 0.03 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 13969 ave 13969 max 13969 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: 2.54626e+06 ave 2.54626e+06 max 2.54626e+06 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 2546262 Ave neighs/atom = 636.566 Neighbor list builds = 7 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 = 333.403812053115, Press = -0.944385638104893 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 16.55 | 16.55 | 16.55 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 14000 -6571.7715 -6571.7715 -6743.1269 -6743.1269 331.49878 331.49878 228803.47 228803.47 181.53566 181.53566 15000 -6574.3248 -6574.3248 -6744.4578 -6744.4578 329.13381 329.13381 228900.15 228900.15 111.61246 111.61246 Loop time of 143.764 on 1 procs for 1000 steps with 4000 atoms Performance: 0.601 ns/day, 39.935 hours/ns, 6.956 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 | 141.57 | 141.57 | 141.57 | 0.0 | 98.47 Neigh | 1.4579 | 1.4579 | 1.4579 | 0.0 | 1.01 Comm | 0.27521 | 0.27521 | 0.27521 | 0.0 | 0.19 Output | 3.314e-05 | 3.314e-05 | 3.314e-05 | 0.0 | 0.00 Modify | 0.39926 | 0.39926 | 0.39926 | 0.0 | 0.28 Other | | 0.0637 | | | 0.04 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 13969 ave 13969 max 13969 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: 2.54787e+06 ave 2.54787e+06 max 2.54787e+06 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 2547874 Ave neighs/atom = 636.968 Neighbor list builds = 7 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 = 333.264298513598, Press = 0.655004854896409 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 16.55 | 16.55 | 16.55 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 15000 -6574.3248 -6574.3248 -6744.4578 -6744.4578 329.13381 329.13381 228900.15 228900.15 111.61246 111.61246 16000 -6569.5252 -6569.5252 -6741.884 -6741.884 333.43976 333.43976 229408.43 229408.43 -93.717282 -93.717282 Loop time of 144.353 on 1 procs for 1000 steps with 4000 atoms Performance: 0.599 ns/day, 40.098 hours/ns, 6.927 timesteps/s 41.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 | 142.6 | 142.6 | 142.6 | 0.0 | 98.79 Neigh | 1.1113 | 1.1113 | 1.1113 | 0.0 | 0.77 Comm | 0.16807 | 0.16807 | 0.16807 | 0.0 | 0.12 Output | 2.6941e-05 | 2.6941e-05 | 2.6941e-05 | 0.0 | 0.00 Modify | 0.38584 | 0.38584 | 0.38584 | 0.0 | 0.27 Other | | 0.08372 | | | 0.06 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 13969 ave 13969 max 13969 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: 2.54528e+06 ave 2.54528e+06 max 2.54528e+06 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 2545284 Ave neighs/atom = 636.321 Neighbor list builds = 6 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_T333.15.out" else "print 'not_converged' file output/vol_T333.15.out" print '${V}' file output/vol_T333.15.out 229185.375760083 print "LAMMPS calculation completed" LAMMPS calculation completed quit 0