# 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.034461110830307*${_u_distance} variable latticeconst_converted equal 5.034461110830307*1 lattice bcc ${latticeconst_converted} lattice bcc 5.03446111083031 Lattice spacing in x,y,z = 5.03446 5.03446 5.03446 region simbox block 0 10 0 10 0 10 units lattice create_box 1 simbox Created orthogonal box = (0 0 0) to (50.3446 50.3446 50.3446) 1 by 1 by 1 MPI processor grid create_atoms 1 box Created 2000 atoms create_atoms CPU = 0.000226974 secs variable mass_converted equal 137.327*${_u_mass} variable mass_converted equal 137.327*1 # specify which KIM Model to use pair_style kim Morse_Shifted_GirifalcoWeizer_1959MedCutoff_Ba__MO_229241184339_003 WARNING: KIM Model does not provide `partialParticleVirial'; virial per atom will be zero (src/KIM/pair_kim.cpp:1089) pair_coeff * * Ba mass 1 ${mass_converted} mass 1 137.327 # initial volume variable v equal vol # assign formula variable V0 equal ${v} # evaluate initial value variable V0 equal 127602.437759586 variable V0_metal equal ${V0}/(${_u_distance}*${_u_distance}*${_u_distance}) variable V0_metal equal 127602.437759586/(${_u_distance}*${_u_distance}*${_u_distance}) variable V0_metal equal 127602.437759586/(1*${_u_distance}*${_u_distance}) variable V0_metal equal 127602.437759586/(1*1*${_u_distance}) variable V0_metal equal 127602.437759586/(1*1*1) variable V0_metal_times1000 equal ${V0_metal}*1000 variable V0_metal_times1000 equal 127602.437759586*1000 print "Initial system volume: ${V0_metal} Angstroms^3" Initial system volume: 127602.437759586 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 293.15*${_u_temperature} variable temp_converted equal 293.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 293.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 293.15 ${temp_converted} ${Tdamp_converted} iso ${press_converted} ${press_converted} ${Pdamp_converted} fix ensemble all npt temp 293.15 293.15 ${Tdamp_converted} iso ${press_converted} ${press_converted} ${Pdamp_converted} fix ensemble all npt temp 293.15 293.15 0.1 iso ${press_converted} ${press_converted} ${Pdamp_converted} fix ensemble all npt temp 293.15 293.15 0.1 iso 0 ${press_converted} ${Pdamp_converted} fix ensemble all npt temp 293.15 293.15 0.1 iso 0 0 ${Pdamp_converted} fix ensemble all npt temp 293.15 293.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 "293.15 - 0.2" variable T_up equal "293.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 = 18.9421 ghost atom cutoff = 18.9421 binsize = 9.47105, bins = 6 6 6 1 neighbor lists, perpetual/occasional/extra = 1 0 0 (1) pair kim, perpetual attributes: full, newton off, cut 18.9421 pair build: full/bin/atomonly stencil: full/bin/3d bin: standard Per MPI rank memory allocation (min/avg/max) = 7.04 | 7.04 | 7.04 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 0 -3412.1867 -3412.1867 -3487.934 -3487.934 293.15 293.15 127602.44 127602.44 634.05485 634.05485 1000 -3322.2933 -3322.2933 -3403.5643 -3403.5643 314.52713 314.52713 130826.69 130826.69 -15.962996 -15.962996 Loop time of 29.7885 on 1 procs for 1000 steps with 2000 atoms Performance: 2.900 ns/day, 8.275 hours/ns, 33.570 timesteps/s 68.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 | 29.502 | 29.502 | 29.502 | 0.0 | 99.04 Neigh | 0.12374 | 0.12374 | 0.12374 | 0.0 | 0.42 Comm | 0.049986 | 0.049986 | 0.049986 | 0.0 | 0.17 Output | 4.1008e-05 | 4.1008e-05 | 4.1008e-05 | 0.0 | 0.00 Modify | 0.099919 | 0.099919 | 0.099919 | 0.0 | 0.34 Other | | 0.01335 | | | 0.04 Nlocal: 2000 ave 2000 max 2000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8745 ave 8745 max 8745 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: 868306 ave 868306 max 868306 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 868306 Ave neighs/atom = 434.153 Neighbor list builds = 4 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.044 | 7.044 | 7.044 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 1000 -3322.2933 -3322.2933 -3403.5643 -3403.5643 314.52713 314.52713 130826.69 130826.69 -15.962996 -15.962996 2000 -3329.47 -3329.47 -3404.8271 -3404.8271 291.63966 291.63966 130853.32 130853.32 -108.6138 -108.6138 Loop time of 27.2042 on 1 procs for 1000 steps with 2000 atoms Performance: 3.176 ns/day, 7.557 hours/ns, 36.759 timesteps/s 74.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 | 26.894 | 26.894 | 26.894 | 0.0 | 98.86 Neigh | 0.10809 | 0.10809 | 0.10809 | 0.0 | 0.40 Comm | 0.089848 | 0.089848 | 0.089848 | 0.0 | 0.33 Output | 3.1948e-05 | 3.1948e-05 | 3.1948e-05 | 0.0 | 0.00 Modify | 0.099028 | 0.099028 | 0.099028 | 0.0 | 0.36 Other | | 0.01336 | | | 0.05 Nlocal: 2000 ave 2000 max 2000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8745 ave 8745 max 8745 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: 865718 ave 865718 max 865718 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 865718 Ave neighs/atom = 432.859 Neighbor list builds = 5 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.044 | 7.044 | 7.044 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 2000 -3329.47 -3329.47 -3404.8271 -3404.8271 291.63966 291.63966 130853.32 130853.32 -108.6138 -108.6138 3000 -3332.1059 -3332.1059 -3409.933 -3409.933 301.19888 301.19888 130448.33 130448.33 92.880893 92.880893 Loop time of 25.1205 on 1 procs for 1000 steps with 2000 atoms Performance: 3.439 ns/day, 6.978 hours/ns, 39.808 timesteps/s 80.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 | 24.765 | 24.765 | 24.765 | 0.0 | 98.59 Neigh | 0.14201 | 0.14201 | 0.14201 | 0.0 | 0.57 Comm | 0.070349 | 0.070349 | 0.070349 | 0.0 | 0.28 Output | 3.0994e-05 | 3.0994e-05 | 3.0994e-05 | 0.0 | 0.00 Modify | 0.10879 | 0.10879 | 0.10879 | 0.0 | 0.43 Other | | 0.03401 | | | 0.14 Nlocal: 2000 ave 2000 max 2000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8745 ave 8745 max 8745 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: 868280 ave 868280 max 868280 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 868280 Ave neighs/atom = 434.14 Neighbor list builds = 5 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.044 | 7.044 | 7.044 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 3000 -3332.1059 -3332.1059 -3409.933 -3409.933 301.19888 301.19888 130448.33 130448.33 92.880893 92.880893 4000 -3338.368 -3338.368 -3413.7659 -3413.7659 291.79789 291.79789 130514.98 130514.98 -42.278456 -42.278456 Loop time of 25.0678 on 1 procs for 1000 steps with 2000 atoms Performance: 3.447 ns/day, 6.963 hours/ns, 39.892 timesteps/s 81.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 | 24.763 | 24.763 | 24.763 | 0.0 | 98.79 Neigh | 0.13026 | 0.13026 | 0.13026 | 0.0 | 0.52 Comm | 0.050966 | 0.050966 | 0.050966 | 0.0 | 0.20 Output | 3.3855e-05 | 3.3855e-05 | 3.3855e-05 | 0.0 | 0.00 Modify | 0.10971 | 0.10971 | 0.10971 | 0.0 | 0.44 Other | | 0.01357 | | | 0.05 Nlocal: 2000 ave 2000 max 2000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8745 ave 8745 max 8745 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: 864962 ave 864962 max 864962 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 864962 Ave neighs/atom = 432.481 Neighbor list builds = 4 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.044 | 7.044 | 7.044 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 4000 -3338.368 -3338.368 -3413.7659 -3413.7659 291.79789 291.79789 130514.98 130514.98 -42.278456 -42.278456 5000 -3336.6534 -3336.6534 -3412.3254 -3412.3254 292.85832 292.85832 130792.53 130792.53 -212.78991 -212.78991 Loop time of 27.2841 on 1 procs for 1000 steps with 2000 atoms Performance: 3.167 ns/day, 7.579 hours/ns, 36.651 timesteps/s 74.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 | 26.886 | 26.886 | 26.886 | 0.0 | 98.54 Neigh | 0.18205 | 0.18205 | 0.18205 | 0.0 | 0.67 Comm | 0.082634 | 0.082634 | 0.082634 | 0.0 | 0.30 Output | 2.5988e-05 | 2.5988e-05 | 2.5988e-05 | 0.0 | 0.00 Modify | 0.12001 | 0.12001 | 0.12001 | 0.0 | 0.44 Other | | 0.01351 | | | 0.05 Nlocal: 2000 ave 2000 max 2000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8745 ave 8745 max 8745 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: 863534 ave 863534 max 863534 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 863534 Ave neighs/atom = 431.767 Neighbor list builds = 5 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 = 291.243892684332, Press = -237.93836745994 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 7.044 | 7.044 | 7.044 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 5000 -3336.6534 -3336.6534 -3412.3254 -3412.3254 292.85832 292.85832 130792.53 130792.53 -212.78991 -212.78991 6000 -3334.7647 -3334.7647 -3410.4596 -3410.4596 292.94684 292.94684 130014.67 130014.67 363.79671 363.79671 Loop time of 25.2385 on 1 procs for 1000 steps with 2000 atoms Performance: 3.423 ns/day, 7.011 hours/ns, 39.622 timesteps/s 79.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.928 | 24.928 | 24.928 | 0.0 | 98.77 Neigh | 0.12285 | 0.12285 | 0.12285 | 0.0 | 0.49 Comm | 0.089237 | 0.089237 | 0.089237 | 0.0 | 0.35 Output | 2.1935e-05 | 2.1935e-05 | 2.1935e-05 | 0.0 | 0.00 Modify | 0.084372 | 0.084372 | 0.084372 | 0.0 | 0.33 Other | | 0.01359 | | | 0.05 Nlocal: 2000 ave 2000 max 2000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8745 ave 8745 max 8745 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: 865760 ave 865760 max 865760 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 865760 Ave neighs/atom = 432.88 Neighbor list builds = 4 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 = 292.409566343916, Press = -13.710342907544 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 7.044 | 7.044 | 7.044 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 6000 -3334.7647 -3334.7647 -3410.4596 -3410.4596 292.94684 292.94684 130014.67 130014.67 363.79671 363.79671 7000 -3331.511 -3331.511 -3409.6849 -3409.6849 302.54121 302.54121 130711.66 130711.66 -82.459821 -82.459821 Loop time of 25.6601 on 1 procs for 1000 steps with 2000 atoms Performance: 3.367 ns/day, 7.128 hours/ns, 38.971 timesteps/s 80.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 | 25.35 | 25.35 | 25.35 | 0.0 | 98.79 Neigh | 0.1622 | 0.1622 | 0.1622 | 0.0 | 0.63 Comm | 0.050376 | 0.050376 | 0.050376 | 0.0 | 0.20 Output | 2.9087e-05 | 2.9087e-05 | 2.9087e-05 | 0.0 | 0.00 Modify | 0.083657 | 0.083657 | 0.083657 | 0.0 | 0.33 Other | | 0.01358 | | | 0.05 Nlocal: 2000 ave 2000 max 2000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8745 ave 8745 max 8745 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: 869722 ave 869722 max 869722 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 869722 Ave neighs/atom = 434.861 Neighbor list builds = 5 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 = 294.413290473234, Press = -0.697955621987591 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 7.044 | 7.044 | 7.044 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 7000 -3331.511 -3331.511 -3409.6849 -3409.6849 302.54121 302.54121 130711.66 130711.66 -82.459821 -82.459821 8000 -3331.223 -3331.223 -3406.9861 -3406.9861 293.21095 293.21095 130873.05 130873.05 -167.88025 -167.88025 Loop time of 28.4706 on 1 procs for 1000 steps with 2000 atoms Performance: 3.035 ns/day, 7.908 hours/ns, 35.124 timesteps/s 71.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 | 28.119 | 28.119 | 28.119 | 0.0 | 98.77 Neigh | 0.15344 | 0.15344 | 0.15344 | 0.0 | 0.54 Comm | 0.080294 | 0.080294 | 0.080294 | 0.0 | 0.28 Output | 2.2888e-05 | 2.2888e-05 | 2.2888e-05 | 0.0 | 0.00 Modify | 0.10433 | 0.10433 | 0.10433 | 0.0 | 0.37 Other | | 0.0135 | | | 0.05 Nlocal: 2000 ave 2000 max 2000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8745 ave 8745 max 8745 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: 864196 ave 864196 max 864196 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 864196 Ave neighs/atom = 432.098 Neighbor list builds = 5 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 = 293.551421279948, Press = -4.01423287821312 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 7.044 | 7.044 | 7.044 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 8000 -3331.223 -3331.223 -3406.9861 -3406.9861 293.21095 293.21095 130873.05 130873.05 -167.88025 -167.88025 9000 -3333.0995 -3333.0995 -3408.2865 -3408.2865 290.98161 290.98161 130536.69 130536.69 37.151661 37.151661 Loop time of 27.6238 on 1 procs for 1000 steps with 2000 atoms Performance: 3.128 ns/day, 7.673 hours/ns, 36.201 timesteps/s 73.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.331 | 27.331 | 27.331 | 0.0 | 98.94 Neigh | 0.14629 | 0.14629 | 0.14629 | 0.0 | 0.53 Comm | 0.04966 | 0.04966 | 0.04966 | 0.0 | 0.18 Output | 2.9802e-05 | 2.9802e-05 | 2.9802e-05 | 0.0 | 0.00 Modify | 0.082821 | 0.082821 | 0.082821 | 0.0 | 0.30 Other | | 0.01349 | | | 0.05 Nlocal: 2000 ave 2000 max 2000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8745 ave 8745 max 8745 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: 866504 ave 866504 max 866504 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 866504 Ave neighs/atom = 433.252 Neighbor list builds = 4 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 = 293.541753533541, Press = -3.94627564365426 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 7.044 | 7.044 | 7.044 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 9000 -3333.0995 -3333.0995 -3408.2865 -3408.2865 290.98161 290.98161 130536.69 130536.69 37.151661 37.151661 10000 -3334.3538 -3334.3538 -3409.2558 -3409.2558 289.87825 289.87825 130468.1 130468.1 51.628105 51.628105 Loop time of 26.6421 on 1 procs for 1000 steps with 2000 atoms Performance: 3.243 ns/day, 7.401 hours/ns, 37.535 timesteps/s 75.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.291 | 26.291 | 26.291 | 0.0 | 98.68 Neigh | 0.10548 | 0.10548 | 0.10548 | 0.0 | 0.40 Comm | 0.069707 | 0.069707 | 0.069707 | 0.0 | 0.26 Output | 2.9087e-05 | 2.9087e-05 | 2.9087e-05 | 0.0 | 0.00 Modify | 0.16249 | 0.16249 | 0.16249 | 0.0 | 0.61 Other | | 0.01346 | | | 0.05 Nlocal: 2000 ave 2000 max 2000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8745 ave 8745 max 8745 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: 866904 ave 866904 max 866904 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 866904 Ave neighs/atom = 433.452 Neighbor list builds = 4 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 = 293.222276218318, Press = -1.1997523889072 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 7.044 | 7.044 | 7.044 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 10000 -3334.3538 -3334.3538 -3409.2558 -3409.2558 289.87825 289.87825 130468.1 130468.1 51.628105 51.628105 11000 -3334.248 -3334.248 -3410.5813 -3410.5813 295.41797 295.41797 130937.36 130937.36 -262.52052 -262.52052 Loop time of 25.2147 on 1 procs for 1000 steps with 2000 atoms Performance: 3.427 ns/day, 7.004 hours/ns, 39.659 timesteps/s 80.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 | 24.95 | 24.95 | 24.95 | 0.0 | 98.95 Neigh | 0.11862 | 0.11862 | 0.11862 | 0.0 | 0.47 Comm | 0.049707 | 0.049707 | 0.049707 | 0.0 | 0.20 Output | 2.9087e-05 | 2.9087e-05 | 2.9087e-05 | 0.0 | 0.00 Modify | 0.082971 | 0.082971 | 0.082971 | 0.0 | 0.33 Other | | 0.01342 | | | 0.05 Nlocal: 2000 ave 2000 max 2000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8745 ave 8745 max 8745 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: 864130 ave 864130 max 864130 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 864130 Ave neighs/atom = 432.065 Neighbor list builds = 5 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 = 293.328115468523, Press = -2.89993575638757 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 7.044 | 7.044 | 7.044 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 11000 -3334.248 -3334.248 -3410.5813 -3410.5813 295.41797 295.41797 130937.36 130937.36 -262.52052 -262.52052 12000 -3334.7306 -3334.7306 -3410.6521 -3410.6521 293.82409 293.82409 130150.96 130150.96 262.36776 262.36776 Loop time of 25.6379 on 1 procs for 1000 steps with 2000 atoms Performance: 3.370 ns/day, 7.122 hours/ns, 39.005 timesteps/s 78.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 | 25.338 | 25.338 | 25.338 | 0.0 | 98.83 Neigh | 0.093836 | 0.093836 | 0.093836 | 0.0 | 0.37 Comm | 0.049716 | 0.049716 | 0.049716 | 0.0 | 0.19 Output | 2.8133e-05 | 2.8133e-05 | 2.8133e-05 | 0.0 | 0.00 Modify | 0.14259 | 0.14259 | 0.14259 | 0.0 | 0.56 Other | | 0.01349 | | | 0.05 Nlocal: 2000 ave 2000 max 2000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8745 ave 8745 max 8745 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: 868460 ave 868460 max 868460 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 868460 Ave neighs/atom = 434.23 Neighbor list builds = 4 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 = 293.168627531754, Press = -3.74215688447514 next a jump SELF top variable a loop 2000 run 1000 Per MPI rank memory allocation (min/avg/max) = 7.044 | 7.044 | 7.044 Mbytes Step TotEng v_etotal_metal PotEng v_pe_metal Temp v_T_metal Volume v_V_metal Press v_P_metal 12000 -3334.7306 -3334.7306 -3410.6521 -3410.6521 293.82409 293.82409 130150.96 130150.96 262.36776 262.36776 13000 -3336.9043 -3336.9043 -3411.5315 -3411.5315 288.81491 288.81491 130241.8 130241.8 168.4005 168.4005 Loop time of 23.8222 on 1 procs for 1000 steps with 2000 atoms Performance: 3.627 ns/day, 6.617 hours/ns, 41.978 timesteps/s 85.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 | 23.473 | 23.473 | 23.473 | 0.0 | 98.53 Neigh | 0.10526 | 0.10526 | 0.10526 | 0.0 | 0.44 Comm | 0.049685 | 0.049685 | 0.049685 | 0.0 | 0.21 Output | 2.5988e-05 | 2.5988e-05 | 2.5988e-05 | 0.0 | 0.00 Modify | 0.16288 | 0.16288 | 0.16288 | 0.0 | 0.68 Other | | 0.03183 | | | 0.13 Nlocal: 2000 ave 2000 max 2000 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 8745 ave 8745 max 8745 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: 864738 ave 864738 max 864738 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 864738 Ave neighs/atom = 432.369 Neighbor list builds = 5 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_T293.15.out" else "print 'not_converged' file output/vol_T293.15.out" print '${V}' file output/vol_T293.15.out 130556.017431789 print "LAMMPS calculation completed" LAMMPS calculation completed quit 0