Sun Qiming
Department of Chemistry, Princeton University, Princeton, New Jersey, 08544.
J Comput Chem. 2015 Aug 15;36(22):1664-71. doi: 10.1002/jcc.23981. Epub 2015 Jun 30.
An efficient integral library Libcint was designed to automatically implement general integrals for Gaussian-type scalar and spinor basis functions. The library is able to evaluate arbitrary integral expressions on top of p, r and σ operators with one-electron overlap and nuclear attraction, two-electron Coulomb and Gaunt operators for segmented contracted and/or generated contracted basis in Cartesian, spherical or spinor form. Using a symbolic algebra tool, new integrals are derived and translated to C code programmatically. The generated integrals can be used in various types of molecular properties. To demonstrate the capability of the integral library, we computed the analytical gradients and NMR shielding constants at both nonrelativistic and 4-component relativistic Hartree-Fock level in this work. Due to the use of kinetically balanced basis and gauge including atomic orbitals, the relativistic analytical gradients and shielding constants requires the integral library to handle the fifth-order electron repulsion integral derivatives. The generality of the integral library is achieved without losing efficiency. On the modern multi-CPU platform, Libcint can easily reach the overall throughput being many times of the I/O bandwidth. On a 20-core node, we are able to achieve an average output 8.3 GB/s for C60 molecule with cc-pVTZ basis.
一个高效的积分库Libcint被设计用于自动实现高斯型标量和旋量基函数的一般积分。该库能够在具有单电子重叠和核吸引的p、r和σ算符之上,以及用于笛卡尔、球形或旋量形式的分段收缩和/或生成收缩基的双电子库仑和冈特算符上,评估任意积分表达式。使用符号代数工具,新的积分被推导出来并以编程方式转换为C代码。生成的积分可用于各种类型的分子性质。为了展示积分库的能力,我们在这项工作中计算了非相对论和四分量相对论Hartree-Fock水平下的解析梯度和NMR屏蔽常数。由于使用了动力学平衡基和包含原子轨道的规范,相对论解析梯度和屏蔽常数要求积分库处理五阶电子排斥积分导数。积分库在不损失效率的情况下实现了通用性。在现代多CPU平台上,Libcint能够轻松达到比I/O带宽高出许多倍的整体吞吐量。在一个20核节点上,对于采用cc-pVTZ基的C60分子,我们能够实现平均每秒8.3 GB的输出。