# 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.08997417986393*${_u_distance} variable latticeconst_converted equal 4.08997417986393*1 lattice fcc ${latticeconst_converted} lattice fcc 4.08997417986393 Lattice spacing in x,y,z = 4.08997 4.08997 4.08997 region simbox block 0 10 0 10 0 10 units lattice create_box 1 simbox Created orthogonal box = (0 0 0) to (40.8997 40.8997 40.8997) 1 by 1 by 1 MPI processor grid create_atoms 1 box Created 4000 atoms create_atoms CPU = 0.000444889 secs variable mass_converted equal 107.8682*${_u_mass} variable mass_converted equal 107.8682*1 # specify which KIM Model to use pair_style kim EAM_Dynamo_HaleWongZimmerman_2008PairMorse_PdAgH__MO_108983864770_005 pair_coeff * * Ag mass 1 ${mass_converted} mass 1 107.8682 # initial volume variable v equal vol # assign formula variable V0 equal ${v} # evaluate initial value variable V0 equal 68416.6332427255 variable V0_metal equal ${V0}/(${_u_distance}*${_u_distance}*${_u_distance}) variable V0_metal equal 68416.6332427255/(${_u_distance}*${_u_distance}*${_u_distance}) variable V0_metal equal 68416.6332427255/(1*${_u_distance}*${_u_distance}) variable V0_metal equal 68416.6332427255/(1*1*${_u_distance}) variable V0_metal equal 68416.6332427255/(1*1*1) variable V0_metal_times1000 equal ${V0_metal}*1000 variable V0_metal_times1000 equal 68416.6332427255*1000 print "Initial system volume: ${V0_metal} Angstroms^3" Initial system volume: 68416.6332427255 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 ghost atom cutoff = 8 binsize = 4, bins = 11 11 11 1 neighbor lists, perpetual/occasional/extra = 1 0 0 (1) pair kim, perpetual attributes: full, newton off, cut 8 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 -11269.198 -11269.198 -11400.054 -11400.054 253.15 253.15 68416.633 68416.633 2042.945 2042.945 1000 -11134.751 -11134.751 -11267.767 -11267.767 257.32742 257.32742 69436.198 69436.198 844.91887 844.91887 Loop time of 23.5159 on 1 procs for 1000 steps with 4000 atoms Performance: 3.674 ns/day, 6.532 hours/ns, 42.524 timesteps/s 36.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 | 22.99 | 22.99 | 22.99 | 0.0 | 97.76 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.15859 | 0.15859 | 0.15859 | 0.0 | 0.67 Output | 5.4836e-05 | 5.4836e-05 | 5.4836e-05 | 0.0 | 0.00 Modify | 0.32759 | 0.32759 | 0.32759 | 0.0 | 1.39 Other | | 0.03989 | | | 0.17 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 -11134.751 -11134.751 -11267.767 -11267.767 257.32742 257.32742 69436.198 69436.198 844.91887 844.91887 2000 -11145.87 -11145.87 -11274.601 -11274.601 249.03905 249.03905 69482.965 69482.965 -767.52386 -767.52386 Loop time of 27.5943 on 1 procs for 1000 steps with 4000 atoms Performance: 3.131 ns/day, 7.665 hours/ns, 36.239 timesteps/s 36.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 | 27.035 | 27.035 | 27.035 | 0.0 | 97.97 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.040775 | 0.040775 | 0.040775 | 0.0 | 0.15 Output | 3.5048e-05 | 3.5048e-05 | 3.5048e-05 | 0.0 | 0.00 Modify | 0.47826 | 0.47826 | 0.47826 | 0.0 | 1.73 Other | | 0.04018 | | | 0.15 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 5852 ave 5852 max 5852 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: 535904 ave 535904 max 535904 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 535904 Ave neighs/atom = 133.976 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 -11145.87 -11145.87 -11274.601 -11274.601 249.03905 249.03905 69482.965 69482.965 -767.52386 -767.52386 3000 -11139.523 -11139.523 -11272.16 -11272.16 256.59549 256.59549 69406.051 69406.051 883.88252 883.88252 Loop time of 27.7145 on 1 procs for 1000 steps with 4000 atoms Performance: 3.118 ns/day, 7.698 hours/ns, 36.082 timesteps/s 36.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 | 27.178 | 27.178 | 27.178 | 0.0 | 98.06 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.078372 | 0.078372 | 0.078372 | 0.0 | 0.28 Output | 4.5061e-05 | 4.5061e-05 | 4.5061e-05 | 0.0 | 0.00 Modify | 0.3783 | 0.3783 | 0.3783 | 0.0 | 1.36 Other | | 0.08005 | | | 0.29 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 5856 ave 5856 max 5856 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: 535960 ave 535960 max 535960 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 535960 Ave neighs/atom = 133.99 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 -11139.523 -11139.523 -11272.16 -11272.16 256.59549 256.59549 69406.051 69406.051 883.88252 883.88252 4000 -11142.655 -11142.655 -11273.325 -11273.325 252.78985 252.78985 69456.012 69456.012 -166.44362 -166.44362 Loop time of 28.3659 on 1 procs for 1000 steps with 4000 atoms Performance: 3.046 ns/day, 7.879 hours/ns, 35.254 timesteps/s 35.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 | 27.721 | 27.721 | 27.721 | 0.0 | 97.72 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.11866 | 0.11866 | 0.11866 | 0.0 | 0.42 Output | 4.3869e-05 | 4.3869e-05 | 4.3869e-05 | 0.0 | 0.00 Modify | 0.4865 | 0.4865 | 0.4865 | 0.0 | 1.72 Other | | 0.04017 | | | 0.14 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 5855 ave 5855 max 5855 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: 535954 ave 535954 max 535954 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 535954 Ave neighs/atom = 133.988 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 -11142.655 -11142.655 -11273.325 -11273.325 252.78985 252.78985 69456.012 69456.012 -166.44362 -166.44362 5000 -11144.778 -11144.778 -11274.979 -11274.979 251.88244 251.88244 69472.556 69472.556 -554.27192 -554.27192 Loop time of 26.6988 on 1 procs for 1000 steps with 4000 atoms Performance: 3.236 ns/day, 7.416 hours/ns, 37.455 timesteps/s 38.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 | 26.299 | 26.299 | 26.299 | 0.0 | 98.50 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.037863 | 0.037863 | 0.037863 | 0.0 | 0.14 Output | 3.1948e-05 | 3.1948e-05 | 3.1948e-05 | 0.0 | 0.00 Modify | 0.3425 | 0.3425 | 0.3425 | 0.0 | 1.28 Other | | 0.01953 | | | 0.07 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 5852 ave 5852 max 5852 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: 535950 ave 535950 max 535950 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 535950 Ave neighs/atom = 133.988 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 = 249.176670289343, Press = 81.5132515826299 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 -11144.778 -11144.778 -11274.979 -11274.979 251.88244 251.88244 69472.556 69472.556 -554.27192 -554.27192 6000 -11141.127 -11141.127 -11272.185 -11272.185 253.53952 253.53952 69407.01 69407.01 835.10509 835.10509 Loop time of 26.2675 on 1 procs for 1000 steps with 4000 atoms Performance: 3.289 ns/day, 7.297 hours/ns, 38.070 timesteps/s 38.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 | 25.77 | 25.77 | 25.77 | 0.0 | 98.10 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.11522 | 0.11522 | 0.11522 | 0.0 | 0.44 Output | 5.1022e-05 | 5.1022e-05 | 5.1022e-05 | 0.0 | 0.00 Modify | 0.3626 | 0.3626 | 0.3626 | 0.0 | 1.38 Other | | 0.01994 | | | 0.08 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 5853 ave 5853 max 5853 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: 535986 ave 535986 max 535986 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 535986 Ave neighs/atom = 133.996 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.046915479653, Press = -1.6032169004358 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 -11141.127 -11141.127 -11272.185 -11272.185 253.53952 253.53952 69407.01 69407.01 835.10509 835.10509 7000 -11142.45 -11142.45 -11274.912 -11274.912 256.25676 256.25676 69375.902 69375.902 984.18983 984.18983 Loop time of 27.3638 on 1 procs for 1000 steps with 4000 atoms Performance: 3.157 ns/day, 7.601 hours/ns, 36.545 timesteps/s 37.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 | 26.923 | 26.923 | 26.923 | 0.0 | 98.39 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.0782 | 0.0782 | 0.0782 | 0.0 | 0.29 Output | 2.8849e-05 | 2.8849e-05 | 2.8849e-05 | 0.0 | 0.00 Modify | 0.32279 | 0.32279 | 0.32279 | 0.0 | 1.18 Other | | 0.03983 | | | 0.15 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 5851 ave 5851 max 5851 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: 536054 ave 536054 max 536054 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 536054 Ave neighs/atom = 134.013 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 = 252.975519254986, Press = 13.7846216155417 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 -11142.45 -11142.45 -11274.912 -11274.912 256.25676 256.25676 69375.902 69375.902 984.18983 984.18983 8000 -11141.141 -11141.141 -11271.23 -11271.23 251.66634 251.66634 69520.634 69520.634 -896.55074 -896.55074 Loop time of 28.1106 on 1 procs for 1000 steps with 4000 atoms Performance: 3.074 ns/day, 7.808 hours/ns, 35.574 timesteps/s 36.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 | 27.358 | 27.358 | 27.358 | 0.0 | 97.32 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.15911 | 0.15911 | 0.15911 | 0.0 | 0.57 Output | 3.2902e-05 | 3.2902e-05 | 3.2902e-05 | 0.0 | 0.00 Modify | 0.51286 | 0.51286 | 0.51286 | 0.0 | 1.82 Other | | 0.08063 | | | 0.29 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 5855 ave 5855 max 5855 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: 536046 ave 536046 max 536046 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 536046 Ave neighs/atom = 134.012 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.211509245252, Press = 1.59279910600603 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 -11141.141 -11141.141 -11271.23 -11271.23 251.66634 251.66634 69520.634 69520.634 -896.55074 -896.55074 9000 -11141.564 -11141.564 -11272.488 -11272.488 253.28031 253.28031 69392.3 69392.3 984.60275 984.60275 Loop time of 27.6035 on 1 procs for 1000 steps with 4000 atoms Performance: 3.130 ns/day, 7.668 hours/ns, 36.227 timesteps/s 36.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 | 26.949 | 26.949 | 26.949 | 0.0 | 97.63 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.15197 | 0.15197 | 0.15197 | 0.0 | 0.55 Output | 3.2902e-05 | 3.2902e-05 | 3.2902e-05 | 0.0 | 0.00 Modify | 0.48239 | 0.48239 | 0.48239 | 0.0 | 1.75 Other | | 0.01986 | | | 0.07 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 5848 ave 5848 max 5848 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: 535800 ave 535800 max 535800 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 535800 Ave neighs/atom = 133.95 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.212216219807, Press = 1.61064060683038 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 -11141.564 -11141.564 -11272.488 -11272.488 253.28031 253.28031 69392.3 69392.3 984.60275 984.60275 10000 -11142.77 -11142.77 -11273.199 -11273.199 252.32247 252.32247 69456.722 69456.722 -119.03733 -119.03733 Loop time of 27.9159 on 1 procs for 1000 steps with 4000 atoms Performance: 3.095 ns/day, 7.754 hours/ns, 35.822 timesteps/s 36.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 | 27.319 | 27.319 | 27.319 | 0.0 | 97.86 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.058583 | 0.058583 | 0.058583 | 0.0 | 0.21 Output | 4.3869e-05 | 4.3869e-05 | 4.3869e-05 | 0.0 | 0.00 Modify | 0.46858 | 0.46858 | 0.46858 | 0.0 | 1.68 Other | | 0.07001 | | | 0.25 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 5849 ave 5849 max 5849 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: 536062 ave 536062 max 536062 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 536062 Ave neighs/atom = 134.016 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.059053852731, Press = 3.8315417894796 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 -11142.77 -11142.77 -11273.199 -11273.199 252.32247 252.32247 69456.722 69456.722 -119.03733 -119.03733 11000 -11138.552 -11138.552 -11269.968 -11269.968 254.2315 254.2315 69508.77 69508.77 -520.66174 -520.66174 Loop time of 27.7626 on 1 procs for 1000 steps with 4000 atoms Performance: 3.112 ns/day, 7.712 hours/ns, 36.020 timesteps/s 36.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 | 27.254 | 27.254 | 27.254 | 0.0 | 98.17 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.09791 | 0.09791 | 0.09791 | 0.0 | 0.35 Output | 3.3855e-05 | 3.3855e-05 | 3.3855e-05 | 0.0 | 0.00 Modify | 0.3708 | 0.3708 | 0.3708 | 0.0 | 1.34 Other | | 0.03987 | | | 0.14 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 5846 ave 5846 max 5846 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: 535976 ave 535976 max 535976 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 535976 Ave neighs/atom = 133.994 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 69450.972145059 print "LAMMPS calculation completed" LAMMPS calculation completed quit 0