ISMEAR=2,文献中明确提到了:Partial occupations were obtained using the Methfessel-Paxton scheme of order 2 with a smearing of 0.2 eV,Methfessel-Paxton 方法(ISMEAR > 0)是专门为金属设计的。相比于 Gaussian (ISMEAR = 0),它能让总能量关于K点的收敛速度更快。在计算CO的时候一定改回高斯展宽。
k点选择
Gamma撒点
几何优化
,静态计算
收敛相对会慢一些:
一共18个原子,用时如下:
1 2 3 4 5 6 7 8 9 10 11
(base) storm@X16:~/test/ads/ads/opt$ tail OUTCAR User time (sec): 15699.993 System time (sec): 101.669 Elapsed time (sec): 16178.992
Maximum memory used (kb): 628856. Average memory used (kb): N/A
Minor page faults: 1405416 Major page faults: 0 Voluntary context switches: 14197
(fairchem) storm@storm ~/claudecode/fairchem/uma/temp $ time python ../examples/adsorption_energy.py --adsorbed ads_POSCAR --gas CO_POSCAR --surface surfac e_POSCAR --model ../uma-m-1p1.pt --task oc20 ============================================================ ADSORPTION ENERGY CALCULATION ============================================================ 1. Calculating adsorbed system energy... System: COPt16 Atoms: 18 Loading model: ../uma-m-1p1.pt -------------------------------------------------------------------------------- SINGLE POINT CALCULATION -------------------------------------------------------------------------------- Cell: 5.5492 x 5.5492 x 26.7964 ŠCell: 5.5492 x 5.5492 x 26.7964 ŠPBC: [ True True True] Volume: 714.61 ų WARNING:root:If 'dataset_list' is provided in the config, the code assumes that each dataset maps to itself. Please use 'dataset_mapping' as 'dataset_list' is deprecated and will be removed in the future. Calculating energy and forces... Calculating stress... Energy: -98.817862 eV Calculation completed in 1.50 s OUTCAR written to: results/OUTCAR JSON results written to: results/uma_results.json CONTCAR written to: results/CONTCAR ================================================================================ SUMMARY ================================================================================ Total energy: -98.81786186 eV Energy per atom: -5.48988121 eV/atom Max force: 0.52008080 eV/ŠRMS force: 0.21199445 eV/ŠPressure: 1.96439230 GPa Calculation time: 1.50 s ================================================================================ Energy: -98.817862 eV 2. Calculating gas molecule energy... System: CO Atoms: 2 Loading model: ../uma-m-1p1.pt -------------------------------------------------------------------------------- SINGLE POINT CALCULATION -------------------------------------------------------------------------------- Cell: 17.0000 x 17.0000 x 17.0000 ŠCell: 17.0000 x 17.0000 x 17.0000 ŠPBC: [ True True True] Volume: 4913.00 ų WARNING:root:If 'dataset_list' is provided in the config, the code assumes that each dataset maps to itself. Please use 'dataset_mapping' as 'dataset_list' is deprecated and will be removed in the future. Calculating energy and forces... Calculating stress... Energy: -14.437472 eV Calculation completed in 0.60 s OUTCAR written to: results/OUTCAR JSON results written to: results/uma_results.json CONTCAR written to: results/CONTCAR ================================================================================ SUMMARY ================================================================================ Total energy: -14.43747178 eV Energy per atom: -7.21873589 eV/atom Max force: 0.57697660 eV/ŠRMS force: 0.57697660 eV/ŠPressure: 0.00717079 GPa Calculation time: 0.60 s ================================================================================ Energy: -14.437472 eV 3. Calculating clean surface energy... System: Pt16 Atoms: 16 Loading model: ../uma-m-1p1.pt -------------------------------------------------------------------------------- SINGLE POINT CALCULATION -------------------------------------------------------------------------------- Cell: 5.5492 x 5.5492 x 26.7964 ŠCell: 5.5492 x 5.5492 x 26.7964 ŠPBC: [ True True True] Volume: 714.61 ų WARNING:root:If 'dataset_list' is provided in the config, the code assumes that each dataset maps to itself. Please use 'dataset_mapping' as 'dataset_list' is deprecated and will be removed in the future. Calculating energy and forces... Calculating stress... Energy: -83.144463 eV Calculation completed in 1.49 s OUTCAR written to: results/OUTCAR JSON results written to: results/uma_results.json CONTCAR written to: results/CONTCAR ================================================================================ SUMMARY ================================================================================ Total energy: -83.14446262 eV Energy per atom: -5.19652891 eV/atom Max force: 0.41771099 eV/ŠRMS force: 0.21009526 eV/ŠPressure: 1.22113061 GPa Calculation time: 1.49 s ================================================================================ Energy: -83.144463 eV ------------------------------------------------------------ Adsorption Energy: -1.235927 eV ============================================================ ============================================================ CALCULATION COMPLETE ============================================================ Energy Components: Adsorbed system: -98.817862 eV Gas molecule: -14.437472 eV Clean surface: -83.144463 eV Adsorption Energy: E_ads = -1.235927 eV E_ads = -28.5011 kcal/mol E_ads = -119.2485 kJ/mol real 0m57.502s user 1m14.811s sys 0m47.895s
================================================================================ SUMMARY FOR omat ================================================================================ Total energy: -93.03783162 eV Energy per atom: -5.81486448 eV/atom Max force: 0.24742778 eV/Å RMS force: 0.12906978 eV/Å Pressure: -0.36038849 GPa Calculation time: 1.21 s ================================================================================ Energy: -93.037832 eV ------------------------------------------------------------ Adsorption Energy: -1.760454 eV ============================================================ ============================================================ CALCULATION COMPLETE ============================================================ Energy Components: Adsorbed system: -109.462288 eV Gas molecule: -14.664002 eV Clean surface: -93.037832 eV Adsorption Energy: E_ads = -1.760454 eV E_ads = -40.5969 kcal/mol E_ads = -169.8574 kJ/mol real 0m49.194s user 1m11.338s sys 0m42.796s
================================================================================ SUMMARY FOR omol ================================================================================ Total energy: -85.15865324 eV Energy per atom: -5.32241583 eV/atom Max force: 0.35174352 eV/Å RMS force: 0.18068850 eV/Å Pressure: 0.46252662 GPa Calculation time: 1.18 s ================================================================================ Energy: -85.158653 eV ------------------------------------------------------------ Adsorption Energy: -3.437631 eV ============================================================ ============================================================ CALCULATION COMPLETE ============================================================ Energy Components: Adsorbed system: -103.436992 eV Gas molecule: -14.840708 eV Clean surface: -85.158653 eV Adsorption Energy: E_ads = -3.437631 eV E_ads = -79.2735 kcal/mol E_ads = -331.6799 kJ/mol real 0m49.001s user 1m9.737s sys 0m42.362s
================================================================================ SUMMARY FOR odac ================================================================================ Total energy: -85.15865324 eV Energy per atom: -5.32241583 eV/atom Max force: 0.35174355 eV/Å RMS force: 0.18068850 eV/Å Pressure: 0.46252671 GPa Calculation time: 1.24 s ================================================================================ Energy: -85.158653 eV ------------------------------------------------------------ Adsorption Energy: -3.437631 eV ============================================================ ============================================================ CALCULATION COMPLETE ============================================================ Energy Components: Adsorbed system: -103.436992 eV Gas molecule: -14.840708 eV Clean surface: -85.158653 eV Adsorption Energy: E_ads = -3.437631 eV E_ads = -79.2735 kcal/mol E_ads = -331.6799 kJ/mol real 0m49.999s user 1m12.139s sys 0m42.648s
================================================================================ SUMMARY FOR omc ================================================================================ Total energy: -94.23304826 eV Energy per atom: -5.88956552 eV/atom Max force: 0.35484159 eV/Å RMS force: 0.17868795 eV/Å Pressure: 0.27917987 GPa Calculation time: 1.42 s ================================================================================ Energy: -94.233048 eV ------------------------------------------------------------ Adsorption Energy: -4.091944 eV ============================================================ ============================================================ CALCULATION COMPLETE ============================================================ Energy Components: Adsorbed system: -113.270863 eV Gas molecule: -14.945870 eV Clean surface: -94.233048 eV Adsorption Energy: E_ads = -4.091944 eV E_ads = -94.3623 kcal/mol E_ads = -394.8112 kJ/mol real 0m49.479s user 1m12.847s sys 0m44.418s