# 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.939586490392685*${_u_distance} variable latticeconst_converted equal 4.939586490392685*1 lattice fcc ${latticeconst_converted} lattice fcc 4.93958649039268 Lattice spacing in x,y,z = 4.93959 4.93959 4.93959 region simbox block 0 10 0 10 0 10 units lattice create_box 1 simbox Created orthogonal box = (0 0 0) to (49.3959 49.3959 49.3959) 1 by 1 by 1 MPI processor grid create_atoms 1 box Created 4000 atoms create_atoms CPU = 0.000467062 secs variable mass_converted equal 207.2*${_u_mass} variable mass_converted equal 207.2*1 # specify which KIM Model to use pair_style kim Morse_Shifted_GirifalcoWeizer_1959MedCutoff_Pb__MO_958424213898_002 WARNING: KIM Model does not provide `partialParticleVirial'; virial per atom will be zero (src/KIM/pair_kim.cpp:1089) pair_coeff * * Pb mass 1 ${mass_converted} mass 1 207.2 # initial volume variable v equal vol # assign formula variable V0 equal ${v} # evaluate initial value variable V0 equal 120523.513164844 variable V0_metal equal ${V0}/(${_u_distance}*${_u_distance}*${_u_distance}) variable V0_metal equal 120523.513164844/(${_u_distance}*${_u_distance}*${_u_distance}) variable V0_metal equal 120523.513164844/(1*${_u_distance}*${_u_distance}) variable V0_metal equal 120523.513164844/(1*1*${_u_distance}) variable V0_metal equal 120523.513164844/(1*1*1) variable V0_metal_times1000 equal ${V0_metal}*1000 variable V0_metal_times1000 equal 120523.513164844*1000 print "Initial system volume: ${V0_metal} Angstroms^3" Initial system volume: 120523.513164844 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 = 12.1546 ghost atom cutoff = 12.1546 binsize = 6.0773, bins = 9 9 9 1 neighbor lists, perpetual/occasional/extra = 1 0 0 (1) pair kim, perpetual attributes: full, newton off, cut 12.1546 pair build: full/bin/atomonly stencil: full/bin/3d bin: standard Per MPI rank memory allocation (min/avg/max) = 7.385 | 7.385 | 7.385 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 0 -7905.7149 -7905.7149 -8067.5857 -8067.5857 313.15 313.15 120523.51 120523.51 1434.5485 1434.5485 1000 -7723.1613 -7723.1613 -7885.165 -7885.165 313.40729 313.40729 122750.44 122750.44 -157.94307 -157.94307 Loop time of 44.4615 on 1 procs for 1000 steps with 4000 atoms Performance: 1.943 ns/day, 12.350 hours/ns, 22.491 timesteps/s 41.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.98 | 43.98 | 43.98 | 0.0 | 98.92 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.11313 | 0.11313 | 0.11313 | 0.0 | 0.25 Output | 4.5061e-05 | 4.5061e-05 | 4.5061e-05 | 0.0 | 0.00 Modify | 0.34674 | 0.34674 | 0.34674 | 0.0 | 0.78 Other | | 0.02118 | | | 0.05 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: 992000 ave 992000 max 992000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 992000 Ave neighs/atom = 248 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) = 7.385 | 7.385 | 7.385 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 1000 -7723.1613 -7723.1613 -7885.165 -7885.165 313.40729 313.40729 122750.44 122750.44 -157.94307 -157.94307 2000 -7751.4929 -7751.4929 -7906.8118 -7906.8118 300.47492 300.47492 122560.2 122560.2 -325.95138 -325.95138 Loop time of 41.8583 on 1 procs for 1000 steps with 4000 atoms Performance: 2.064 ns/day, 11.627 hours/ns, 23.890 timesteps/s 43.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 | 41.35 | 41.35 | 41.35 | 0.0 | 98.79 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.11243 | 0.11243 | 0.11243 | 0.0 | 0.27 Output | 4.3869e-05 | 4.3869e-05 | 4.3869e-05 | 0.0 | 0.00 Modify | 0.35475 | 0.35475 | 0.35475 | 0.0 | 0.85 Other | | 0.04069 | | | 0.10 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8225 ave 8225 max 8225 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: 938728 ave 938728 max 938728 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 938728 Ave neighs/atom = 234.682 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) = 7.385 | 7.385 | 7.385 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 2000 -7751.4929 -7751.4929 -7906.8118 -7906.8118 300.47492 300.47492 122560.2 122560.2 -325.95138 -325.95138 3000 -7736.1813 -7736.1813 -7898.582 -7898.582 314.17515 314.17515 122488.88 122488.88 283.43251 283.43251 Loop time of 42.6108 on 1 procs for 1000 steps with 4000 atoms Performance: 2.028 ns/day, 11.836 hours/ns, 23.468 timesteps/s 43.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 | 42.055 | 42.055 | 42.055 | 0.0 | 98.70 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.18684 | 0.18684 | 0.18684 | 0.0 | 0.44 Output | 3.8862e-05 | 3.8862e-05 | 3.8862e-05 | 0.0 | 0.00 Modify | 0.33556 | 0.33556 | 0.33556 | 0.0 | 0.79 Other | | 0.03303 | | | 0.08 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8201 ave 8201 max 8201 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: 940264 ave 940264 max 940264 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 940264 Ave neighs/atom = 235.066 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) = 7.386 | 7.386 | 7.386 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 3000 -7736.1813 -7736.1813 -7898.582 -7898.582 314.17515 314.17515 122488.88 122488.88 283.43251 283.43251 4000 -7737.3835 -7737.3835 -7903.0637 -7903.0637 320.51951 320.51951 122436.53 122436.53 337.53269 337.53269 Loop time of 43.2409 on 1 procs for 1000 steps with 4000 atoms Performance: 1.998 ns/day, 12.011 hours/ns, 23.126 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 | 42.661 | 42.661 | 42.661 | 0.0 | 98.66 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.12304 | 0.12304 | 0.12304 | 0.0 | 0.28 Output | 3.5048e-05 | 3.5048e-05 | 3.5048e-05 | 0.0 | 0.00 Modify | 0.41574 | 0.41574 | 0.41574 | 0.0 | 0.96 Other | | 0.04093 | | | 0.09 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8241 ave 8241 max 8241 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: 940966 ave 940966 max 940966 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 940966 Ave neighs/atom = 235.242 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) = 7.386 | 7.386 | 7.386 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 4000 -7737.3835 -7737.3835 -7903.0637 -7903.0637 320.51951 320.51951 122436.53 122436.53 337.53269 337.53269 5000 -7736.551 -7736.551 -7900.5043 -7900.5043 317.17866 317.17866 122579 122579 -65.262484 -65.262484 Loop time of 42.7382 on 1 procs for 1000 steps with 4000 atoms Performance: 2.022 ns/day, 11.872 hours/ns, 23.398 timesteps/s 42.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 | 42.288 | 42.288 | 42.288 | 0.0 | 98.95 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.13303 | 0.13303 | 0.13303 | 0.0 | 0.31 Output | 3.314e-05 | 3.314e-05 | 3.314e-05 | 0.0 | 0.00 Modify | 0.25571 | 0.25571 | 0.25571 | 0.0 | 0.60 Other | | 0.06095 | | | 0.14 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8215 ave 8215 max 8215 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: 941192 ave 941192 max 941192 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 941192 Ave neighs/atom = 235.298 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 = 315.62918913255, Press = -197.021222905817 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 7.386 | 7.386 | 7.386 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 5000 -7736.551 -7736.551 -7900.5043 -7900.5043 317.17866 317.17866 122579 122579 -65.262484 -65.262484 6000 -7744.483 -7744.483 -7902.1568 -7902.1568 305.03073 305.03073 122528.52 122528.52 -27.213284 -27.213284 Loop time of 40.7663 on 1 procs for 1000 steps with 4000 atoms Performance: 2.119 ns/day, 11.324 hours/ns, 24.530 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 | 40.221 | 40.221 | 40.221 | 0.0 | 98.66 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.13302 | 0.13302 | 0.13302 | 0.0 | 0.33 Output | 3.1948e-05 | 3.1948e-05 | 3.1948e-05 | 0.0 | 0.00 Modify | 0.3413 | 0.3413 | 0.3413 | 0.0 | 0.84 Other | | 0.07087 | | | 0.17 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8225 ave 8225 max 8225 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: 939886 ave 939886 max 939886 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 939886 Ave neighs/atom = 234.971 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.275872867851, Press = -11.9710821545288 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 7.386 | 7.386 | 7.386 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 6000 -7744.483 -7744.483 -7902.1568 -7902.1568 305.03073 305.03073 122528.52 122528.52 -27.213284 -27.213284 7000 -7741.1875 -7741.1875 -7902.1592 -7902.1592 311.41084 311.41084 122597.04 122597.04 -235.10604 -235.10604 Loop time of 40.9956 on 1 procs for 1000 steps with 4000 atoms Performance: 2.108 ns/day, 11.388 hours/ns, 24.393 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 | 40.511 | 40.511 | 40.511 | 0.0 | 98.82 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.1127 | 0.1127 | 0.1127 | 0.0 | 0.27 Output | 3.314e-05 | 3.314e-05 | 3.314e-05 | 0.0 | 0.00 Modify | 0.33069 | 0.33069 | 0.33069 | 0.0 | 0.81 Other | | 0.04098 | | | 0.10 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8205 ave 8205 max 8205 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: 940704 ave 940704 max 940704 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 940704 Ave neighs/atom = 235.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 = 313.572453418431, Press = 5.36190759199243 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 7.386 | 7.386 | 7.386 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 7000 -7741.1875 -7741.1875 -7902.1592 -7902.1592 311.41084 311.41084 122597.04 122597.04 -235.10604 -235.10604 8000 -7739.0438 -7739.0438 -7902.9598 -7902.9598 317.10663 317.10663 122293.04 122293.04 800.58382 800.58382 Loop time of 39.4639 on 1 procs for 1000 steps with 4000 atoms Performance: 2.189 ns/day, 10.962 hours/ns, 25.340 timesteps/s 46.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 | 38.952 | 38.952 | 38.952 | 0.0 | 98.70 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.12174 | 0.12174 | 0.12174 | 0.0 | 0.31 Output | 8.9169e-05 | 8.9169e-05 | 8.9169e-05 | 0.0 | 0.00 Modify | 0.3292 | 0.3292 | 0.3292 | 0.0 | 0.83 Other | | 0.06104 | | | 0.15 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8204 ave 8204 max 8204 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: 940184 ave 940184 max 940184 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 940184 Ave neighs/atom = 235.046 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.246260068903, Press = -8.1443649796426 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 7.386 | 7.386 | 7.386 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 8000 -7739.0438 -7739.0438 -7902.9598 -7902.9598 317.10663 317.10663 122293.04 122293.04 800.58382 800.58382 9000 -7740.9244 -7740.9244 -7903.0891 -7903.0891 313.71856 313.71856 122653.92 122653.92 -446.69101 -446.69101 Loop time of 38.1708 on 1 procs for 1000 steps with 4000 atoms Performance: 2.264 ns/day, 10.603 hours/ns, 26.198 timesteps/s 47.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.648 | 37.648 | 37.648 | 0.0 | 98.63 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.12289 | 0.12289 | 0.12289 | 0.0 | 0.32 Output | 3.2902e-05 | 3.2902e-05 | 3.2902e-05 | 0.0 | 0.00 Modify | 0.31932 | 0.31932 | 0.31932 | 0.0 | 0.84 Other | | 0.08103 | | | 0.21 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8224 ave 8224 max 8224 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: 942648 ave 942648 max 942648 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 942648 Ave neighs/atom = 235.662 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.240203475183, Press = -3.55990767131489 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 7.386 | 7.386 | 7.386 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 9000 -7740.9244 -7740.9244 -7903.0891 -7903.0891 313.71856 313.71856 122653.92 122653.92 -446.69101 -446.69101 10000 -7736.9855 -7736.9855 -7898.7816 -7898.7816 313.00549 313.00549 122591.76 122591.76 -96.45864 -96.45864 Loop time of 38.2713 on 1 procs for 1000 steps with 4000 atoms Performance: 2.258 ns/day, 10.631 hours/ns, 26.129 timesteps/s 48.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 | 37.857 | 37.857 | 37.857 | 0.0 | 98.92 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.073276 | 0.073276 | 0.073276 | 0.0 | 0.19 Output | 2.6941e-05 | 2.6941e-05 | 2.6941e-05 | 0.0 | 0.00 Modify | 0.31997 | 0.31997 | 0.31997 | 0.0 | 0.84 Other | | 0.02114 | | | 0.06 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8212 ave 8212 max 8212 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: 939614 ave 939614 max 939614 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 939614 Ave neighs/atom = 234.904 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 122544.156216027 print "LAMMPS calculation completed" LAMMPS calculation completed quit 0