Problems encountered when installing LAMMPS on Linux system

Hello everyone, I have also installed LAMMPS before, but when I tried to install the stable version for August 29, 2024, I encountered the following error when I make mpi. If you could provide a solution or idea to the problem, I would greatly appreciate it. Thank you!


and the version of linux for Ubuntu 24.04.1 LTS

There is no enough information here to see what you did and whether that is correct.
This looks a lot like there is an error where you didn’t follow the documentation somewhere.

In general, we recommend for people with less experience in compiling software from source to use the CMake style build procedure instead of the traditional make build.