[lammps-users] Installing LAMMPS

Hi everyone,

I downloaded LAMMPS-17Aug09 and based on the instructions use the “make” command to install it on openSUSE 10.3. I used:
“make opensuse”
The obj_opensuse directory is created and all *.cpp and *.h file are copied. However, it seems that all of these files tried to be converted to *.d files such as angle.d, angle_charmm.d, … which could not be found. The massage is:

Makefile:49: angle.d: No such a file or directory
Makefile:49: angle_charmm.d: No such a file or directory
.
.
.
Makefile:49: write_restart.d: No such a file or directory
write_restart.cpp:14:17: error: mpi.h: No such file or directory

I would appreciate you helping me to solve this problem in installation.

best,
Shidvash Vakilipour

dear Shidvash
please find in attachment for step-by-step guide to install lammps on linux box…
cheers
ram

guide (4.6 KB)

Makefile:49: write_restart.d: No such a file or directory
write_restart.cpp:14:17: error: mpi.h: No such file or directory

The first line is not an error, it's just the Makefile processing the
dependencies. You should get a lot of them (one per file) at
the beginning, then the make should proceed. The second line
looks like an error, b/c you have not told LAMMPS where to
find your MPI installation. You should download the latest
LAMMPS (which has no Makefile.opensuse) and read the
instructions in a file like Makefile.linux and in Section_start.html
to specify your MPI settings.

Steve