# 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 5.432005196809769*${_u_distance} variable latticeconst_converted equal 5.432005196809769*1 lattice diamond ${latticeconst_converted} lattice diamond 5.43200519680977 Lattice spacing in x,y,z = 5.43201 5.43201 5.43201 region simbox block 0 10 0 10 0 10 units lattice create_box 1 simbox Created orthogonal box = (0 0 0) to (54.3201 54.3201 54.3201) 1 by 1 by 1 MPI processor grid create_atoms 1 box Created 8000 atoms create_atoms CPU = 0.00938487 secs variable mass_converted equal 28.0855*${_u_mass} variable mass_converted equal 28.0855*1 # specify which KIM Model to use pair_style kim Tersoff_LAMMPS_Tersoff_1989_SiC__MO_171585019474_002 pair_coeff * * Si mass 1 ${mass_converted} mass 1 28.0855 # initial volume variable v equal vol # assign formula variable V0 equal ${v} # evaluate initial value variable V0 equal 160280.441589376 variable V0_metal equal ${V0}/(${_u_distance}*${_u_distance}*${_u_distance}) variable V0_metal equal 160280.441589376/(${_u_distance}*${_u_distance}*${_u_distance}) variable V0_metal equal 160280.441589376/(1*${_u_distance}*${_u_distance}) variable V0_metal equal 160280.441589376/(1*1*${_u_distance}) variable V0_metal equal 160280.441589376/(1*1*1) variable V0_metal_times1000 equal ${V0_metal}*1000 variable V0_metal_times1000 equal 160280.441589376*1000 print "Initial system volume: ${V0_metal} Angstroms^3" Initial system volume: 160280.441589376 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 = 5 ghost atom cutoff = 5 binsize = 2.5, bins = 22 22 22 1 neighbor lists, perpetual/occasional/extra = 1 0 0 (1) pair kim, perpetual attributes: full, newton off, ghost, cut 5 pair build: full/bin/ghost stencil: full/ghost/bin/3d bin: standard Per MPI rank memory allocation (min/avg/max) = 4.616 | 4.616 | 4.616 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 0 -36712.978 -36712.978 -37036.76 -37036.76 313.15 313.15 160280.44 160280.44 2157.7051 2157.7051 1000 -36360.494 -36360.494 -36686.417 -36686.417 315.22098 315.22098 161167.58 161167.58 613.38926 613.38926 Loop time of 73.3691 on 1 procs for 1000 steps with 8000 atoms Performance: 1.178 ns/day, 20.380 hours/ns, 13.630 timesteps/s 43.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 | 72.669 | 72.669 | 72.669 | 0.0 | 99.05 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.10451 | 0.10451 | 0.10451 | 0.0 | 0.14 Output | 5.6028e-05 | 5.6028e-05 | 5.6028e-05 | 0.0 | 0.00 Modify | 0.54089 | 0.54089 | 0.54089 | 0.0 | 0.74 Other | | 0.05455 | | | 0.07 Nlocal: 8000 ave 8000 max 8000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 4995 ave 4995 max 4995 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: 224000 ave 224000 max 224000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 224000 Ave neighs/atom = 28 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) = 4.616 | 4.616 | 4.616 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 1000 -36360.494 -36360.494 -36686.417 -36686.417 315.22098 315.22098 161167.58 161167.58 613.38926 613.38926 2000 -36393.543 -36393.543 -36715.653 -36715.653 311.53339 311.53339 161249.59 161249.59 -47.796496 -47.796496 Loop time of 74.415 on 1 procs for 1000 steps with 8000 atoms Performance: 1.161 ns/day, 20.671 hours/ns, 13.438 timesteps/s 44.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 | 73.597 | 73.597 | 73.597 | 0.0 | 98.90 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.042808 | 0.042808 | 0.042808 | 0.0 | 0.06 Output | 5.2929e-05 | 5.2929e-05 | 5.2929e-05 | 0.0 | 0.00 Modify | 0.74035 | 0.74035 | 0.74035 | 0.0 | 0.99 Other | | 0.0345 | | | 0.05 Nlocal: 8000 ave 8000 max 8000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 4995 ave 4995 max 4995 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: 224000 ave 224000 max 224000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 224000 Ave neighs/atom = 28 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) = 4.616 | 4.616 | 4.616 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 2000 -36393.543 -36393.543 -36715.653 -36715.653 311.53339 311.53339 161249.59 161249.59 -47.796496 -47.796496 3000 -36378.055 -36378.055 -36711.043 -36711.043 322.0537 322.0537 161318.18 161318.18 -642.28225 -642.28225 Loop time of 70.0613 on 1 procs for 1000 steps with 8000 atoms Performance: 1.233 ns/day, 19.461 hours/ns, 14.273 timesteps/s 46.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 | 69.19 | 69.19 | 69.19 | 0.0 | 98.76 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.10344 | 0.10344 | 0.10344 | 0.0 | 0.15 Output | 5.579e-05 | 5.579e-05 | 5.579e-05 | 0.0 | 0.00 Modify | 0.6725 | 0.6725 | 0.6725 | 0.0 | 0.96 Other | | 0.09507 | | | 0.14 Nlocal: 8000 ave 8000 max 8000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 4995 ave 4995 max 4995 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: 224000 ave 224000 max 224000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 224000 Ave neighs/atom = 28 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) = 4.616 | 4.616 | 4.616 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 3000 -36378.055 -36378.055 -36711.043 -36711.043 322.0537 322.0537 161318.18 161318.18 -642.28225 -642.28225 4000 -36384.837 -36384.837 -36707.506 -36707.506 312.07395 312.07395 161271.64 161271.64 -340.13636 -340.13636 Loop time of 69.4686 on 1 procs for 1000 steps with 8000 atoms Performance: 1.244 ns/day, 19.297 hours/ns, 14.395 timesteps/s 47.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 | 68.804 | 68.804 | 68.804 | 0.0 | 99.04 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.063331 | 0.063331 | 0.063331 | 0.0 | 0.09 Output | 4.9114e-05 | 4.9114e-05 | 4.9114e-05 | 0.0 | 0.00 Modify | 0.56645 | 0.56645 | 0.56645 | 0.0 | 0.82 Other | | 0.0347 | | | 0.05 Nlocal: 8000 ave 8000 max 8000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 4995 ave 4995 max 4995 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: 224000 ave 224000 max 224000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 224000 Ave neighs/atom = 28 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) = 4.616 | 4.616 | 4.616 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 4000 -36384.837 -36384.837 -36707.506 -36707.506 312.07395 312.07395 161271.64 161271.64 -340.13636 -340.13636 5000 -36384.932 -36384.932 -36713.538 -36713.538 317.81601 317.81601 161057.94 161057.94 1098.5881 1098.5881 Loop time of 66.0804 on 1 procs for 1000 steps with 8000 atoms Performance: 1.307 ns/day, 18.356 hours/ns, 15.133 timesteps/s 49.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 | 65.308 | 65.308 | 65.308 | 0.0 | 98.83 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.10389 | 0.10389 | 0.10389 | 0.0 | 0.16 Output | 4.2915e-05 | 4.2915e-05 | 4.2915e-05 | 0.0 | 0.00 Modify | 0.58135 | 0.58135 | 0.58135 | 0.0 | 0.88 Other | | 0.08666 | | | 0.13 Nlocal: 8000 ave 8000 max 8000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 4995 ave 4995 max 4995 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: 224000 ave 224000 max 224000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 224000 Ave neighs/atom = 28 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.712111971401, Press = 120.741064261378 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 4.616 | 4.616 | 4.616 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 5000 -36384.932 -36384.932 -36713.538 -36713.538 317.81601 317.81601 161057.94 161057.94 1098.5881 1098.5881 6000 -36380.476 -36380.476 -36709.103 -36709.103 317.836 317.836 161125.49 161125.49 662.79976 662.79976 Loop time of 65.5682 on 1 procs for 1000 steps with 8000 atoms Performance: 1.318 ns/day, 18.213 hours/ns, 15.251 timesteps/s 50.3% CPU use with 1 MPI tasks x 1 OpenMP threads MPI task timing breakdown: Section | min time | avg time | max time |%varavg| %total --------------------------------------------------------------- Pair | 64.78 | 64.78 | 64.78 | 0.0 | 98.80 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.094857 | 0.094857 | 0.094857 | 0.0 | 0.14 Output | 4.4107e-05 | 4.4107e-05 | 4.4107e-05 | 0.0 | 0.00 Modify | 0.63795 | 0.63795 | 0.63795 | 0.0 | 0.97 Other | | 0.05526 | | | 0.08 Nlocal: 8000 ave 8000 max 8000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 4995 ave 4995 max 4995 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: 224000 ave 224000 max 224000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 224000 Ave neighs/atom = 28 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.670812491594, Press = -16.2446021121956 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 4.616 | 4.616 | 4.616 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 6000 -36380.476 -36380.476 -36709.103 -36709.103 317.836 317.836 161125.49 161125.49 662.79976 662.79976 7000 -36388.708 -36388.708 -36701.223 -36701.223 302.25347 302.25347 161318.11 161318.11 -656.43745 -656.43745 Loop time of 59.5416 on 1 procs for 1000 steps with 8000 atoms Performance: 1.451 ns/day, 16.539 hours/ns, 16.795 timesteps/s 54.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 | 58.885 | 58.885 | 58.885 | 0.0 | 98.90 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.099551 | 0.099551 | 0.099551 | 0.0 | 0.17 Output | 5.1022e-05 | 5.1022e-05 | 5.1022e-05 | 0.0 | 0.00 Modify | 0.50115 | 0.50115 | 0.50115 | 0.0 | 0.84 Other | | 0.05572 | | | 0.09 Nlocal: 8000 ave 8000 max 8000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 4995 ave 4995 max 4995 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: 224000 ave 224000 max 224000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 224000 Ave neighs/atom = 28 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.081682993545, Press = -5.83403161607057 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 4.616 | 4.616 | 4.616 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 7000 -36388.708 -36388.708 -36701.223 -36701.223 302.25347 302.25347 161318.11 161318.11 -656.43745 -656.43745 8000 -36379.752 -36379.752 -36699.72 -36699.72 309.46147 309.46147 161325.64 161325.64 -520.00617 -520.00617 Loop time of 57.7858 on 1 procs for 1000 steps with 8000 atoms Performance: 1.495 ns/day, 16.052 hours/ns, 17.305 timesteps/s 56.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 | 56.981 | 56.981 | 56.981 | 0.0 | 98.61 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.095061 | 0.095061 | 0.095061 | 0.0 | 0.16 Output | 3.5048e-05 | 3.5048e-05 | 3.5048e-05 | 0.0 | 0.00 Modify | 0.65388 | 0.65388 | 0.65388 | 0.0 | 1.13 Other | | 0.05584 | | | 0.10 Nlocal: 8000 ave 8000 max 8000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 4995 ave 4995 max 4995 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: 224000 ave 224000 max 224000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 224000 Ave neighs/atom = 28 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.130369514269, Press = 1.19659723682794 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 4.616 | 4.616 | 4.616 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 8000 -36379.752 -36379.752 -36699.72 -36699.72 309.46147 309.46147 161325.64 161325.64 -520.00617 -520.00617 9000 -36388.904 -36388.904 -36702.038 -36702.038 302.8519 302.8519 161284.98 161284.98 -432.54904 -432.54904 Loop time of 57.6642 on 1 procs for 1000 steps with 8000 atoms Performance: 1.498 ns/day, 16.018 hours/ns, 17.342 timesteps/s 56.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 | 56.973 | 56.973 | 56.973 | 0.0 | 98.80 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.085752 | 0.085752 | 0.085752 | 0.0 | 0.15 Output | 4.7922e-05 | 4.7922e-05 | 4.7922e-05 | 0.0 | 0.00 Modify | 0.5001 | 0.5001 | 0.5001 | 0.0 | 0.87 Other | | 0.1056 | | | 0.18 Nlocal: 8000 ave 8000 max 8000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 4995 ave 4995 max 4995 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: 224000 ave 224000 max 224000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 224000 Ave neighs/atom = 28 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.089831697437, Press = 1.77254992873092 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 4.616 | 4.616 | 4.616 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 9000 -36388.904 -36388.904 -36702.038 -36702.038 302.8519 302.8519 161284.98 161284.98 -432.54904 -432.54904 10000 -36381.642 -36381.642 -36706.987 -36706.987 314.66163 314.66163 161208.65 161208.65 295.67397 295.67397 Loop time of 59.1158 on 1 procs for 1000 steps with 8000 atoms Performance: 1.462 ns/day, 16.421 hours/ns, 16.916 timesteps/s 55.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 | 58.355 | 58.355 | 58.355 | 0.0 | 98.71 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.064874 | 0.064874 | 0.064874 | 0.0 | 0.11 Output | 8.1062e-05 | 8.1062e-05 | 8.1062e-05 | 0.0 | 0.00 Modify | 0.55 | 0.55 | 0.55 | 0.0 | 0.93 Other | | 0.1461 | | | 0.25 Nlocal: 8000 ave 8000 max 8000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 4995 ave 4995 max 4995 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: 224000 ave 224000 max 224000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 224000 Ave neighs/atom = 28 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.125046744711, Press = 3.03003774121472 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 4.616 | 4.616 | 4.616 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 10000 -36381.642 -36381.642 -36706.987 -36706.987 314.66163 314.66163 161208.65 161208.65 295.67397 295.67397 11000 -36381.903 -36381.903 -36712.831 -36712.831 320.06171 320.06171 161057.01 161057.01 1197.6587 1197.6587 Loop time of 59.0314 on 1 procs for 1000 steps with 8000 atoms Performance: 1.464 ns/day, 16.398 hours/ns, 16.940 timesteps/s 55.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 | 58.151 | 58.151 | 58.151 | 0.0 | 98.51 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.083874 | 0.083874 | 0.083874 | 0.0 | 0.14 Output | 4.1962e-05 | 4.1962e-05 | 4.1962e-05 | 0.0 | 0.00 Modify | 0.70072 | 0.70072 | 0.70072 | 0.0 | 1.19 Other | | 0.09566 | | | 0.16 Nlocal: 8000 ave 8000 max 8000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 4995 ave 4995 max 4995 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: 224000 ave 224000 max 224000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 224000 Ave neighs/atom = 28 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.172802833841, Press = -0.425290630574791 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 4.616 | 4.616 | 4.616 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 11000 -36381.903 -36381.903 -36712.831 -36712.831 320.06171 320.06171 161057.01 161057.01 1197.6587 1197.6587 12000 -36381.559 -36381.559 -36699.964 -36699.964 307.94986 307.94986 161168.56 161168.56 414.23741 414.23741 Loop time of 58.5209 on 1 procs for 1000 steps with 8000 atoms Performance: 1.476 ns/day, 16.256 hours/ns, 17.088 timesteps/s 56.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 | 57.73 | 57.73 | 57.73 | 0.0 | 98.65 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.08469 | 0.08469 | 0.08469 | 0.0 | 0.14 Output | 7.391e-05 | 7.391e-05 | 7.391e-05 | 0.0 | 0.00 Modify | 0.6101 | 0.6101 | 0.6101 | 0.0 | 1.04 Other | | 0.09581 | | | 0.16 Nlocal: 8000 ave 8000 max 8000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 4995 ave 4995 max 4995 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: 224000 ave 224000 max 224000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 224000 Ave neighs/atom = 28 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.421383394097, Press = -2.96670837006341 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 4.616 | 4.616 | 4.616 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 12000 -36381.559 -36381.559 -36699.964 -36699.964 307.94986 307.94986 161168.56 161168.56 414.23741 414.23741 13000 -36388.343 -36388.343 -36705.014 -36705.014 306.27172 306.27172 161308.59 161308.59 -374.33439 -374.33439 Loop time of 57.4223 on 1 procs for 1000 steps with 8000 atoms Performance: 1.505 ns/day, 15.951 hours/ns, 17.415 timesteps/s 56.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 | 56.797 | 56.797 | 56.797 | 0.0 | 98.91 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.06396 | 0.06396 | 0.06396 | 0.0 | 0.11 Output | 4.2915e-05 | 4.2915e-05 | 4.2915e-05 | 0.0 | 0.00 Modify | 0.50608 | 0.50608 | 0.50608 | 0.0 | 0.88 Other | | 0.05505 | | | 0.10 Nlocal: 8000 ave 8000 max 8000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 4995 ave 4995 max 4995 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: 224000 ave 224000 max 224000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 224000 Ave neighs/atom = 28 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.380812298379, Press = -1.33633979657612 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 4.616 | 4.616 | 4.616 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 13000 -36388.343 -36388.343 -36705.014 -36705.014 306.27172 306.27172 161308.59 161308.59 -374.33439 -374.33439 14000 -36387.309 -36387.309 -36709.112 -36709.112 311.23522 311.23522 161284.68 161284.68 -374.26768 -374.26768 Loop time of 55.851 on 1 procs for 1000 steps with 8000 atoms Performance: 1.547 ns/day, 15.514 hours/ns, 17.905 timesteps/s 59.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 | 55.115 | 55.115 | 55.115 | 0.0 | 98.68 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.11014 | 0.11014 | 0.11014 | 0.0 | 0.20 Output | 4.6968e-05 | 4.6968e-05 | 4.6968e-05 | 0.0 | 0.00 Modify | 0.57008 | 0.57008 | 0.57008 | 0.0 | 1.02 Other | | 0.05613 | | | 0.10 Nlocal: 8000 ave 8000 max 8000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 4995 ave 4995 max 4995 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: 224000 ave 224000 max 224000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 224000 Ave neighs/atom = 28 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.307745047804, Press = 0.789598074081936 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 4.616 | 4.616 | 4.616 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 14000 -36387.309 -36387.309 -36709.112 -36709.112 311.23522 311.23522 161284.68 161284.68 -374.26768 -374.26768 15000 -36386.339 -36386.339 -36698.105 -36698.105 301.52824 301.52824 161212.7 161212.7 71.712366 71.712366 Loop time of 56.2088 on 1 procs for 1000 steps with 8000 atoms Performance: 1.537 ns/day, 15.614 hours/ns, 17.791 timesteps/s 58.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 | 55.49 | 55.49 | 55.49 | 0.0 | 98.72 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.064688 | 0.064688 | 0.064688 | 0.0 | 0.12 Output | 4.7922e-05 | 4.7922e-05 | 4.7922e-05 | 0.0 | 0.00 Modify | 0.57851 | 0.57851 | 0.57851 | 0.0 | 1.03 Other | | 0.0755 | | | 0.13 Nlocal: 8000 ave 8000 max 8000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 4995 ave 4995 max 4995 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: 224000 ave 224000 max 224000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 224000 Ave neighs/atom = 28 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.167470093886, Press = 1.55094329238918 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 4.616 | 4.616 | 4.616 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 15000 -36386.339 -36386.339 -36698.105 -36698.105 301.52824 301.52824 161212.7 161212.7 71.712366 71.712366 16000 -36388.269 -36388.269 -36705.239 -36705.239 306.56145 306.56145 160946.61 160946.61 1753.6149 1753.6149 Loop time of 55.1277 on 1 procs for 1000 steps with 8000 atoms Performance: 1.567 ns/day, 15.313 hours/ns, 18.140 timesteps/s 59.8% CPU use with 1 MPI tasks x 1 OpenMP threads MPI task timing breakdown: Section | min time | avg time | max time |%varavg| %total --------------------------------------------------------------- Pair | 54.497 | 54.497 | 54.497 | 0.0 | 98.86 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.064561 | 0.064561 | 0.064561 | 0.0 | 0.12 Output | 3.5048e-05 | 3.5048e-05 | 3.5048e-05 | 0.0 | 0.00 Modify | 0.53024 | 0.53024 | 0.53024 | 0.0 | 0.96 Other | | 0.036 | | | 0.07 Nlocal: 8000 ave 8000 max 8000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 4995 ave 4995 max 4995 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: 224000 ave 224000 max 224000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 224000 Ave neighs/atom = 28 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 161241.771496901 print "LAMMPS calculation completed" LAMMPS calculation completed quit 0