# 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.050000011920929*${_u_distance} variable latticeconst_converted equal 4.050000011920929*1 lattice fcc ${latticeconst_converted} lattice fcc 4.05000001192093 Lattice spacing in x,y,z = 4.05 4.05 4.05 region simbox block 0 10 0 10 0 10 units lattice create_box 1 simbox Created orthogonal box = (0 0 0) to (40.5 40.5 40.5) 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 26.981538*${_u_mass} variable mass_converted equal 26.981538*1 # specify which KIM Model to use pair_style kim EAM_Dynamo_ZopeMishin_2003_Al__MO_664470114311_005 pair_coeff * * Al mass 1 ${mass_converted} mass 1 26.981538 # initial volume variable v equal vol # assign formula variable V0 equal ${v} # evaluate initial value variable V0 equal 66430.1255865992 variable V0_metal equal ${V0}/(${_u_distance}*${_u_distance}*${_u_distance}) variable V0_metal equal 66430.1255865992/(${_u_distance}*${_u_distance}*${_u_distance}) variable V0_metal equal 66430.1255865992/(1*${_u_distance}*${_u_distance}) variable V0_metal equal 66430.1255865992/(1*1*${_u_distance}) variable V0_metal equal 66430.1255865992/(1*1*1) variable V0_metal_times1000 equal ${V0_metal}*1000 variable V0_metal_times1000 equal 66430.1255865992*1000 print "Initial system volume: ${V0_metal} Angstroms^3" Initial system volume: 66430.1255865992 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 313.15*${_u_temperature} variable temp_converted equal 313.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 313.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 313.15 ${temp_converted} ${Tdamp_converted} iso ${press_converted} ${press_converted} ${Pdamp_converted} fix ensemble all npt temp 313.15 313.15 ${Tdamp_converted} iso ${press_converted} ${press_converted} ${Pdamp_converted} fix ensemble all npt temp 313.15 313.15 0.1 iso ${press_converted} ${press_converted} ${Pdamp_converted} fix ensemble all npt temp 313.15 313.15 0.1 iso 0 ${press_converted} ${Pdamp_converted} fix ensemble all npt temp 313.15 313.15 0.1 iso 0 0 ${Pdamp_converted} fix ensemble all npt temp 313.15 313.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 "313.15 - 0.2" variable T_up equal "313.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.72488 ghost atom cutoff = 8.72488 binsize = 4.36244, bins = 10 10 10 1 neighbor lists, perpetual/occasional/extra = 1 0 0 (1) pair kim, perpetual attributes: full, newton off, cut 8.72488 pair build: full/bin/atomonly stencil: full/bin/3d bin: standard Per MPI rank memory allocation (min/avg/max) = 6.243 | 6.243 | 6.243 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 0 -13278.129 -13278.129 -13440 -13440 313.15 313.15 66430.126 66430.126 2602.6643 2602.6643 1000 -13097.015 -13097.015 -13258.028 -13258.028 311.491 311.491 67578.43 67578.43 -668.78974 -668.78974 Loop time of 40.3063 on 1 procs for 1000 steps with 4000 atoms Performance: 2.144 ns/day, 11.196 hours/ns, 24.810 timesteps/s 38.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 | 39.635 | 39.635 | 39.635 | 0.0 | 98.34 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.17348 | 0.17348 | 0.17348 | 0.0 | 0.43 Output | 3.7909e-05 | 3.7909e-05 | 3.7909e-05 | 0.0 | 0.00 Modify | 0.45574 | 0.45574 | 0.45574 | 0.0 | 1.13 Other | | 0.04184 | | | 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: 704000 ave 704000 max 704000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 704000 Ave neighs/atom = 176 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) = 6.243 | 6.243 | 6.243 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 1000 -13097.015 -13097.015 -13258.028 -13258.028 311.491 311.491 67578.43 67578.43 -668.78974 -668.78974 2000 -13113.31 -13113.31 -13270.162 -13270.162 303.44049 303.44049 67401.758 67401.758 445.85437 445.85437 Loop time of 39.7242 on 1 procs for 1000 steps with 4000 atoms Performance: 2.175 ns/day, 11.035 hours/ns, 25.174 timesteps/s 39.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 | 39.311 | 39.311 | 39.311 | 0.0 | 98.96 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.11363 | 0.11363 | 0.11363 | 0.0 | 0.29 Output | 4.5061e-05 | 4.5061e-05 | 4.5061e-05 | 0.0 | 0.00 Modify | 0.27793 | 0.27793 | 0.27793 | 0.0 | 0.70 Other | | 0.0219 | | | 0.06 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: 662244 ave 662244 max 662244 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 662244 Ave neighs/atom = 165.561 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) = 6.243 | 6.243 | 6.243 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 2000 -13113.31 -13113.31 -13270.162 -13270.162 303.44049 303.44049 67401.758 67401.758 445.85437 445.85437 3000 -13101.352 -13101.352 -13269.479 -13269.479 325.25256 325.25256 67427.765 67427.765 333.01261 333.01261 Loop time of 41.9903 on 1 procs for 1000 steps with 4000 atoms Performance: 2.058 ns/day, 11.664 hours/ns, 23.815 timesteps/s 37.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 | 41.273 | 41.273 | 41.273 | 0.0 | 98.29 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.13379 | 0.13379 | 0.13379 | 0.0 | 0.32 Output | 3.6001e-05 | 3.6001e-05 | 3.6001e-05 | 0.0 | 0.00 Modify | 0.54177 | 0.54177 | 0.54177 | 0.0 | 1.29 Other | | 0.04195 | | | 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: 665852 ave 665852 max 665852 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 665852 Ave neighs/atom = 166.463 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) = 6.243 | 6.243 | 6.243 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 3000 -13101.352 -13101.352 -13269.479 -13269.479 325.25256 325.25256 67427.765 67427.765 333.01261 333.01261 4000 -13111.9 -13111.9 -13269.391 -13269.391 304.67659 304.67659 67468.586 67468.586 -210.1518 -210.1518 Loop time of 39.3097 on 1 procs for 1000 steps with 4000 atoms Performance: 2.198 ns/day, 10.919 hours/ns, 25.439 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 | 38.641 | 38.641 | 38.641 | 0.0 | 98.30 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.14461 | 0.14461 | 0.14461 | 0.0 | 0.37 Output | 3.4809e-05 | 3.4809e-05 | 3.4809e-05 | 0.0 | 0.00 Modify | 0.48146 | 0.48146 | 0.48146 | 0.0 | 1.22 Other | | 0.04234 | | | 0.11 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: 665750 ave 665750 max 665750 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 665750 Ave neighs/atom = 166.438 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) = 6.243 | 6.243 | 6.243 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 4000 -13111.9 -13111.9 -13269.391 -13269.391 304.67659 304.67659 67468.586 67468.586 -210.1518 -210.1518 5000 -13102.619 -13102.619 -13266.775 -13266.775 317.57126 317.57126 67463.212 67463.212 97.069114 97.069114 Loop time of 45.1076 on 1 procs for 1000 steps with 4000 atoms Performance: 1.915 ns/day, 12.530 hours/ns, 22.169 timesteps/s 35.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 | 44.383 | 44.383 | 44.383 | 0.0 | 98.39 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.13438 | 0.13438 | 0.13438 | 0.0 | 0.30 Output | 3.4094e-05 | 3.4094e-05 | 3.4094e-05 | 0.0 | 0.00 Modify | 0.5285 | 0.5285 | 0.5285 | 0.0 | 1.17 Other | | 0.0621 | | | 0.14 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: 664750 ave 664750 max 664750 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 664750 Ave neighs/atom = 166.188 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 = 318.30270985929, Press = 165.468503113787 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 6.243 | 6.243 | 6.243 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 5000 -13102.619 -13102.619 -13266.775 -13266.775 317.57126 317.57126 67463.212 67463.212 97.069114 97.069114 6000 -13111.901 -13111.901 -13271.333 -13271.333 308.43117 308.43117 67385.443 67385.443 601.49642 601.49642 Loop time of 45.7411 on 1 procs for 1000 steps with 4000 atoms Performance: 1.889 ns/day, 12.706 hours/ns, 21.862 timesteps/s 34.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 | 44.989 | 44.989 | 44.989 | 0.0 | 98.36 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.23521 | 0.23521 | 0.23521 | 0.0 | 0.51 Output | 2.5988e-05 | 2.5988e-05 | 2.5988e-05 | 0.0 | 0.00 Modify | 0.45471 | 0.45471 | 0.45471 | 0.0 | 0.99 Other | | 0.06214 | | | 0.14 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: 664552 ave 664552 max 664552 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 664552 Ave neighs/atom = 166.138 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 = 313.085026469895, Press = -6.9510321135091 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 6.243 | 6.243 | 6.243 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 6000 -13111.901 -13111.901 -13271.333 -13271.333 308.43117 308.43117 67385.443 67385.443 601.49642 601.49642 7000 -13104.308 -13104.308 -13264.303 -13264.303 309.52272 309.52272 67600.005 67600.005 -1329.2123 -1329.2123 Loop time of 45.3623 on 1 procs for 1000 steps with 4000 atoms Performance: 1.905 ns/day, 12.601 hours/ns, 22.045 timesteps/s 34.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 | 44.654 | 44.654 | 44.654 | 0.0 | 98.44 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.11412 | 0.11412 | 0.11412 | 0.0 | 0.25 Output | 3.3855e-05 | 3.3855e-05 | 3.3855e-05 | 0.0 | 0.00 Modify | 0.49251 | 0.49251 | 0.49251 | 0.0 | 1.09 Other | | 0.102 | | | 0.22 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: 666194 ave 666194 max 666194 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 666194 Ave neighs/atom = 166.548 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 = 313.408798551293, Press = -0.286109943309647 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 6.243 | 6.243 | 6.243 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 7000 -13104.308 -13104.308 -13264.303 -13264.303 309.52272 309.52272 67600.005 67600.005 -1329.2123 -1329.2123 8000 -13107.511 -13107.511 -13268 -13268 310.47824 310.47824 67372.829 67372.829 901.2186 901.2186 Loop time of 44.1682 on 1 procs for 1000 steps with 4000 atoms Performance: 1.956 ns/day, 12.269 hours/ns, 22.641 timesteps/s 36.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 | 43.416 | 43.416 | 43.416 | 0.0 | 98.30 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.13454 | 0.13454 | 0.13454 | 0.0 | 0.30 Output | 3.2902e-05 | 3.2902e-05 | 3.2902e-05 | 0.0 | 0.00 Modify | 0.53522 | 0.53522 | 0.53522 | 0.0 | 1.21 Other | | 0.08222 | | | 0.19 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: 662322 ave 662322 max 662322 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 662322 Ave neighs/atom = 165.581 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 = 313.29177910145, Press = 14.1115067423899 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 6.243 | 6.243 | 6.243 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 8000 -13107.511 -13107.511 -13268 -13268 310.47824 310.47824 67372.829 67372.829 901.2186 901.2186 9000 -13104.884 -13104.884 -13268.036 -13268.036 315.6291 315.6291 67479.981 67479.981 -188.48305 -188.48305 Loop time of 41.7995 on 1 procs for 1000 steps with 4000 atoms Performance: 2.067 ns/day, 11.611 hours/ns, 23.924 timesteps/s 37.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 | 41.166 | 41.166 | 41.166 | 0.0 | 98.48 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.11388 | 0.11388 | 0.11388 | 0.0 | 0.27 Output | 3.314e-05 | 3.314e-05 | 3.314e-05 | 0.0 | 0.00 Modify | 0.42809 | 0.42809 | 0.42809 | 0.0 | 1.02 Other | | 0.09189 | | | 0.22 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: 666048 ave 666048 max 666048 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 666048 Ave neighs/atom = 166.512 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 = 313.705426099129, Press = -5.11544361136705 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 6.243 | 6.243 | 6.243 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 9000 -13104.884 -13104.884 -13268.036 -13268.036 315.6291 315.6291 67479.981 67479.981 -188.48305 -188.48305 10000 -13104.247 -13104.247 -13266.04 -13266.04 312.99931 312.99931 67499.673 67499.673 -238.63072 -238.63072 Loop time of 40.5266 on 1 procs for 1000 steps with 4000 atoms Performance: 2.132 ns/day, 11.257 hours/ns, 24.675 timesteps/s 38.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 | 39.872 | 39.872 | 39.872 | 0.0 | 98.38 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.15864 | 0.15864 | 0.15864 | 0.0 | 0.39 Output | 5.0068e-05 | 5.0068e-05 | 5.0068e-05 | 0.0 | 0.00 Modify | 0.4541 | 0.4541 | 0.4541 | 0.0 | 1.12 Other | | 0.04205 | | | 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: 664592 ave 664592 max 664592 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 664592 Ave neighs/atom = 166.148 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 = 313.550532840629, Press = 5.18182544913884 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 6.243 | 6.243 | 6.243 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 10000 -13104.247 -13104.247 -13266.04 -13266.04 312.99931 312.99931 67499.673 67499.673 -238.63072 -238.63072 11000 -13107.983 -13107.983 -13269.929 -13269.929 313.2954 313.2954 67424.846 67424.846 343.61822 343.61822 Loop time of 39.4216 on 1 procs for 1000 steps with 4000 atoms Performance: 2.192 ns/day, 10.950 hours/ns, 25.367 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 | 38.801 | 38.801 | 38.801 | 0.0 | 98.43 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.094459 | 0.094459 | 0.094459 | 0.0 | 0.24 Output | 3.5048e-05 | 3.5048e-05 | 3.5048e-05 | 0.0 | 0.00 Modify | 0.50409 | 0.50409 | 0.50409 | 0.0 | 1.28 Other | | 0.02211 | | | 0.06 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: 663482 ave 663482 max 663482 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 663482 Ave neighs/atom = 165.87 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 = 313.48087259919, Press = 1.62617685579544 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 6.243 | 6.243 | 6.243 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 11000 -13107.983 -13107.983 -13269.929 -13269.929 313.2954 313.2954 67424.846 67424.846 343.61822 343.61822 12000 -13109.243 -13109.243 -13271.675 -13271.675 314.2348 314.2348 67542.371 67542.371 -1006.6249 -1006.6249 Loop time of 38.7086 on 1 procs for 1000 steps with 4000 atoms Performance: 2.232 ns/day, 10.752 hours/ns, 25.834 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 | 38.06 | 38.06 | 38.06 | 0.0 | 98.32 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.19225 | 0.19225 | 0.19225 | 0.0 | 0.50 Output | 2.5988e-05 | 2.5988e-05 | 2.5988e-05 | 0.0 | 0.00 Modify | 0.43404 | 0.43404 | 0.43404 | 0.0 | 1.12 Other | | 0.02215 | | | 0.06 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: 665436 ave 665436 max 665436 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 665436 Ave neighs/atom = 166.359 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 = 313.44699794776, Press = -1.37677464170572 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 6.243 | 6.243 | 6.243 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 12000 -13109.243 -13109.243 -13271.675 -13271.675 314.2348 314.2348 67542.371 67542.371 -1006.6249 -1006.6249 13000 -13106.792 -13106.792 -13269.008 -13269.008 313.81825 313.81825 67406.63 67406.63 531.98729 531.98729 Loop time of 37.107 on 1 procs for 1000 steps with 4000 atoms Performance: 2.328 ns/day, 10.307 hours/ns, 26.949 timesteps/s 42.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 | 36.566 | 36.566 | 36.566 | 0.0 | 98.54 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.07409 | 0.07409 | 0.07409 | 0.0 | 0.20 Output | 2.6941e-05 | 2.6941e-05 | 2.6941e-05 | 0.0 | 0.00 Modify | 0.44444 | 0.44444 | 0.44444 | 0.0 | 1.20 Other | | 0.02226 | | | 0.06 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: 663480 ave 663480 max 663480 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 663480 Ave neighs/atom = 165.87 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 = 313.401971265286, Press = 8.08871929084791 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 6.243 | 6.243 | 6.243 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 13000 -13106.792 -13106.792 -13269.008 -13269.008 313.81825 313.81825 67406.63 67406.63 531.98729 531.98729 14000 -13106.73 -13106.73 -13270.266 -13270.266 316.37127 316.37127 67366.26 67366.26 1028.0366 1028.0366 Loop time of 38.3207 on 1 procs for 1000 steps with 4000 atoms Performance: 2.255 ns/day, 10.645 hours/ns, 26.096 timesteps/s 41.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 | 37.69 | 37.69 | 37.69 | 0.0 | 98.36 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.11607 | 0.11607 | 0.11607 | 0.0 | 0.30 Output | 5.2929e-05 | 5.2929e-05 | 5.2929e-05 | 0.0 | 0.00 Modify | 0.43186 | 0.43186 | 0.43186 | 0.0 | 1.13 Other | | 0.08231 | | | 0.21 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: 665630 ave 665630 max 665630 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 665630 Ave neighs/atom = 166.407 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 = 313.290607075705, Press = -1.58695689043603 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 6.243 | 6.243 | 6.243 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 14000 -13106.73 -13106.73 -13270.266 -13270.266 316.37127 316.37127 67366.26 67366.26 1028.0366 1028.0366 15000 -13107.827 -13107.827 -13270.821 -13270.821 315.32273 315.32273 67502.175 67502.175 -638.65264 -638.65264 Loop time of 37.7924 on 1 procs for 1000 steps with 4000 atoms Performance: 2.286 ns/day, 10.498 hours/ns, 26.460 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 | 37.022 | 37.022 | 37.022 | 0.0 | 97.96 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.054317 | 0.054317 | 0.054317 | 0.0 | 0.14 Output | 3.3855e-05 | 3.3855e-05 | 3.3855e-05 | 0.0 | 0.00 Modify | 0.6337 | 0.6337 | 0.6337 | 0.0 | 1.68 Other | | 0.08222 | | | 0.22 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: 666568 ave 666568 max 666568 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 666568 Ave neighs/atom = 166.642 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_T313.15.out" else "print 'not_converged' file output/vol_T313.15.out" print '${V}' file output/vol_T313.15.out 67458.0148362104 print "LAMMPS calculation completed" LAMMPS calculation completed quit 0