# 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.518121123313904*${_u_distance} variable latticeconst_converted equal 3.518121123313904*1 lattice fcc ${latticeconst_converted} lattice fcc 3.5181211233139 Lattice spacing in x,y,z = 3.51812 3.51812 3.51812 region simbox block 0 10 0 10 0 10 units lattice create_box 1 simbox Created orthogonal box = (0 0 0) to (35.1812 35.1812 35.1812) 1 by 1 by 1 MPI processor grid create_atoms 1 box Created 4000 atoms create_atoms CPU = 0.000458002 secs variable mass_converted equal 58.6934*${_u_mass} variable mass_converted equal 58.6934*1 # specify which KIM Model to use pair_style kim EAM_Dynamo_WilsonMendelev_2015_NiZr__MO_306032198193_000 pair_coeff * * Ni mass 1 ${mass_converted} mass 1 58.6934 # initial volume variable v equal vol # assign formula variable V0 equal ${v} # evaluate initial value variable V0 equal 43544.4051709683 variable V0_metal equal ${V0}/(${_u_distance}*${_u_distance}*${_u_distance}) variable V0_metal equal 43544.4051709683/(${_u_distance}*${_u_distance}*${_u_distance}) variable V0_metal equal 43544.4051709683/(1*${_u_distance}*${_u_distance}) variable V0_metal equal 43544.4051709683/(1*1*${_u_distance}) variable V0_metal equal 43544.4051709683/(1*1*1) variable V0_metal_times1000 equal ${V0_metal}*1000 variable V0_metal_times1000 equal 43544.4051709683*1000 print "Initial system volume: ${V0_metal} Angstroms^3" Initial system volume: 43544.4051709683 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 = 9.6 ghost atom cutoff = 9.6 binsize = 4.8, bins = 8 8 8 1 neighbor lists, perpetual/occasional/extra = 1 0 0 (1) pair kim, perpetual attributes: full, newton off, cut 9.6 pair build: full/bin/atomonly stencil: full/bin/3d bin: standard Per MPI rank memory allocation (min/avg/max) = 8.671 | 8.671 | 8.671 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 0 -17380.164 -17380.164 -17542.035 -17542.035 313.15 313.15 43544.405 43544.405 3970.6007 3970.6007 1000 -17211.878 -17211.878 -17373.968 -17373.968 313.57447 313.57447 43920.518 43920.518 -180.24921 -180.24921 Loop time of 65.0778 on 1 procs for 1000 steps with 4000 atoms Performance: 1.328 ns/day, 18.077 hours/ns, 15.366 timesteps/s 47.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 | 64.438 | 64.438 | 64.438 | 0.0 | 99.02 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.20734 | 0.20734 | 0.20734 | 0.0 | 0.32 Output | 3.7909e-05 | 3.7909e-05 | 3.7909e-05 | 0.0 | 0.00 Modify | 0.38922 | 0.38922 | 0.38922 | 0.0 | 0.60 Other | | 0.0436 | | | 0.07 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 10895 ave 10895 max 10895 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: 1.28e+06 ave 1.28e+06 max 1.28e+06 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 1280000 Ave neighs/atom = 320 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) = 8.673 | 8.673 | 8.673 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 1000 -17211.878 -17211.878 -17373.968 -17373.968 313.57447 313.57447 43920.518 43920.518 -180.24921 -180.24921 2000 -17221.26 -17221.26 -17378.949 -17378.949 305.05914 305.05914 43919.858 43919.858 -643.16446 -643.16446 Loop time of 71.5063 on 1 procs for 1000 steps with 4000 atoms Performance: 1.208 ns/day, 19.863 hours/ns, 13.985 timesteps/s 44.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 | 70.979 | 70.979 | 70.979 | 0.0 | 99.26 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.1477 | 0.1477 | 0.1477 | 0.0 | 0.21 Output | 4.3154e-05 | 4.3154e-05 | 4.3154e-05 | 0.0 | 0.00 Modify | 0.35642 | 0.35642 | 0.35642 | 0.0 | 0.50 Other | | 0.02306 | | | 0.03 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 10895 ave 10895 max 10895 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: 1.33021e+06 ave 1.33021e+06 max 1.33021e+06 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 1330212 Ave neighs/atom = 332.553 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) = 8.673 | 8.673 | 8.673 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 2000 -17221.26 -17221.26 -17378.949 -17378.949 305.05914 305.05914 43919.858 43919.858 -643.16446 -643.16446 3000 -17220.33 -17220.33 -17380.97 -17380.97 310.76964 310.76964 43868.378 43868.378 1129.858 1129.858 Loop time of 69.8756 on 1 procs for 1000 steps with 4000 atoms Performance: 1.236 ns/day, 19.410 hours/ns, 14.311 timesteps/s 46.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 | 69.334 | 69.334 | 69.334 | 0.0 | 99.22 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.16839 | 0.16839 | 0.16839 | 0.0 | 0.24 Output | 4.5061e-05 | 4.5061e-05 | 4.5061e-05 | 0.0 | 0.00 Modify | 0.31008 | 0.31008 | 0.31008 | 0.0 | 0.44 Other | | 0.0632 | | | 0.09 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 10895 ave 10895 max 10895 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: 1.32996e+06 ave 1.32996e+06 max 1.32996e+06 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 1329964 Ave neighs/atom = 332.491 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) = 8.673 | 8.673 | 8.673 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 3000 -17220.33 -17220.33 -17380.97 -17380.97 310.76964 310.76964 43868.378 43868.378 1129.858 1129.858 4000 -17216.811 -17216.811 -17377.854 -17377.854 311.54772 311.54772 43888.712 43888.712 618.46342 618.46342 Loop time of 68.1225 on 1 procs for 1000 steps with 4000 atoms Performance: 1.268 ns/day, 18.923 hours/ns, 14.679 timesteps/s 47.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 | 67.533 | 67.533 | 67.533 | 0.0 | 99.13 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.12739 | 0.12739 | 0.12739 | 0.0 | 0.19 Output | 4.2915e-05 | 4.2915e-05 | 4.2915e-05 | 0.0 | 0.00 Modify | 0.43893 | 0.43893 | 0.43893 | 0.0 | 0.64 Other | | 0.02341 | | | 0.03 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 10895 ave 10895 max 10895 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: 1.33142e+06 ave 1.33142e+06 max 1.33142e+06 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 1331420 Ave neighs/atom = 332.855 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) = 8.673 | 8.673 | 8.673 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 4000 -17216.811 -17216.811 -17377.854 -17377.854 311.54772 311.54772 43888.712 43888.712 618.46342 618.46342 5000 -17222.49 -17222.49 -17382.881 -17382.881 310.28583 310.28583 43942.318 43942.318 -1695.4579 -1695.4579 Loop time of 79.7678 on 1 procs for 1000 steps with 4000 atoms Performance: 1.083 ns/day, 22.158 hours/ns, 12.536 timesteps/s 40.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 | 78.992 | 78.992 | 78.992 | 0.0 | 99.03 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.14819 | 0.14819 | 0.14819 | 0.0 | 0.19 Output | 3.5048e-05 | 3.5048e-05 | 3.5048e-05 | 0.0 | 0.00 Modify | 0.58403 | 0.58403 | 0.58403 | 0.0 | 0.73 Other | | 0.04351 | | | 0.05 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 10895 ave 10895 max 10895 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: 1.33156e+06 ave 1.33156e+06 max 1.33156e+06 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 1331560 Ave neighs/atom = 332.89 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 = 311.200889214834, Press = 210.966333001359 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 8.673 | 8.673 | 8.673 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 5000 -17222.49 -17222.49 -17382.881 -17382.881 310.28583 310.28583 43942.318 43942.318 -1695.4579 -1695.4579 6000 -17217.97 -17217.97 -17377.425 -17377.425 308.47504 308.47504 43877.741 43877.741 1164.1283 1164.1283 Loop time of 82.1422 on 1 procs for 1000 steps with 4000 atoms Performance: 1.052 ns/day, 22.817 hours/ns, 12.174 timesteps/s 39.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 | 81.425 | 81.425 | 81.425 | 0.0 | 99.13 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.14817 | 0.14817 | 0.14817 | 0.0 | 0.18 Output | 3.2902e-05 | 3.2902e-05 | 3.2902e-05 | 0.0 | 0.00 Modify | 0.52541 | 0.52541 | 0.52541 | 0.0 | 0.64 Other | | 0.04345 | | | 0.05 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 10895 ave 10895 max 10895 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: 1.32823e+06 ave 1.32823e+06 max 1.32823e+06 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 1328234 Ave neighs/atom = 332.058 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 = 312.699827277578, Press = 32.988329743701 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 8.673 | 8.673 | 8.673 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 6000 -17217.97 -17217.97 -17377.425 -17377.425 308.47504 308.47504 43877.741 43877.741 1164.1283 1164.1283 7000 -17222.624 -17222.624 -17381.444 -17381.444 307.24679 307.24679 43908.875 43908.875 -476.927 -476.927 Loop time of 79.9361 on 1 procs for 1000 steps with 4000 atoms Performance: 1.081 ns/day, 22.204 hours/ns, 12.510 timesteps/s 40.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 | 79.371 | 79.371 | 79.371 | 0.0 | 99.29 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.14492 | 0.14492 | 0.14492 | 0.0 | 0.18 Output | 2.5988e-05 | 2.5988e-05 | 2.5988e-05 | 0.0 | 0.00 Modify | 0.37616 | 0.37616 | 0.37616 | 0.0 | 0.47 Other | | 0.04373 | | | 0.05 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 10895 ave 10895 max 10895 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: 1.33186e+06 ave 1.33186e+06 max 1.33186e+06 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 1331862 Ave neighs/atom = 332.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 = 313.044028205644, Press = -1.39368662356954 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 8.673 | 8.673 | 8.673 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 7000 -17222.624 -17222.624 -17381.444 -17381.444 307.24679 307.24679 43908.875 43908.875 -476.927 -476.927 8000 -17218.847 -17218.847 -17378.583 -17378.583 309.02158 309.02158 43911.489 43911.489 -472.38074 -472.38074 Loop time of 83.0612 on 1 procs for 1000 steps with 4000 atoms Performance: 1.040 ns/day, 23.073 hours/ns, 12.039 timesteps/s 39.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 | 82.433 | 82.433 | 82.433 | 0.0 | 99.24 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.1749 | 0.1749 | 0.1749 | 0.0 | 0.21 Output | 3.2902e-05 | 3.2902e-05 | 3.2902e-05 | 0.0 | 0.00 Modify | 0.36993 | 0.36993 | 0.36993 | 0.0 | 0.45 Other | | 0.08337 | | | 0.10 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 10895 ave 10895 max 10895 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: 1.33036e+06 ave 1.33036e+06 max 1.33036e+06 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 1330362 Ave neighs/atom = 332.591 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 = 312.764780853447, Press = 22.1715254316099 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 8.673 | 8.673 | 8.673 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 8000 -17218.847 -17218.847 -17378.583 -17378.583 309.02158 309.02158 43911.489 43911.489 -472.38074 -472.38074 9000 -17219.864 -17219.864 -17383.238 -17383.238 316.05892 316.05892 43845.778 43845.778 2083.5443 2083.5443 Loop time of 81.4994 on 1 procs for 1000 steps with 4000 atoms Performance: 1.060 ns/day, 22.639 hours/ns, 12.270 timesteps/s 39.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 | 80.816 | 80.816 | 80.816 | 0.0 | 99.16 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.13805 | 0.13805 | 0.13805 | 0.0 | 0.17 Output | 2.718e-05 | 2.718e-05 | 2.718e-05 | 0.0 | 0.00 Modify | 0.46209 | 0.46209 | 0.46209 | 0.0 | 0.57 Other | | 0.08371 | | | 0.10 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 10895 ave 10895 max 10895 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: 1.32993e+06 ave 1.32993e+06 max 1.32993e+06 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 1329928 Ave neighs/atom = 332.482 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 43901.4399693821 print "LAMMPS calculation completed" LAMMPS calculation completed quit 0