# 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.080054295063022*${_u_distance} variable latticeconst_converted equal 4.080054295063022*1 lattice fcc ${latticeconst_converted} lattice fcc 4.08005429506302 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.000505924 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_ZhouJohnsonWadley_2004_Au__MO_468407568810_005 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 67920.0234880943 variable V0_metal equal ${V0}/(${_u_distance}*${_u_distance}*${_u_distance}) variable V0_metal equal 67920.0234880943/(${_u_distance}*${_u_distance}*${_u_distance}) variable V0_metal equal 67920.0234880943/(1*${_u_distance}*${_u_distance}) variable V0_metal equal 67920.0234880943/(1*1*${_u_distance}) variable V0_metal equal 67920.0234880943/(1*1*1) variable V0_metal_times1000 equal ${V0_metal}*1000 variable V0_metal_times1000 equal 67920.0234880943*1000 print "Initial system volume: ${V0_metal} Angstroms^3" Initial system volume: 67920.0234880943 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.165 -15589.165 -15720.021 -15720.021 253.15 253.15 67920.023 67920.023 2069.9425 2069.9425 1000 -15442.047 -15442.047 -15573.894 -15573.894 255.06853 255.06853 68900.593 68900.593 -924.30999 -924.30999 Loop time of 21.1196 on 1 procs for 1000 steps with 4000 atoms Performance: 4.091 ns/day, 5.867 hours/ns, 47.349 timesteps/s 55.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 | 20.785 | 20.785 | 20.785 | 0.0 | 98.42 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.052754 | 0.052754 | 0.052754 | 0.0 | 0.25 Output | 4.6015e-05 | 4.6015e-05 | 4.6015e-05 | 0.0 | 0.00 Modify | 0.2605 | 0.2605 | 0.2605 | 0.0 | 1.23 Other | | 0.02129 | | | 0.10 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.894 -15573.894 255.06853 255.06853 68900.593 68900.593 -924.30999 -924.30999 2000 -15460.296 -15460.296 -15588.653 -15588.653 248.31631 248.31631 68766.544 68766.544 226.24861 226.24861 Loop time of 21.2173 on 1 procs for 1000 steps with 4000 atoms Performance: 4.072 ns/day, 5.894 hours/ns, 47.131 timesteps/s 56.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 | 20.781 | 20.781 | 20.781 | 0.0 | 97.94 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.093662 | 0.093662 | 0.093662 | 0.0 | 0.44 Output | 4.5061e-05 | 4.5061e-05 | 4.5061e-05 | 0.0 | 0.00 Modify | 0.32112 | 0.32112 | 0.32112 | 0.0 | 1.51 Other | | 0.02159 | | | 0.10 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.653 -15588.653 248.31631 248.31631 68766.544 68766.544 226.24861 226.24861 3000 -15451.115 -15451.115 -15584.449 -15584.449 257.94216 257.94216 68787.761 68787.761 302.30615 302.30615 Loop time of 23.0793 on 1 procs for 1000 steps with 4000 atoms Performance: 3.744 ns/day, 6.411 hours/ns, 43.329 timesteps/s 52.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 | 22.643 | 22.643 | 22.643 | 0.0 | 98.11 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.07356 | 0.07356 | 0.07356 | 0.0 | 0.32 Output | 4.4823e-05 | 4.4823e-05 | 4.4823e-05 | 0.0 | 0.00 Modify | 0.34072 | 0.34072 | 0.34072 | 0.0 | 1.48 Other | | 0.02145 | | | 0.09 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.115 -15451.115 -15584.449 -15584.449 257.94216 257.94216 68787.761 68787.761 302.30615 302.30615 4000 -15457.766 -15457.766 -15587.887 -15587.887 251.72786 251.72786 68764.926 68764.926 376.72483 376.72483 Loop time of 24.088 on 1 procs for 1000 steps with 4000 atoms Performance: 3.587 ns/day, 6.691 hours/ns, 41.514 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.492 | 23.492 | 23.492 | 0.0 | 97.53 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.15338 | 0.15338 | 0.15338 | 0.0 | 0.64 Output | 4.3154e-05 | 4.3154e-05 | 4.3154e-05 | 0.0 | 0.00 Modify | 0.38133 | 0.38133 | 0.38133 | 0.0 | 1.58 Other | | 0.06134 | | | 0.25 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.766 -15457.766 -15587.887 -15587.887 251.72786 251.72786 68764.926 68764.926 376.72483 376.72483 5000 -15453.619 -15453.619 -15585.52 -15585.52 255.17099 255.17099 68794.031 68794.031 36.279171 36.279171 Loop time of 22.3655 on 1 procs for 1000 steps with 4000 atoms Performance: 3.863 ns/day, 6.213 hours/ns, 44.712 timesteps/s 54.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 | 21.92 | 21.92 | 21.92 | 0.0 | 98.01 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.14307 | 0.14307 | 0.14307 | 0.0 | 0.64 Output | 3.1948e-05 | 3.1948e-05 | 3.1948e-05 | 0.0 | 0.00 Modify | 0.28163 | 0.28163 | 0.28163 | 0.0 | 1.26 Other | | 0.02111 | | | 0.09 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.325079055452, Press = 10.5668693344144 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.17099 255.17099 68794.031 68794.031 36.279171 36.279171 6000 -15457.543 -15457.543 -15588.275 -15588.275 252.90878 252.90878 68746.805 68746.805 727.67418 727.67418 Loop time of 19.5148 on 1 procs for 1000 steps with 4000 atoms Performance: 4.427 ns/day, 5.421 hours/ns, 51.243 timesteps/s 61.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 | 19.155 | 19.155 | 19.155 | 0.0 | 98.16 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.092996 | 0.092996 | 0.092996 | 0.0 | 0.48 Output | 2.5988e-05 | 2.5988e-05 | 2.5988e-05 | 0.0 | 0.00 Modify | 0.24566 | 0.24566 | 0.24566 | 0.0 | 1.26 Other | | 0.02124 | | | 0.11 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: 563672 ave 563672 max 563672 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 563672 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.50414244983, Press = 16.0367547293943 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.90878 252.90878 68746.805 68746.805 727.67418 727.67418 7000 -15451.652 -15451.652 -15582.789 -15582.789 253.69253 253.69253 68732.348 68732.348 1759.6664 1759.6664 Loop time of 22.3339 on 1 procs for 1000 steps with 4000 atoms Performance: 3.869 ns/day, 6.204 hours/ns, 44.775 timesteps/s 54.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.899 | 21.899 | 21.899 | 0.0 | 98.05 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.14814 | 0.14814 | 0.14814 | 0.0 | 0.66 Output | 2.718e-05 | 2.718e-05 | 2.718e-05 | 0.0 | 0.00 Modify | 0.24544 | 0.24544 | 0.24544 | 0.0 | 1.10 Other | | 0.0416 | | | 0.19 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.214362445611, Press = 1.42612103984015 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.652 -15451.652 -15582.789 -15582.789 253.69253 253.69253 68732.348 68732.348 1759.6664 1759.6664 8000 -15457.985 -15457.985 -15586.44 -15586.44 248.50534 248.50534 68716.67 68716.67 1586.3635 1586.3635 Loop time of 20.828 on 1 procs for 1000 steps with 4000 atoms Performance: 4.148 ns/day, 5.786 hours/ns, 48.012 timesteps/s 57.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 | 20.41 | 20.41 | 20.41 | 0.0 | 97.99 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.052464 | 0.052464 | 0.052464 | 0.0 | 0.25 Output | 3.3855e-05 | 3.3855e-05 | 3.3855e-05 | 0.0 | 0.00 Modify | 0.32457 | 0.32457 | 0.32457 | 0.0 | 1.56 Other | | 0.04108 | | | 0.20 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.132153150309, Press = -8.25256847291076 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.985 -15457.985 -15586.44 -15586.44 248.50534 248.50534 68716.67 68716.67 1586.3635 1586.3635 9000 -15457.603 -15457.603 -15588.784 -15588.784 253.77865 253.77865 68785.509 68785.509 -282.26133 -282.26133 Loop time of 17.0739 on 1 procs for 1000 steps with 4000 atoms Performance: 5.060 ns/day, 4.743 hours/ns, 58.569 timesteps/s 70.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 | 16.705 | 16.705 | 16.705 | 0.0 | 97.84 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.093239 | 0.093239 | 0.093239 | 0.0 | 0.55 Output | 3.314e-05 | 3.314e-05 | 3.314e-05 | 0.0 | 0.00 Modify | 0.2343 | 0.2343 | 0.2343 | 0.0 | 1.37 Other | | 0.04163 | | | 0.24 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.154903857709, Press = -3.9991759500805 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.603 -15457.603 -15588.784 -15588.784 253.77865 253.77865 68785.509 68785.509 -282.26133 -282.26133 10000 -15454.962 -15454.962 -15585.282 -15585.282 252.11344 252.11344 68806.627 68806.627 -323.61951 -323.61951 Loop time of 20.4254 on 1 procs for 1000 steps with 4000 atoms Performance: 4.230 ns/day, 5.674 hours/ns, 48.959 timesteps/s 59.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 | 20.1 | 20.1 | 20.1 | 0.0 | 98.41 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.076809 | 0.076809 | 0.076809 | 0.0 | 0.38 Output | 4.9829e-05 | 4.9829e-05 | 4.9829e-05 | 0.0 | 0.00 Modify | 0.22632 | 0.22632 | 0.22632 | 0.0 | 1.11 Other | | 0.02237 | | | 0.11 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: 563256 ave 563256 max 563256 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 563256 Ave neighs/atom = 140.814 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.1327034206 print "LAMMPS calculation completed" LAMMPS calculation completed quit 0