# 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 3.921837165951729*${_u_distance} variable latticeconst_converted equal 3.921837165951729*1 lattice fcc ${latticeconst_converted} lattice fcc 3.92183716595173 Lattice spacing in x,y,z = 3.92184 3.92184 3.92184 region simbox block 0 10 0 10 0 10 units lattice create_box 1 simbox Created orthogonal box = (0 0 0) to (39.2184 39.2184 39.2184) 1 by 1 by 1 MPI processor grid create_atoms 1 box Created 4000 atoms create_atoms CPU = 0.000469923 secs variable mass_converted equal 195.078*${_u_mass} variable mass_converted equal 195.078*1 # specify which KIM Model to use pair_style kim EMT_Asap_Standard_JacobsenStoltzeNorskov_1996_Pt__MO_637493005914_001 pair_coeff * * Pt mass 1 ${mass_converted} mass 1 195.078 # initial volume variable v equal vol # assign formula variable V0 equal ${v} # evaluate initial value variable V0 equal 60321.0195789447 variable V0_metal equal ${V0}/(${_u_distance}*${_u_distance}*${_u_distance}) variable V0_metal equal 60321.0195789447/(${_u_distance}*${_u_distance}*${_u_distance}) variable V0_metal equal 60321.0195789447/(1*${_u_distance}*${_u_distance}) variable V0_metal equal 60321.0195789447/(1*1*${_u_distance}) variable V0_metal equal 60321.0195789447/(1*1*1) variable V0_metal_times1000 equal ${V0_metal}*1000 variable V0_metal_times1000 equal 60321.0195789447*1000 print "Initial system volume: ${V0_metal} Angstroms^3" Initial system volume: 60321.0195789447 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 = 7.41343 ghost atom cutoff = 7.41343 binsize = 3.70671, bins = 11 11 11 1 neighbor lists, perpetual/occasional/extra = 1 0 0 (1) pair kim, perpetual attributes: full, newton off, cut 7.41343 pair build: full/bin/atomonly stencil: full/bin/3d bin: standard Per MPI rank memory allocation (min/avg/max) = 5.369 | 5.369 | 5.369 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 0 -23228.326 -23228.326 -23400.535 -23400.535 333.15 333.15 60321.02 60321.02 3049.4564 3049.4564 1000 -23034.462 -23034.462 -23212.857 -23212.857 345.11723 345.11723 61252.918 61252.918 1324.8615 1324.8615 Loop time of 66.4895 on 1 procs for 1000 steps with 4000 atoms Performance: 1.299 ns/day, 18.469 hours/ns, 15.040 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 | 66.056 | 66.056 | 66.056 | 0.0 | 99.35 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.058833 | 0.058833 | 0.058833 | 0.0 | 0.09 Output | 3.7193e-05 | 3.7193e-05 | 3.7193e-05 | 0.0 | 0.00 Modify | 0.3351 | 0.3351 | 0.3351 | 0.0 | 0.50 Other | | 0.03976 | | | 0.06 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 5841 ave 5841 max 5841 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: 536000 ave 536000 max 536000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 536000 Ave neighs/atom = 134 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.369 | 5.369 | 5.369 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 1000 -23034.462 -23034.462 -23212.857 -23212.857 345.11723 345.11723 61252.918 61252.918 1324.8615 1324.8615 2000 -23056.615 -23056.615 -23227.338 -23227.338 330.27524 330.27524 61194.647 61194.647 792.23171 792.23171 Loop time of 67.1486 on 1 procs for 1000 steps with 4000 atoms Performance: 1.287 ns/day, 18.652 hours/ns, 14.892 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 | 66.72 | 66.72 | 66.72 | 0.0 | 99.36 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.11915 | 0.11915 | 0.11915 | 0.0 | 0.18 Output | 3.9101e-05 | 3.9101e-05 | 3.9101e-05 | 0.0 | 0.00 Modify | 0.2698 | 0.2698 | 0.2698 | 0.0 | 0.40 Other | | 0.03974 | | | 0.06 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 5841 ave 5841 max 5841 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: 464272 ave 464272 max 464272 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 464272 Ave neighs/atom = 116.068 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.369 | 5.369 | 5.369 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 2000 -23056.615 -23056.615 -23227.338 -23227.338 330.27524 330.27524 61194.647 61194.647 792.23171 792.23171 3000 -23043.017 -23043.017 -23219.277 -23219.277 340.98662 340.98662 61241.182 61241.182 649.02535 649.02535 Loop time of 65.0834 on 1 procs for 1000 steps with 4000 atoms Performance: 1.328 ns/day, 18.079 hours/ns, 15.365 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 | 64.556 | 64.556 | 64.556 | 0.0 | 99.19 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.039131 | 0.039131 | 0.039131 | 0.0 | 0.06 Output | 3.6001e-05 | 3.6001e-05 | 3.6001e-05 | 0.0 | 0.00 Modify | 0.46834 | 0.46834 | 0.46834 | 0.0 | 0.72 Other | | 0.01967 | | | 0.03 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 5841 ave 5841 max 5841 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: 467558 ave 467558 max 467558 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 467558 Ave neighs/atom = 116.889 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.369 | 5.369 | 5.369 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 3000 -23043.017 -23043.017 -23219.277 -23219.277 340.98662 340.98662 61241.182 61241.182 649.02535 649.02535 4000 -23057.656 -23057.656 -23225.974 -23225.974 325.62175 325.62175 61227.014 61227.014 -412.19812 -412.19812 Loop time of 64.7923 on 1 procs for 1000 steps with 4000 atoms Performance: 1.333 ns/day, 17.998 hours/ns, 15.434 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 | 64.248 | 64.248 | 64.248 | 0.0 | 99.16 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.19919 | 0.19919 | 0.19919 | 0.0 | 0.31 Output | 3.314e-05 | 3.314e-05 | 3.314e-05 | 0.0 | 0.00 Modify | 0.32551 | 0.32551 | 0.32551 | 0.0 | 0.50 Other | | 0.01956 | | | 0.03 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 5841 ave 5841 max 5841 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: 465904 ave 465904 max 465904 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 465904 Ave neighs/atom = 116.476 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.369 | 5.369 | 5.369 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 4000 -23057.656 -23057.656 -23225.974 -23225.974 325.62175 325.62175 61227.014 61227.014 -412.19812 -412.19812 5000 -23043.509 -23043.509 -23220.605 -23220.605 342.60362 342.60362 61231.823 61231.823 785.20321 785.20321 Loop time of 60.5703 on 1 procs for 1000 steps with 4000 atoms Performance: 1.426 ns/day, 16.825 hours/ns, 16.510 timesteps/s 45.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 | 60.041 | 60.041 | 60.041 | 0.0 | 99.13 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.15952 | 0.15952 | 0.15952 | 0.0 | 0.26 Output | 3.314e-05 | 3.314e-05 | 3.314e-05 | 0.0 | 0.00 Modify | 0.32977 | 0.32977 | 0.32977 | 0.0 | 0.54 Other | | 0.03962 | | | 0.07 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 5841 ave 5841 max 5841 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: 466984 ave 466984 max 466984 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 466984 Ave neighs/atom = 116.746 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 = 334.193561145392, Press = -434.024715150484 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 5.369 | 5.369 | 5.369 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 5000 -23043.509 -23043.509 -23220.605 -23220.605 342.60362 342.60362 61231.823 61231.823 785.20321 785.20321 6000 -23053.793 -23053.793 -23221.654 -23221.654 324.7389 324.7389 61249.203 61249.203 -617.63763 -617.63763 Loop time of 60.5127 on 1 procs for 1000 steps with 4000 atoms Performance: 1.428 ns/day, 16.809 hours/ns, 16.525 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 | 59.994 | 59.994 | 59.994 | 0.0 | 99.14 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.069084 | 0.069084 | 0.069084 | 0.0 | 0.11 Output | 3.1948e-05 | 3.1948e-05 | 3.1948e-05 | 0.0 | 0.00 Modify | 0.42949 | 0.42949 | 0.42949 | 0.0 | 0.71 Other | | 0.01968 | | | 0.03 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 5841 ave 5841 max 5841 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: 466270 ave 466270 max 466270 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 466270 Ave neighs/atom = 116.567 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 = 333.844742740402, Press = -15.6526341452554 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 5.369 | 5.369 | 5.369 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 6000 -23053.793 -23053.793 -23221.654 -23221.654 324.7389 324.7389 61249.203 61249.203 -617.63763 -617.63763 7000 -23047.782 -23047.782 -23222.988 -23222.988 338.94842 338.94842 61195.488 61195.488 1751.0395 1751.0395 Loop time of 54.5339 on 1 procs for 1000 steps with 4000 atoms Performance: 1.584 ns/day, 15.148 hours/ns, 18.337 timesteps/s 49.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 | 54.137 | 54.137 | 54.137 | 0.0 | 99.27 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.12032 | 0.12032 | 0.12032 | 0.0 | 0.22 Output | 2.718e-05 | 2.718e-05 | 2.718e-05 | 0.0 | 0.00 Modify | 0.25775 | 0.25775 | 0.25775 | 0.0 | 0.47 Other | | 0.0192 | | | 0.04 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 5841 ave 5841 max 5841 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: 465832 ave 465832 max 465832 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 465832 Ave neighs/atom = 116.458 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 = 333.083870867097, Press = 17.0116726871603 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 5.369 | 5.369 | 5.369 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 7000 -23047.782 -23047.782 -23222.988 -23222.988 338.94842 338.94842 61195.488 61195.488 1751.0395 1751.0395 8000 -23050.188 -23050.188 -23222.089 -23222.089 332.55444 332.55444 61255.171 61255.171 -817.49934 -817.49934 Loop time of 55.4742 on 1 procs for 1000 steps with 4000 atoms Performance: 1.557 ns/day, 15.409 hours/ns, 18.026 timesteps/s 49.1% CPU use with 1 MPI tasks x 1 OpenMP threads MPI task timing breakdown: Section | min time | avg time | max time |%varavg| %total --------------------------------------------------------------- Pair | 55.007 | 55.007 | 55.007 | 0.0 | 99.16 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.059288 | 0.059288 | 0.059288 | 0.0 | 0.11 Output | 3.314e-05 | 3.314e-05 | 3.314e-05 | 0.0 | 0.00 Modify | 0.38844 | 0.38844 | 0.38844 | 0.0 | 0.70 Other | | 0.01963 | | | 0.04 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 5841 ave 5841 max 5841 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: 467362 ave 467362 max 467362 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 467362 Ave neighs/atom = 116.841 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 = 333.343815980825, Press = -14.9985308570402 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 5.369 | 5.369 | 5.369 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 8000 -23050.188 -23050.188 -23222.089 -23222.089 332.55444 332.55444 61255.171 61255.171 -817.49934 -817.49934 9000 -23050.583 -23050.583 -23223.918 -23223.918 335.32776 335.32776 61253.612 61253.612 -1026.2804 -1026.2804 Loop time of 64.0841 on 1 procs for 1000 steps with 4000 atoms Performance: 1.348 ns/day, 17.801 hours/ns, 15.605 timesteps/s 42.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 | 63.608 | 63.608 | 63.608 | 0.0 | 99.26 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.11835 | 0.11835 | 0.11835 | 0.0 | 0.18 Output | 3.9101e-05 | 3.9101e-05 | 3.9101e-05 | 0.0 | 0.00 Modify | 0.33819 | 0.33819 | 0.33819 | 0.0 | 0.53 Other | | 0.01953 | | | 0.03 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 5841 ave 5841 max 5841 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: 465844 ave 465844 max 465844 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 465844 Ave neighs/atom = 116.461 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 = 333.246402809069, Press = 6.77301552482643 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 5.369 | 5.369 | 5.369 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 9000 -23050.583 -23050.583 -23223.918 -23223.918 335.32776 335.32776 61253.612 61253.612 -1026.2804 -1026.2804 10000 -23052.333 -23052.333 -23225.083 -23225.083 334.19592 334.19592 61261.825 61261.825 -1700.3062 -1700.3062 Loop time of 62.3015 on 1 procs for 1000 steps with 4000 atoms Performance: 1.387 ns/day, 17.306 hours/ns, 16.051 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 | 61.767 | 61.767 | 61.767 | 0.0 | 99.14 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.099126 | 0.099126 | 0.099126 | 0.0 | 0.16 Output | 4.1008e-05 | 4.1008e-05 | 4.1008e-05 | 0.0 | 0.00 Modify | 0.3362 | 0.3362 | 0.3362 | 0.0 | 0.54 Other | | 0.09942 | | | 0.16 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 5841 ave 5841 max 5841 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: 465982 ave 465982 max 465982 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 465982 Ave neighs/atom = 116.496 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 = 333.218956816344, Press = 6.67984107469248 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 5.369 | 5.369 | 5.369 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 10000 -23052.333 -23052.333 -23225.083 -23225.083 334.19592 334.19592 61261.825 61261.825 -1700.3062 -1700.3062 11000 -23048.862 -23048.862 -23220.849 -23220.849 332.71984 332.71984 61235.35 61235.35 443.40643 443.40643 Loop time of 63.3111 on 1 procs for 1000 steps with 4000 atoms Performance: 1.365 ns/day, 17.586 hours/ns, 15.795 timesteps/s 42.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 | 62.842 | 62.842 | 62.842 | 0.0 | 99.26 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.089506 | 0.089506 | 0.089506 | 0.0 | 0.14 Output | 3.3855e-05 | 3.3855e-05 | 3.3855e-05 | 0.0 | 0.00 Modify | 0.23927 | 0.23927 | 0.23927 | 0.0 | 0.38 Other | | 0.1399 | | | 0.22 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 5841 ave 5841 max 5841 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: 466012 ave 466012 max 466012 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 466012 Ave neighs/atom = 116.503 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_T333.15.out" else "print 'not_converged' file output/vol_T333.15.out" print '${V}' file output/vol_T333.15.out 61234.9958351007 print "LAMMPS calculation completed" LAMMPS calculation completed quit 0