# 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.080053400993348*${_u_distance} variable latticeconst_converted equal 4.080053400993348*1 lattice fcc ${latticeconst_converted} lattice fcc 4.08005340099335 Lattice spacing in x,y,z = 4.08005 4.08005 4.08005 region simbox block 0 10 0 10 0 10 units lattice create_box 1 simbox Created orthogonal box = (0 0 0) to (40.8005 40.8005 40.8005) 1 by 1 by 1 MPI processor grid create_atoms 1 box Created 4000 atoms create_atoms CPU = 0.000460148 secs variable mass_converted equal 196.96655*${_u_mass} variable mass_converted equal 196.96655*1 # specify which KIM Model to use pair_style kim EAM_Dynamo_ZhouWadleyJohnson_2001NISTretabulation_Au__MO_684444719999_000 pair_coeff * * Au mass 1 ${mass_converted} mass 1 196.96655 # initial volume variable v equal vol # assign formula variable V0 equal ${v} # evaluate initial value variable V0 equal 67919.9788377916 variable V0_metal equal ${V0}/(${_u_distance}*${_u_distance}*${_u_distance}) variable V0_metal equal 67919.9788377916/(${_u_distance}*${_u_distance}*${_u_distance}) variable V0_metal equal 67919.9788377916/(1*${_u_distance}*${_u_distance}) variable V0_metal equal 67919.9788377916/(1*1*${_u_distance}) variable V0_metal equal 67919.9788377916/(1*1*1) variable V0_metal_times1000 equal ${V0_metal}*1000 variable V0_metal_times1000 equal 67919.9788377916*1000 print "Initial system volume: ${V0_metal} Angstroms^3" Initial system volume: 67919.9788377916 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 = 8.45113 ghost atom cutoff = 8.45113 binsize = 4.22557, bins = 10 10 10 1 neighbor lists, perpetual/occasional/extra = 1 0 0 (1) pair kim, perpetual attributes: full, newton off, cut 8.45113 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 -15589.164 -15589.164 -15720.02 -15720.02 253.15 253.15 67919.979 67919.979 2057.8864 2057.8864 1000 -15442.047 -15442.047 -15573.895 -15573.895 255.06891 255.06891 68900.588 68900.588 -924.54798 -924.54798 Loop time of 26.8913 on 1 procs for 1000 steps with 4000 atoms Performance: 3.213 ns/day, 7.470 hours/ns, 37.187 timesteps/s 43.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 | 26.38 | 26.38 | 26.38 | 0.0 | 98.10 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.13156 | 0.13156 | 0.13156 | 0.0 | 0.49 Output | 4.4823e-05 | 4.4823e-05 | 4.4823e-05 | 0.0 | 0.00 Modify | 0.35829 | 0.35829 | 0.35829 | 0.0 | 1.33 Other | | 0.02119 | | | 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: 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 -15442.047 -15442.047 -15573.895 -15573.895 255.06891 255.06891 68900.588 68900.588 -924.54798 -924.54798 2000 -15460.296 -15460.296 -15588.654 -15588.654 248.31681 248.31681 68766.531 68766.531 226.60815 226.60815 Loop time of 25.1511 on 1 procs for 1000 steps with 4000 atoms Performance: 3.435 ns/day, 6.986 hours/ns, 39.760 timesteps/s 47.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 | 24.722 | 24.722 | 24.722 | 0.0 | 98.29 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.052185 | 0.052185 | 0.052185 | 0.0 | 0.21 Output | 3.5048e-05 | 3.5048e-05 | 3.5048e-05 | 0.0 | 0.00 Modify | 0.30633 | 0.30633 | 0.30633 | 0.0 | 1.22 Other | | 0.071 | | | 0.28 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8177 ave 8177 max 8177 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: 563880 ave 563880 max 563880 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 563880 Ave neighs/atom = 140.97 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 -15460.296 -15460.296 -15588.654 -15588.654 248.31681 248.31681 68766.531 68766.531 226.60815 226.60815 3000 -15451.116 -15451.116 -15584.449 -15584.449 257.9411 257.9411 68787.744 68787.744 302.40388 302.40388 Loop time of 25.3649 on 1 procs for 1000 steps with 4000 atoms Performance: 3.406 ns/day, 7.046 hours/ns, 39.425 timesteps/s 47.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 | 24.875 | 24.875 | 24.875 | 0.0 | 98.07 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.092666 | 0.092666 | 0.092666 | 0.0 | 0.37 Output | 4.4107e-05 | 4.4107e-05 | 4.4107e-05 | 0.0 | 0.00 Modify | 0.35575 | 0.35575 | 0.35575 | 0.0 | 1.40 Other | | 0.0411 | | | 0.16 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8184 ave 8184 max 8184 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: 563922 ave 563922 max 563922 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 563922 Ave neighs/atom = 140.981 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 -15451.116 -15451.116 -15584.449 -15584.449 257.9411 257.9411 68787.744 68787.744 302.40388 302.40388 4000 -15457.767 -15457.767 -15587.887 -15587.887 251.72736 251.72736 68764.913 68764.913 376.8183 376.8183 Loop time of 24.3127 on 1 procs for 1000 steps with 4000 atoms Performance: 3.554 ns/day, 6.754 hours/ns, 41.131 timesteps/s 48.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 | 23.852 | 23.852 | 23.852 | 0.0 | 98.11 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.072025 | 0.072025 | 0.072025 | 0.0 | 0.30 Output | 4.4107e-05 | 4.4107e-05 | 4.4107e-05 | 0.0 | 0.00 Modify | 0.29732 | 0.29732 | 0.29732 | 0.0 | 1.22 Other | | 0.09088 | | | 0.37 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8181 ave 8181 max 8181 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: 563466 ave 563466 max 563466 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 563466 Ave neighs/atom = 140.867 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 -15457.767 -15457.767 -15587.887 -15587.887 251.72736 251.72736 68764.913 68764.913 376.8183 376.8183 5000 -15453.619 -15453.619 -15585.52 -15585.52 255.17138 255.17138 68794.015 68794.015 36.433297 36.433297 Loop time of 25.0084 on 1 procs for 1000 steps with 4000 atoms Performance: 3.455 ns/day, 6.947 hours/ns, 39.987 timesteps/s 47.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 | 24.602 | 24.602 | 24.602 | 0.0 | 98.38 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.10781 | 0.10781 | 0.10781 | 0.0 | 0.43 Output | 3.314e-05 | 3.314e-05 | 3.314e-05 | 0.0 | 0.00 Modify | 0.25746 | 0.25746 | 0.25746 | 0.0 | 1.03 Other | | 0.04101 | | | 0.16 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: 563426 ave 563426 max 563426 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 563426 Ave neighs/atom = 140.857 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 = 248.325722850873, Press = 10.4228081137087 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 -15453.619 -15453.619 -15585.52 -15585.52 255.17138 255.17138 68794.015 68794.015 36.433297 36.433297 6000 -15457.543 -15457.543 -15588.275 -15588.275 252.91002 252.91002 68746.881 68746.881 725.75261 725.75261 Loop time of 25.8291 on 1 procs for 1000 steps with 4000 atoms Performance: 3.345 ns/day, 7.175 hours/ns, 38.716 timesteps/s 45.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 | 25.413 | 25.413 | 25.413 | 0.0 | 98.39 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.1123 | 0.1123 | 0.1123 | 0.0 | 0.43 Output | 4.9114e-05 | 4.9114e-05 | 4.9114e-05 | 0.0 | 0.00 Modify | 0.2424 | 0.2424 | 0.2424 | 0.0 | 0.94 Other | | 0.06101 | | | 0.24 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8182 ave 8182 max 8182 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: 563674 ave 563674 max 563674 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 563674 Ave neighs/atom = 140.918 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.504253720208, Press = 15.9995773209117 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 -15457.543 -15457.543 -15588.275 -15588.275 252.91002 252.91002 68746.881 68746.881 725.75261 725.75261 7000 -15451.653 -15451.653 -15582.789 -15582.789 253.69122 253.69122 68732.406 68732.406 1758.0942 1758.0942 Loop time of 23.9532 on 1 procs for 1000 steps with 4000 atoms Performance: 3.607 ns/day, 6.654 hours/ns, 41.748 timesteps/s 49.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 | 23.519 | 23.519 | 23.519 | 0.0 | 98.19 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.13214 | 0.13214 | 0.13214 | 0.0 | 0.55 Output | 3.4094e-05 | 3.4094e-05 | 3.4094e-05 | 0.0 | 0.00 Modify | 0.26163 | 0.26163 | 0.26163 | 0.0 | 1.09 Other | | 0.0406 | | | 0.17 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: 563612 ave 563612 max 563612 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 563612 Ave neighs/atom = 140.903 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.21442717737, Press = 1.43698420572891 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 -15451.653 -15451.653 -15582.789 -15582.789 253.69122 253.69122 68732.406 68732.406 1758.0942 1758.0942 8000 -15457.984 -15457.984 -15586.438 -15586.438 248.5037 248.5037 68716.528 68716.528 1589.5149 1589.5149 Loop time of 23.6551 on 1 procs for 1000 steps with 4000 atoms Performance: 3.652 ns/day, 6.571 hours/ns, 42.274 timesteps/s 50.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 | 23.261 | 23.261 | 23.261 | 0.0 | 98.33 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.11204 | 0.11204 | 0.11204 | 0.0 | 0.47 Output | 3.4094e-05 | 3.4094e-05 | 3.4094e-05 | 0.0 | 0.00 Modify | 0.24139 | 0.24139 | 0.24139 | 0.0 | 1.02 Other | | 0.04079 | | | 0.17 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: 563864 ave 563864 max 563864 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 563864 Ave neighs/atom = 140.966 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.132289979202, Press = -8.256966733042 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 -15457.984 -15457.984 -15586.438 -15586.438 248.5037 248.5037 68716.528 68716.528 1589.5149 1589.5149 9000 -15457.606 -15457.606 -15588.784 -15588.784 253.77325 253.77325 68785.435 68785.435 -280.67928 -280.67928 Loop time of 24.0924 on 1 procs for 1000 steps with 4000 atoms Performance: 3.586 ns/day, 6.692 hours/ns, 41.507 timesteps/s 50.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 | 23.596 | 23.596 | 23.596 | 0.0 | 97.94 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.13234 | 0.13234 | 0.13234 | 0.0 | 0.55 Output | 3.2902e-05 | 3.2902e-05 | 3.2902e-05 | 0.0 | 0.00 Modify | 0.32351 | 0.32351 | 0.32351 | 0.0 | 1.34 Other | | 0.04094 | | | 0.17 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8186 ave 8186 max 8186 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: 563752 ave 563752 max 563752 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 563752 Ave neighs/atom = 140.938 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.15479565319, Press = -4.00863263184295 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 -15457.606 -15457.606 -15588.784 -15588.784 253.77325 253.77325 68785.435 68785.435 -280.67928 -280.67928 10000 -15454.963 -15454.963 -15585.284 -15585.284 252.11339 252.11339 68806.61 68806.61 -323.6925 -323.6925 Loop time of 22.4399 on 1 procs for 1000 steps with 4000 atoms Performance: 3.850 ns/day, 6.233 hours/ns, 44.564 timesteps/s 53.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 | 21.954 | 21.954 | 21.954 | 0.0 | 97.84 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.1524 | 0.1524 | 0.1524 | 0.0 | 0.68 Output | 5.1022e-05 | 5.1022e-05 | 5.1022e-05 | 0.0 | 0.00 Modify | 0.27234 | 0.27234 | 0.27234 | 0.0 | 1.21 Other | | 0.06103 | | | 0.27 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8188 ave 8188 max 8188 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: 563258 ave 563258 max 563258 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 563258 Ave neighs/atom = 140.815 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 68793.1206715965 print "LAMMPS calculation completed" LAMMPS calculation completed quit 0