# 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.491938583552837*${_u_distance} variable latticeconst_converted equal 3.491938583552837*1 lattice fcc ${latticeconst_converted} lattice fcc 3.49193858355284 Lattice spacing in x,y,z = 3.49194 3.49194 3.49194 region simbox block 0 10 0 10 0 10 units lattice create_box 1 simbox Created orthogonal box = (0 0 0) to (34.9194 34.9194 34.9194) 1 by 1 by 1 MPI processor grid create_atoms 1 box Created 4000 atoms create_atoms CPU = 0.000351906 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 EMT_Asap_Standard_JacobsenStoltzeNorskov_1996_Ni__MO_108408461881_001 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 42579.4247792531 variable V0_metal equal ${V0}/(${_u_distance}*${_u_distance}*${_u_distance}) variable V0_metal equal 42579.4247792531/(${_u_distance}*${_u_distance}*${_u_distance}) variable V0_metal equal 42579.4247792531/(1*${_u_distance}*${_u_distance}) variable V0_metal equal 42579.4247792531/(1*1*${_u_distance}) variable V0_metal equal 42579.4247792531/(1*1*1) variable V0_metal_times1000 equal ${V0_metal}*1000 variable V0_metal_times1000 equal 42579.4247792531*1000 print "Initial system volume: ${V0_metal} Angstroms^3" Initial system volume: 42579.4247792531 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 273.15*${_u_temperature} variable temp_converted equal 273.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 273.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 273.15 ${temp_converted} ${Tdamp_converted} iso ${press_converted} ${press_converted} ${Pdamp_converted} fix ensemble all npt temp 273.15 273.15 ${Tdamp_converted} iso ${press_converted} ${press_converted} ${Pdamp_converted} fix ensemble all npt temp 273.15 273.15 0.1 iso ${press_converted} ${press_converted} ${Pdamp_converted} fix ensemble all npt temp 273.15 273.15 0.1 iso 0 ${press_converted} ${Pdamp_converted} fix ensemble all npt temp 273.15 273.15 0.1 iso 0 0 ${Pdamp_converted} fix ensemble all npt temp 273.15 273.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 "273.15 - 0.2" variable T_up equal "273.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 = 6.85342 ghost atom cutoff = 6.85342 binsize = 3.42671, bins = 11 11 11 1 neighbor lists, perpetual/occasional/extra = 1 0 0 (1) pair kim, perpetual attributes: full, newton off, cut 6.85342 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 -17632.341 -17632.341 -17773.536 -17773.536 273.15 273.15 42579.425 42579.425 3541.8361 3541.8361 1000 -17479.832 -17479.832 -17624.629 -17624.629 280.11927 280.11927 43084.421 43084.421 834.84592 834.84592 Loop time of 71.0452 on 1 procs for 1000 steps with 4000 atoms Performance: 1.216 ns/day, 19.735 hours/ns, 14.076 timesteps/s 37.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 | 70.532 | 70.532 | 70.532 | 0.0 | 99.28 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.11903 | 0.11903 | 0.11903 | 0.0 | 0.17 Output | 3.5048e-05 | 3.5048e-05 | 3.5048e-05 | 0.0 | 0.00 Modify | 0.37499 | 0.37499 | 0.37499 | 0.0 | 0.53 Other | | 0.01956 | | | 0.03 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 -17479.832 -17479.832 -17624.629 -17624.629 280.11927 280.11927 43084.421 43084.421 834.84592 834.84592 2000 -17491.766 -17491.766 -17629.267 -17629.267 266.00512 266.00512 43101.961 43101.961 -603.78769 -603.78769 Loop time of 76.0481 on 1 procs for 1000 steps with 4000 atoms Performance: 1.136 ns/day, 21.124 hours/ns, 13.150 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 | 75.386 | 75.386 | 75.386 | 0.0 | 99.13 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.049544 | 0.049544 | 0.049544 | 0.0 | 0.07 Output | 3.4094e-05 | 3.4094e-05 | 3.4094e-05 | 0.0 | 0.00 Modify | 0.53272 | 0.53272 | 0.53272 | 0.0 | 0.70 Other | | 0.07978 | | | 0.10 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: 536680 ave 536680 max 536680 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 536680 Ave neighs/atom = 134.17 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 -17491.766 -17491.766 -17629.267 -17629.267 266.00512 266.00512 43101.961 43101.961 -603.78769 -603.78769 3000 -17488.556 -17488.556 -17632.513 -17632.513 278.49415 278.49415 43100.466 43100.466 -749.06476 -749.06476 Loop time of 75.2391 on 1 procs for 1000 steps with 4000 atoms Performance: 1.148 ns/day, 20.900 hours/ns, 13.291 timesteps/s 37.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 | 74.502 | 74.502 | 74.502 | 0.0 | 99.02 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.12974 | 0.12974 | 0.12974 | 0.0 | 0.17 Output | 4.22e-05 | 4.22e-05 | 4.22e-05 | 0.0 | 0.00 Modify | 0.54748 | 0.54748 | 0.54748 | 0.0 | 0.73 Other | | 0.05983 | | | 0.08 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 5843 ave 5843 max 5843 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: 536582 ave 536582 max 536582 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 536582 Ave neighs/atom = 134.145 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 -17488.556 -17488.556 -17632.513 -17632.513 278.49415 278.49415 43100.466 43100.466 -749.06476 -749.06476 4000 -17486.258 -17486.258 -17628.085 -17628.085 274.37425 274.37425 43083.632 43083.632 341.09691 341.09691 Loop time of 75.1408 on 1 procs for 1000 steps with 4000 atoms Performance: 1.150 ns/day, 20.872 hours/ns, 13.308 timesteps/s 37.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 | 74.315 | 74.315 | 74.315 | 0.0 | 98.90 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.21993 | 0.21993 | 0.21993 | 0.0 | 0.29 Output | 4.4107e-05 | 4.4107e-05 | 4.4107e-05 | 0.0 | 0.00 Modify | 0.56616 | 0.56616 | 0.56616 | 0.0 | 0.75 Other | | 0.03991 | | | 0.05 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: 536558 ave 536558 max 536558 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 536558 Ave neighs/atom = 134.139 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 -17486.258 -17486.258 -17628.085 -17628.085 274.37425 274.37425 43083.632 43083.632 341.09691 341.09691 5000 -17489.49 -17489.49 -17629.697 -17629.697 271.24065 271.24065 43076.945 43076.945 424.85184 424.85184 Loop time of 74.395 on 1 procs for 1000 steps with 4000 atoms Performance: 1.161 ns/day, 20.665 hours/ns, 13.442 timesteps/s 37.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 | 73.666 | 73.666 | 73.666 | 0.0 | 99.02 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.079724 | 0.079724 | 0.079724 | 0.0 | 0.11 Output | 3.2902e-05 | 3.2902e-05 | 3.2902e-05 | 0.0 | 0.00 Modify | 0.62922 | 0.62922 | 0.62922 | 0.0 | 0.85 Other | | 0.01998 | | | 0.03 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 5843 ave 5843 max 5843 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: 536666 ave 536666 max 536666 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 536666 Ave neighs/atom = 134.167 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 = 272.605597530502, Press = 160.691748270756 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 -17489.49 -17489.49 -17629.697 -17629.697 271.24065 271.24065 43076.945 43076.945 424.85184 424.85184 6000 -17485.92 -17485.92 -17625.831 -17625.831 270.66785 270.66785 43095.885 43095.885 130.70087 130.70087 Loop time of 83.1809 on 1 procs for 1000 steps with 4000 atoms Performance: 1.039 ns/day, 23.106 hours/ns, 12.022 timesteps/s 33.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 | 82.66 | 82.66 | 82.66 | 0.0 | 99.37 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.1194 | 0.1194 | 0.1194 | 0.0 | 0.14 Output | 3.2902e-05 | 3.2902e-05 | 3.2902e-05 | 0.0 | 0.00 Modify | 0.38153 | 0.38153 | 0.38153 | 0.0 | 0.46 Other | | 0.01957 | | | 0.02 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 5845 ave 5845 max 5845 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: 536638 ave 536638 max 536638 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 536638 Ave neighs/atom = 134.16 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 = 272.803837578291, Press = 22.5781502491633 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 -17485.92 -17485.92 -17625.831 -17625.831 270.66785 270.66785 43095.885 43095.885 130.70087 130.70087 7000 -17491.425 -17491.425 -17630.386 -17630.386 268.82803 268.82803 43126.97 43126.97 -1787.2687 -1787.2687 Loop time of 83.5123 on 1 procs for 1000 steps with 4000 atoms Performance: 1.035 ns/day, 23.198 hours/ns, 11.974 timesteps/s 33.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 | 82.923 | 82.923 | 82.923 | 0.0 | 99.29 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.13949 | 0.13949 | 0.13949 | 0.0 | 0.17 Output | 3.4094e-05 | 3.4094e-05 | 3.4094e-05 | 0.0 | 0.00 Modify | 0.31969 | 0.31969 | 0.31969 | 0.0 | 0.38 Other | | 0.1299 | | | 0.16 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 5845 ave 5845 max 5845 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: 536676 ave 536676 max 536676 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 536676 Ave neighs/atom = 134.169 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 = 273.086379467666, Press = 7.55507872149023 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 -17491.425 -17491.425 -17630.386 -17630.386 268.82803 268.82803 43126.97 43126.97 -1787.2687 -1787.2687 8000 -17488.356 -17488.356 -17631.118 -17631.118 276.1826 276.1826 43152.482 43152.482 -2794.7792 -2794.7792 Loop time of 83.0223 on 1 procs for 1000 steps with 4000 atoms Performance: 1.041 ns/day, 23.062 hours/ns, 12.045 timesteps/s 33.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 | 82.166 | 82.166 | 82.166 | 0.0 | 98.97 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.099444 | 0.099444 | 0.099444 | 0.0 | 0.12 Output | 3.2187e-05 | 3.2187e-05 | 3.2187e-05 | 0.0 | 0.00 Modify | 0.69724 | 0.69724 | 0.69724 | 0.0 | 0.84 Other | | 0.05949 | | | 0.07 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 5847 ave 5847 max 5847 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: 536532 ave 536532 max 536532 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 536532 Ave neighs/atom = 134.133 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 = 273.197781773204, Press = -19.2914672184106 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 -17488.356 -17488.356 -17631.118 -17631.118 276.1826 276.1826 43152.482 43152.482 -2794.7792 -2794.7792 9000 -17486.448 -17486.448 -17629.207 -17629.207 276.1768 276.1768 43078.406 43078.406 489.38738 489.38738 Loop time of 83.1191 on 1 procs for 1000 steps with 4000 atoms Performance: 1.039 ns/day, 23.089 hours/ns, 12.031 timesteps/s 33.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 | 82.33 | 82.33 | 82.33 | 0.0 | 99.05 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.12958 | 0.12958 | 0.12958 | 0.0 | 0.16 Output | 3.1948e-05 | 3.1948e-05 | 3.1948e-05 | 0.0 | 0.00 Modify | 0.60005 | 0.60005 | 0.60005 | 0.0 | 0.72 Other | | 0.05979 | | | 0.07 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 5844 ave 5844 max 5844 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: 536514 ave 536514 max 536514 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 536514 Ave neighs/atom = 134.129 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 = 273.32184810476, Press = -10.9767565204208 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 -17486.448 -17486.448 -17629.207 -17629.207 276.1768 276.1768 43078.406 43078.406 489.38738 489.38738 10000 -17490.877 -17490.877 -17632.71 -17632.71 274.3865 274.3865 43051.017 43051.017 1151.4634 1151.4634 Loop time of 83.244 on 1 procs for 1000 steps with 4000 atoms Performance: 1.038 ns/day, 23.123 hours/ns, 12.013 timesteps/s 33.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 | 82.614 | 82.614 | 82.614 | 0.0 | 99.24 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.099659 | 0.099659 | 0.099659 | 0.0 | 0.12 Output | 0.0074739 | 0.0074739 | 0.0074739 | 0.0 | 0.01 Modify | 0.46262 | 0.46262 | 0.46262 | 0.0 | 0.56 Other | | 0.05986 | | | 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: 536610 ave 536610 max 536610 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 536610 Ave neighs/atom = 134.153 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_T273.15.out" else "print 'not_converged' file output/vol_T273.15.out" print '${V}' file output/vol_T273.15.out 43089.3401581524 print "LAMMPS calculation completed" LAMMPS calculation completed quit 0