Hello, This is Shivam Tripathy, currently trying to install lammps (latest release) using git command but there has been significant problem in installation while building of cmakefiles or using ‘make -j$nproc)’ or using ‘make install’. The following is the configuration of my workstation:-
antpc@antpc:~$ nproc
128
antpc@antpc:~$ nvidia-smi
Wed Feb 18 14:08:34 2026
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 590.48.01 Driver Version: 590.48.01 CUDA Version: 13.1 |
+-----------------------------------------+------------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce RTX 5090 Off | 00000000:3B:00.0 On | N/A |
| 0% 52C P8 53W / 575W | 624MiB / 32607MiB | 10% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| 0 N/A N/A 3919 G /usr/lib/xorg/Xorg 199MiB |
| 0 N/A N/A 4209 G /usr/bin/gnome-shell 45MiB |
| 0 N/A N/A 4742 G ...exec/xdg-desktop-portal-gnome 8MiB |
| 0 N/A N/A 4975 G /usr/bin/nautilus 24MiB |
| 0 N/A N/A 13061 G .../7766/usr/lib/firefox/firefox 223MiB |
| 0 N/A N/A 40841 G /usr/bin/gnome-text-editor 21MiB |
+-----------------------------------------------------------------------------------------+
antpc@antpc:~$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2025 NVIDIA Corporation
Built on Tue_Dec__16_07:23:41_PM_PST_2025
Cuda compilation tools, release 13.1, V13.1.115
Build cuda_13.1.r13.1/compiler.37061995_0
antpc@antpc:~$ cmake --version
cmake version 4.2.3
CMake suite maintained and supported by Kitware (kitware.com/cmake).
antpc@antpc:~$ mpicxx --version
g++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
and system info:-
# System Details Report
---
## Report details
- **Date generated:** 2026-02-18 14:09:20
## Hardware Information:
- **Hardware Model:** Giga Computing MS74-HB0-000
- **Memory:** 128.0 GiB
- **Processor:** Intel® Xeon® 6710E × 128
- **Graphics:** NVIDIA GeForce RTX™ 5090
- **Disk Capacity:** 2.0 TB
## Software Information:
- **Firmware Version:** F25
- **OS Name:** Ubuntu 24.04.4 LTS
- **OS Build:** (null)
- **OS Type:** 64-bit
- **GNOME Version:** 46
- **Windowing System:** X11
- **Kernel Version:** Linux 6.8.0-90-generic
then I was following the cmake building using this :-
cmake ../cmake -D BUILD_MPI=on -D BUILD_OMP=on -D PKG_KSPACE=ON -D PKG_MANYBODY=ON -D PKG_MOLECULE=ON -D PKG_REAXFF=ON -D CMAKE_BUILD_TYPE=Release -D CMAKE_CUDA_ARCHITECTURES=120 -D CMAKE_CXX_COMPILER=mpicxx -D FFT_KOKKOS=CUFFT -D BUILD_SHARED_LIBS=ON -D CMAKE_C_COMPILER=mpicc -D FFT=FFTW3 -D Kokkos_ENABLE_CUDA=ON -D Kokkos_ENABLE_OPENMP=ON -D Kokkos_ENABLE_SERIAL=ON -D Kokkos_ARCH_BLACKWELL120=ON -D PKG_KOKKOS=ON -D PKG_RIGID=ON -D PKG_REPLICA=ON -D PKG_GRANULAR=ON -D PKG_EXTRA-COMPUTE=ON
Errors came related to missing libraries, nvcc fatal errors, (also I installed kokkos 5.0.2 from git command in the system), then also errors begin come related to fatal errors in kokkos detection as well as architecture configuration confusion. After some hit and trial I installed the lammps, the job script i try to run goes into floating point exception whenever I try to do the “mpirun -np X”.
Hence, can anyone help me related to this ?
Warm Regards…