Recently, I compiled a LAMMPS with KOKKOS ML-IAP packages. But when I ran a simulation which uses pair_style mliap, the simulation did not run on the GPU (It ran on CPU). And I did another test on the eam pair_style. It turned out that the simulations using eam pair_style runs on the GPU.
LAMMPS version: 29 Aug 2024 - Update 1
OS: Linux “Ubuntu 22.04.5 LTS” 6.8.0-48-generic x86_64
CPU: i9-13900K
GPU:RXT-4090
command to run LAMMPS: mpirun -np 1 /home/vscoldness/software/lammps/lammps_kokkos/build/lmp -k on g 1 -sf kk -pk kokkos -in
The input scripts and log files are attached. lammps_GPU.zip (198.2 KB)
Thanks for your information. I am using the pair_style mliap model nn ** descriptor sna **. It seems that the model and descriptor that I am using are not supported by KOKKOS.
Thanks again for your help and have a good day!
Yi