problem with installing lammps

Dear Lammps users,
I am trying to install parallel version of lammps 13 JUl 2011on ubuntu 17.10. I am using make

mpi after installing the g++ and MPI protocol:

sudo apt-get install g++
sudo apt-get install openmpi-bin libopenmpi-dev

However, I get this error:
Makefile:66: recipe for target ‘mpi’ failed

make: *** [mpi] Error 1

Could anyone please let me know how to resolve the problem?

  Dear Lammps users,
I am trying to install parallel version of lammps 13 JUl 2011on ubuntu 17.10. I am using make
  mpi after installing the g++ and MPI protocol:

sudo apt-get install g++
sudo apt-get install openmpi-bin libopenmpi-dev
However, I get this error:
Makefile:66: recipe for target 'mpi' failed
make: *** [mpi] Error 1

Could anyone please let me know how to resolve the problem?

there probably is no "mpi" machine makefile available. so you have to
use a machine that is available or create your own makefile. type
"make" to see a list of available "machines".
this is a very old LAMMPS version, you cannot assume, that it is
compiled/installed like a current one. you need to carefully study the
documentation bundled with this version. there are likely other issues
where it differs from the current version. we've done many
improvements to LAMMPS and the build process in the last 7 years.

axel.