# 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.089974194765093*${_u_distance} variable latticeconst_converted equal 4.089974194765093*1 lattice fcc ${latticeconst_converted} lattice fcc 4.08997419476509 Lattice spacing in x,y,z = 4.08997 4.08997 4.08997 region simbox block 0 10 0 10 0 10 units lattice create_box 1 simbox Created orthogonal box = (0 0 0) to (40.8997 40.8997 40.8997) 1 by 1 by 1 MPI processor grid create_atoms 1 box Created 4000 atoms create_atoms CPU = 0.000375032 secs variable mass_converted equal 107.8682*${_u_mass} variable mass_converted equal 107.8682*1 # specify which KIM Model to use pair_style kim EAM_Dynamo_HaleWongZimmerman_2008PairHybrid_PdAgH__MO_104806802344_005 pair_coeff * * Ag mass 1 ${mass_converted} mass 1 107.8682 # initial volume variable v equal vol # assign formula variable V0 equal ${v} # evaluate initial value variable V0 equal 68416.6339905204 variable V0_metal equal ${V0}/(${_u_distance}*${_u_distance}*${_u_distance}) variable V0_metal equal 68416.6339905204/(${_u_distance}*${_u_distance}*${_u_distance}) variable V0_metal equal 68416.6339905204/(1*${_u_distance}*${_u_distance}) variable V0_metal equal 68416.6339905204/(1*1*${_u_distance}) variable V0_metal equal 68416.6339905204/(1*1*1) variable V0_metal_times1000 equal ${V0_metal}*1000 variable V0_metal_times1000 equal 68416.6339905204*1000 print "Initial system volume: ${V0_metal} Angstroms^3" Initial system volume: 68416.6339905204 Angstroms^3 # set the time step to 0.001 picoseconds variable timestep_converted equal 0.001*${_u_time} variable timestep_converted equal 0.001*1 timestep ${timestep_converted} timestep 0.001 variable temp_converted equal 253.15*${_u_temperature} variable temp_converted equal 253.15*1 variable Tdamp_converted equal 0.1*${_u_time} variable Tdamp_converted equal 0.1*1 variable press_converted equal 0.0*${_u_pressure} variable press_converted equal 0.0*1 variable Pdamp_converted equal 1*${_u_time} variable Pdamp_converted equal 1*1 # create initial velocities consistent with the chosen temperature velocity all create ${temp_converted} 17 mom yes rot yes velocity all create 253.15 17 mom yes rot yes # set NPT ensemble for all atoms fix ensemble all npt temp ${temp_converted} ${temp_converted} ${Tdamp_converted} iso ${press_converted} ${press_converted} ${Pdamp_converted} fix ensemble all npt temp 253.15 ${temp_converted} ${Tdamp_converted} iso ${press_converted} ${press_converted} ${Pdamp_converted} fix ensemble all npt temp 253.15 253.15 ${Tdamp_converted} iso ${press_converted} ${press_converted} ${Pdamp_converted} fix ensemble all npt temp 253.15 253.15 0.1 iso ${press_converted} ${press_converted} ${Pdamp_converted} fix ensemble all npt temp 253.15 253.15 0.1 iso 0 ${press_converted} ${Pdamp_converted} fix ensemble all npt temp 253.15 253.15 0.1 iso 0 0 ${Pdamp_converted} fix ensemble all npt temp 253.15 253.15 0.1 iso 0 0 1 # compute the time averages of pressure, temperature, and volume, respectively # ignore the first 5000 timesteps variable etotal_metal equal etotal/${_u_energy} variable etotal_metal equal etotal/1 variable pe_metal equal pe/${_u_energy} variable pe_metal equal pe/1 variable T_metal equal temp/${_u_temperature} variable T_metal equal temp/1 variable V_metal equal vol/(${_u_distance}*${_u_distance}*${_u_distance}) variable V_metal equal vol/(1*${_u_distance}*${_u_distance}) variable V_metal equal vol/(1*1*${_u_distance}) variable V_metal equal vol/(1*1*1) variable P_metal equal press/${_u_pressure} variable P_metal equal press/1 fix avgmyTemp all ave/time 5 20 100 v_T_metal ave running start 5000 fix avgmyPress all ave/time 5 20 100 v_P_metal ave running start 5000 fix avgmyVol all ave/time 5 20 100 v_V_metal ave running start 5000 # extract fix quantities into variables so they can be used in if-else logic later. variable T equal f_avgmyTemp variable P equal f_avgmyPress variable V equal f_avgmyVol # set error bounds for temperature and pressure in original metal units (K and bar) variable T_low equal "253.15 - 0.2" variable T_up equal "253.15 + 0.2" variable P_low equal "0.0 - 0.2" variable P_up equal "0.0 + 0.2" # print to logfile every 1000 timesteps thermo_style custom step etotal v_etotal_metal pe v_pe_metal temp v_T_metal vol v_V_metal press v_P_metal thermo 1000 # Run a simulation for at most 2000*1000 timesteps. At each 1000th time step, check # whether the temperature and pressure have converged. If yes, break. label top variable a loop 2000 run 1000 Neighbor list info ... update every 1 steps, delay 10 steps, check yes max neighbors/atom: 2000, page size: 100000 master list distance cutoff = 8 ghost atom cutoff = 8 binsize = 4, bins = 11 11 11 1 neighbor lists, perpetual/occasional/extra = 1 0 0 (1) pair kim, perpetual attributes: full, newton off, cut 8 pair build: full/bin/atomonly stencil: full/bin/3d bin: standard Per MPI rank memory allocation (min/avg/max) = 5.369 | 5.369 | 5.369 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 0 -11269.198 -11269.198 -11400.054 -11400.054 253.15 253.15 68416.634 68416.634 2042.9332 2042.9332 1000 -11134.751 -11134.751 -11267.767 -11267.767 257.32742 257.32742 69436.198 69436.198 844.91945 844.91945 Loop time of 25.0047 on 1 procs for 1000 steps with 4000 atoms Performance: 3.455 ns/day, 6.946 hours/ns, 39.992 timesteps/s 36.6% CPU use with 1 MPI tasks x 1 OpenMP threads MPI task timing breakdown: Section | min time | avg time | max time |%varavg| %total --------------------------------------------------------------- Pair | 24.516 | 24.516 | 24.516 | 0.0 | 98.05 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.071526 | 0.071526 | 0.071526 | 0.0 | 0.29 Output | 4.5061e-05 | 4.5061e-05 | 4.5061e-05 | 0.0 | 0.00 Modify | 0.3769 | 0.3769 | 0.3769 | 0.0 | 1.51 Other | | 0.03977 | | | 0.16 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 5841 ave 5841 max 5841 min Histogram: 1 0 0 0 0 0 0 0 0 0 Neighs: 0 ave 0 max 0 min Histogram: 1 0 0 0 0 0 0 0 0 0 FullNghs: 536000 ave 536000 max 536000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 536000 Ave neighs/atom = 134 Neighbor list builds = 0 Dangerous builds = 0 if "${V_metal}>${V0_metal_times1000}" then "jump SELF unstable" if "${T}>${T_low} && ${T}<${T_up} && ${P}>${P_low} && ${P}<${P_up}" then "jump SELF break" print "flag: Temp = ${T}, Press = ${P}" flag: Temp = 0, Press = 0 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 5.369 | 5.369 | 5.369 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 1000 -11134.751 -11134.751 -11267.767 -11267.767 257.32742 257.32742 69436.198 69436.198 844.91945 844.91945 2000 -11145.87 -11145.87 -11274.601 -11274.601 249.03906 249.03906 69482.965 69482.965 -767.52396 -767.52396 Loop time of 27.6448 on 1 procs for 1000 steps with 4000 atoms Performance: 3.125 ns/day, 7.679 hours/ns, 36.173 timesteps/s 36.6% CPU use with 1 MPI tasks x 1 OpenMP threads MPI task timing breakdown: Section | min time | avg time | max time |%varavg| %total --------------------------------------------------------------- Pair | 27.049 | 27.049 | 27.049 | 0.0 | 97.84 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.11891 | 0.11891 | 0.11891 | 0.0 | 0.43 Output | 4.5061e-05 | 4.5061e-05 | 4.5061e-05 | 0.0 | 0.00 Modify | 0.43723 | 0.43723 | 0.43723 | 0.0 | 1.58 Other | | 0.04 | | | 0.14 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 5852 ave 5852 max 5852 min Histogram: 1 0 0 0 0 0 0 0 0 0 Neighs: 0 ave 0 max 0 min Histogram: 1 0 0 0 0 0 0 0 0 0 FullNghs: 535904 ave 535904 max 535904 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 535904 Ave neighs/atom = 133.976 Neighbor list builds = 0 Dangerous builds = 0 if "${V_metal}>${V0_metal_times1000}" then "jump SELF unstable" if "${T}>${T_low} && ${T}<${T_up} && ${P}>${P_low} && ${P}<${P_up}" then "jump SELF break" print "flag: Temp = ${T}, Press = ${P}" flag: Temp = 0, Press = 0 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 5.369 | 5.369 | 5.369 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 2000 -11145.87 -11145.87 -11274.601 -11274.601 249.03906 249.03906 69482.965 69482.965 -767.52396 -767.52396 3000 -11139.523 -11139.523 -11272.16 -11272.16 256.59549 256.59549 69406.051 69406.051 883.88258 883.88258 Loop time of 28.0623 on 1 procs for 1000 steps with 4000 atoms Performance: 3.079 ns/day, 7.795 hours/ns, 35.635 timesteps/s 36.2% CPU use with 1 MPI tasks x 1 OpenMP threads MPI task timing breakdown: Section | min time | avg time | max time |%varavg| %total --------------------------------------------------------------- Pair | 27.475 | 27.475 | 27.475 | 0.0 | 97.91 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.13885 | 0.13885 | 0.13885 | 0.0 | 0.49 Output | 4.4107e-05 | 4.4107e-05 | 4.4107e-05 | 0.0 | 0.00 Modify | 0.36801 | 0.36801 | 0.36801 | 0.0 | 1.31 Other | | 0.08014 | | | 0.29 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 5856 ave 5856 max 5856 min Histogram: 1 0 0 0 0 0 0 0 0 0 Neighs: 0 ave 0 max 0 min Histogram: 1 0 0 0 0 0 0 0 0 0 FullNghs: 535960 ave 535960 max 535960 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 535960 Ave neighs/atom = 133.99 Neighbor list builds = 0 Dangerous builds = 0 if "${V_metal}>${V0_metal_times1000}" then "jump SELF unstable" if "${T}>${T_low} && ${T}<${T_up} && ${P}>${P_low} && ${P}<${P_up}" then "jump SELF break" print "flag: Temp = ${T}, Press = ${P}" flag: Temp = 0, Press = 0 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 5.369 | 5.369 | 5.369 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 3000 -11139.523 -11139.523 -11272.16 -11272.16 256.59549 256.59549 69406.051 69406.051 883.88258 883.88258 4000 -11142.655 -11142.655 -11273.325 -11273.325 252.78985 252.78985 69456.012 69456.012 -166.44367 -166.44367 Loop time of 27.6032 on 1 procs for 1000 steps with 4000 atoms Performance: 3.130 ns/day, 7.668 hours/ns, 36.228 timesteps/s 36.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 | 27.017 | 27.017 | 27.017 | 0.0 | 97.88 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.11938 | 0.11938 | 0.11938 | 0.0 | 0.43 Output | 4.4107e-05 | 4.4107e-05 | 4.4107e-05 | 0.0 | 0.00 Modify | 0.39685 | 0.39685 | 0.39685 | 0.0 | 1.44 Other | | 0.07018 | | | 0.25 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 5855 ave 5855 max 5855 min Histogram: 1 0 0 0 0 0 0 0 0 0 Neighs: 0 ave 0 max 0 min Histogram: 1 0 0 0 0 0 0 0 0 0 FullNghs: 535954 ave 535954 max 535954 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 535954 Ave neighs/atom = 133.988 Neighbor list builds = 0 Dangerous builds = 0 if "${V_metal}>${V0_metal_times1000}" then "jump SELF unstable" if "${T}>${T_low} && ${T}<${T_up} && ${P}>${P_low} && ${P}<${P_up}" then "jump SELF break" print "flag: Temp = ${T}, Press = ${P}" flag: Temp = 0, Press = 0 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 5.369 | 5.369 | 5.369 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 4000 -11142.655 -11142.655 -11273.325 -11273.325 252.78985 252.78985 69456.012 69456.012 -166.44367 -166.44367 5000 -11144.778 -11144.778 -11274.979 -11274.979 251.88244 251.88244 69472.556 69472.556 -554.27207 -554.27207 Loop time of 29.2255 on 1 procs for 1000 steps with 4000 atoms Performance: 2.956 ns/day, 8.118 hours/ns, 34.217 timesteps/s 34.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 | 28.67 | 28.67 | 28.67 | 0.0 | 98.10 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.078323 | 0.078323 | 0.078323 | 0.0 | 0.27 Output | 3.314e-05 | 3.314e-05 | 3.314e-05 | 0.0 | 0.00 Modify | 0.41738 | 0.41738 | 0.41738 | 0.0 | 1.43 Other | | 0.05972 | | | 0.20 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 5852 ave 5852 max 5852 min Histogram: 1 0 0 0 0 0 0 0 0 0 Neighs: 0 ave 0 max 0 min Histogram: 1 0 0 0 0 0 0 0 0 0 FullNghs: 535950 ave 535950 max 535950 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 535950 Ave neighs/atom = 133.988 Neighbor list builds = 0 Dangerous builds = 0 if "${V_metal}>${V0_metal_times1000}" then "jump SELF unstable" if "${T}>${T_low} && ${T}<${T_up} && ${P}>${P_low} && ${P}<${P_up}" then "jump SELF break" print "flag: Temp = ${T}, Press = ${P}" flag: Temp = 249.176669629768, Press = 81.5132418785764 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 5.369 | 5.369 | 5.369 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 5000 -11144.778 -11144.778 -11274.979 -11274.979 251.88244 251.88244 69472.556 69472.556 -554.27207 -554.27207 6000 -11141.127 -11141.127 -11272.185 -11272.185 253.53952 253.53952 69407.01 69407.01 835.10528 835.10528 Loop time of 27.5531 on 1 procs for 1000 steps with 4000 atoms Performance: 3.136 ns/day, 7.654 hours/ns, 36.294 timesteps/s 36.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 | 26.853 | 26.853 | 26.853 | 0.0 | 97.46 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.15899 | 0.15899 | 0.15899 | 0.0 | 0.58 Output | 2.718e-05 | 2.718e-05 | 2.718e-05 | 0.0 | 0.00 Modify | 0.46151 | 0.46151 | 0.46151 | 0.0 | 1.67 Other | | 0.07991 | | | 0.29 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 5853 ave 5853 max 5853 min Histogram: 1 0 0 0 0 0 0 0 0 0 Neighs: 0 ave 0 max 0 min Histogram: 1 0 0 0 0 0 0 0 0 0 FullNghs: 535986 ave 535986 max 535986 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 535986 Ave neighs/atom = 133.996 Neighbor list builds = 0 Dangerous builds = 0 if "${V_metal}>${V0_metal_times1000}" then "jump SELF unstable" if "${T}>${T_low} && ${T}<${T_up} && ${P}>${P_low} && ${P}<${P_up}" then "jump SELF break" print "flag: Temp = ${T}, Press = ${P}" flag: Temp = 253.046915506637, Press = -1.60321860976946 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 5.369 | 5.369 | 5.369 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 6000 -11141.127 -11141.127 -11272.185 -11272.185 253.53952 253.53952 69407.01 69407.01 835.10528 835.10528 7000 -11142.45 -11142.45 -11274.912 -11274.912 256.25676 256.25676 69375.902 69375.902 984.19009 984.19009 Loop time of 27.4996 on 1 procs for 1000 steps with 4000 atoms Performance: 3.142 ns/day, 7.639 hours/ns, 36.364 timesteps/s 36.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 | 26.848 | 26.848 | 26.848 | 0.0 | 97.63 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.05825 | 0.05825 | 0.05825 | 0.0 | 0.21 Output | 3.4094e-05 | 3.4094e-05 | 3.4094e-05 | 0.0 | 0.00 Modify | 0.56069 | 0.56069 | 0.56069 | 0.0 | 2.04 Other | | 0.0328 | | | 0.12 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 5851 ave 5851 max 5851 min Histogram: 1 0 0 0 0 0 0 0 0 0 Neighs: 0 ave 0 max 0 min Histogram: 1 0 0 0 0 0 0 0 0 0 FullNghs: 536054 ave 536054 max 536054 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 536054 Ave neighs/atom = 134.013 Neighbor list builds = 0 Dangerous builds = 0 if "${V_metal}>${V0_metal_times1000}" then "jump SELF unstable" if "${T}>${T_low} && ${T}<${T_up} && ${P}>${P_low} && ${P}<${P_up}" then "jump SELF break" print "flag: Temp = ${T}, Press = ${P}" flag: Temp = 252.975519260644, Press = 13.784625885783 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 5.369 | 5.369 | 5.369 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 7000 -11142.45 -11142.45 -11274.912 -11274.912 256.25676 256.25676 69375.902 69375.902 984.19009 984.19009 8000 -11141.141 -11141.141 -11271.23 -11271.23 251.66634 251.66634 69520.634 69520.634 -896.55095 -896.55095 Loop time of 27.5765 on 1 procs for 1000 steps with 4000 atoms Performance: 3.133 ns/day, 7.660 hours/ns, 36.263 timesteps/s 36.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 | 26.903 | 26.903 | 26.903 | 0.0 | 97.56 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.10865 | 0.10865 | 0.10865 | 0.0 | 0.39 Output | 3.3855e-05 | 3.3855e-05 | 3.3855e-05 | 0.0 | 0.00 Modify | 0.49949 | 0.49949 | 0.49949 | 0.0 | 1.81 Other | | 0.06487 | | | 0.24 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 5855 ave 5855 max 5855 min Histogram: 1 0 0 0 0 0 0 0 0 0 Neighs: 0 ave 0 max 0 min Histogram: 1 0 0 0 0 0 0 0 0 0 FullNghs: 536046 ave 536046 max 536046 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 536046 Ave neighs/atom = 134.012 Neighbor list builds = 0 Dangerous builds = 0 if "${V_metal}>${V0_metal_times1000}" then "jump SELF unstable" if "${T}>${T_low} && ${T}<${T_up} && ${P}>${P_low} && ${P}<${P_up}" then "jump SELF break" print "flag: Temp = ${T}, Press = ${P}" flag: Temp = 253.211509383742, Press = 1.59279903610855 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 5.369 | 5.369 | 5.369 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 8000 -11141.141 -11141.141 -11271.23 -11271.23 251.66634 251.66634 69520.634 69520.634 -896.55095 -896.55095 9000 -11141.564 -11141.564 -11272.488 -11272.488 253.28031 253.28031 69392.3 69392.3 984.60229 984.60229 Loop time of 27.8135 on 1 procs for 1000 steps with 4000 atoms Performance: 3.106 ns/day, 7.726 hours/ns, 35.954 timesteps/s 36.2% CPU use with 1 MPI tasks x 1 OpenMP threads MPI task timing breakdown: Section | min time | avg time | max time |%varavg| %total --------------------------------------------------------------- Pair | 27.179 | 27.179 | 27.179 | 0.0 | 97.72 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.078621 | 0.078621 | 0.078621 | 0.0 | 0.28 Output | 3.7909e-05 | 3.7909e-05 | 3.7909e-05 | 0.0 | 0.00 Modify | 0.48131 | 0.48131 | 0.48131 | 0.0 | 1.73 Other | | 0.07491 | | | 0.27 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 5848 ave 5848 max 5848 min Histogram: 1 0 0 0 0 0 0 0 0 0 Neighs: 0 ave 0 max 0 min Histogram: 1 0 0 0 0 0 0 0 0 0 FullNghs: 535800 ave 535800 max 535800 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 535800 Ave neighs/atom = 133.95 Neighbor list builds = 0 Dangerous builds = 0 if "${V_metal}>${V0_metal_times1000}" then "jump SELF unstable" if "${T}>${T_low} && ${T}<${T_up} && ${P}>${P_low} && ${P}<${P_up}" then "jump SELF break" print "flag: Temp = ${T}, Press = ${P}" flag: Temp = 253.212215890031, Press = 1.61064075301591 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 5.369 | 5.369 | 5.369 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 9000 -11141.564 -11141.564 -11272.488 -11272.488 253.28031 253.28031 69392.3 69392.3 984.60229 984.60229 10000 -11142.77 -11142.77 -11273.199 -11273.199 252.32243 252.32243 69456.722 69456.722 -119.03751 -119.03751 Loop time of 27.0507 on 1 procs for 1000 steps with 4000 atoms Performance: 3.194 ns/day, 7.514 hours/ns, 36.968 timesteps/s 37.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 | 26.566 | 26.566 | 26.566 | 0.0 | 98.21 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.098527 | 0.098527 | 0.098527 | 0.0 | 0.36 Output | 4.8161e-05 | 4.8161e-05 | 4.8161e-05 | 0.0 | 0.00 Modify | 0.30636 | 0.30636 | 0.30636 | 0.0 | 1.13 Other | | 0.07954 | | | 0.29 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 5849 ave 5849 max 5849 min Histogram: 1 0 0 0 0 0 0 0 0 0 Neighs: 0 ave 0 max 0 min Histogram: 1 0 0 0 0 0 0 0 0 0 FullNghs: 536062 ave 536062 max 536062 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 536062 Ave neighs/atom = 134.016 Neighbor list builds = 0 Dangerous builds = 0 if "${V_metal}>${V0_metal_times1000}" then "jump SELF unstable" if "${T}>${T_low} && ${T}<${T_up} && ${P}>${P_low} && ${P}<${P_up}" then "jump SELF break" print "flag: Temp = ${T}, Press = ${P}" flag: Temp = 253.059054565462, Press = 3.83155301472026 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 5.369 | 5.369 | 5.369 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 10000 -11142.77 -11142.77 -11273.199 -11273.199 252.32243 252.32243 69456.722 69456.722 -119.03751 -119.03751 11000 -11138.552 -11138.552 -11269.968 -11269.968 254.23156 254.23156 69508.77 69508.77 -520.66386 -520.66386 Loop time of 27.6155 on 1 procs for 1000 steps with 4000 atoms Performance: 3.129 ns/day, 7.671 hours/ns, 36.212 timesteps/s 36.4% CPU use with 1 MPI tasks x 1 OpenMP threads MPI task timing breakdown: Section | min time | avg time | max time |%varavg| %total --------------------------------------------------------------- Pair | 27.136 | 27.136 | 27.136 | 0.0 | 98.26 Neigh | 0 | 0 | 0 | 0.0 | 0.00 Comm | 0.078357 | 0.078357 | 0.078357 | 0.0 | 0.28 Output | 2.8849e-05 | 2.8849e-05 | 2.8849e-05 | 0.0 | 0.00 Modify | 0.36158 | 0.36158 | 0.36158 | 0.0 | 1.31 Other | | 0.03977 | | | 0.14 Nlocal: 4000 ave 4000 max 4000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 5846 ave 5846 max 5846 min Histogram: 1 0 0 0 0 0 0 0 0 0 Neighs: 0 ave 0 max 0 min Histogram: 1 0 0 0 0 0 0 0 0 0 FullNghs: 535976 ave 535976 max 535976 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 535976 Ave neighs/atom = 133.994 Neighbor list builds = 0 Dangerous builds = 0 if "${V_metal}>${V0_metal_times1000}" then "jump SELF unstable" if "${T}>${T_low} && ${T}<${T_up} && ${P}>${P_low} && ${P}<${P_up}" then "jump SELF break" jump SELF break # Write final averaged volume to file if temperature and volume have converged; otherwise wirte a # flag to indicate non-convergence. variable myStep equal step if "${myStep} < 2000000" then "print '${V}' file output/vol_T253.15.out" else "print 'not_converged' file output/vol_T253.15.out" print '${V}' file output/vol_T253.15.out 69450.9721392742 print "LAMMPS calculation completed" LAMMPS calculation completed quit 0