概要
CUDA-accelerated Grimme D2, D3, and D4 dispersion corrections for single-GPU, batched, and multi-GPU molecular simulations
AI・機械学習計測したスター増加
- 24時間
- 0
- 7日間
- 履歴を収集中
- 15日間
- 履歴を収集中
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルCUDA-Dispersion
Optimized CUDA kernels for high-throughput dispersion and multi-GPU MD.
Grimme D2, D3, and D4 dispersion corrections for molecules and periodic systems on NVIDIA GPUs. Evaluate individual structures, batch independent structures, or distribute one calculation across GPU ranks with MPI. D3 and D4 include optimized batch paths.
Benchmarks

On NVIDIA GB10, CUDA-D3 and CUDA-D4 reached 42,643 and 533 structures/s, respectively, for batches of 128 LPSC structures with 52 atoms each. For a 46,656-atom diamond silicon simulation with SevenNet-Omni, scaling from one to two RTX PRO 6000 GPUs gave 1.70× speedup with D3 and 1.63× with D4.
Requirements
- Linux with a compatible NVIDIA driver
- NVIDIA GPU with compute capability 8.0 or later (
sm_80) - CUDA Toolkit with
nvccand a compatible C++17 host compiler - cuBLAS, cuSOLVER, and cuFFT for D4
- Python 3.10+ and NumPy for the Python interface
Optional Python extras are ase for ASE, torch for CUDA tensors, and mpi
for Python MPI runs. NCCL is optional for multi-GPU communication.
Install
From a source checkout, set CUDA_ARCHS for your GPU. The default is sm_121
(GB10), which requires CUDA Toolkit 12.9 or later. On an A100, install with:
CUDA_ARCHS=sm_80 python -m pip install '.[ase]'
For the C API or LAMMPS, run CUDA_ARCHS=sm_80 bash build.sh on an A100. Both
install methods compile the D3 and D4 libraries in parallel.
Quick start
from ase.build import bulk
from cuda_d3 import CudaD3
from cuda_d4 import CudaD4
atoms = bulk('Si', 'diamond', a=5.431)
d3 = CudaD3('pbe', 'damp_bj', s9=1.0)
d4 = CudaD4('pbe')
result = d3.compute(atoms)
batch = d4.compute_batch([atoms, atoms.repeat((2, 1, 1))])
How to cite
If you use CUDA-Dispersion in your work, please cite the project DOI, which covers all releases.
@software{you_cuda_disp_2026,
author = {You, Jinmu},
title = {{CUDA-Dispersion}: {CUDA}-accelerated {Grimme D2, D3, and D4} dispersion corrections},
year = {2026},
doi = {10.5281/zenodo.24645997},
url = {https://github.com/MDIL-SNU/CUDA-Dispersion}
}
License
関連プロジェクトを探す
読み込み中…