I’m hitting a GPU crash when running LAMMPS with Kokkos. The error happens during neighbor construction / atom binning and aborts with cudaErrorIllegalAddress.
lammps_help.txt (6.8 KB)
5. Ubuntu 22.04.5 LTS (Jammy), x86_64, Linux kernel 6.8.0-60-generic.
6. GPUs per node: 1 × NVIDIA L40.
7. command line: lmp -k on g 1 -sf kk -in myinput.in
8. my input
units metal
atom_style atomic
atom_modify map yes
newton on
read_data myfile.data
pair_style mliap unified mymodel.pt 0
pair_coeff * * C Na
timestep 0.001
thermo 100
dump myDump all custom 100 dump.mace id type x y z
dump_modify myDump sort id
fix 1 all nvt temp 300 300 100
run 1000
9. I don’t see this error on benchmarks.
Unfortunately, there are no details about the LAMMPS version and platform that you are building on and that makes it hard to add any meaningful comments on this or determine whether you are reporting an issue that has already been resolved.
Please see the sticky “Read This First” post to learn how to best describe issues.
Please note that there are more recent LAMMPS releases, especially the stable release 30Sep2026 which already had one bugfix update, and also note that we cannot comment on conda based installations, since those builds are not maintained by the LAMMPS developers but externally.
If this is also about running pair style mliap unified then you are mostly out of luck, since this is externally contributed code and maintenance for that has been “spotty” to put it friendly.
There are currently multiple MLIAP related pull requests pending that are in need of reviewing… so you may want to update to the development version of lammps through git and try those changes out on top of that.