[lammps-users] Install errors/troubles

Hi all,
I am learning computational chemistry and need to install LAMMPS on my
home computer. I am also new to linux and am running WUBI Ubuntu which
is a loopmounted device.

I used a modified makefile.g++ that my professor provided and
installed the FFTW library as he suggested. I tried to execute the
script with ./compile_linux.sh but I don't think it worked. Here is
what I got:

Hi all,
I am learning computational chemistry and need to install LAMMPS on my
home computer. I am also new to linux and am running WUBI Ubuntu which
is a loopmounted device.

I used a modified makefile.g++ that my professor provided and
installed the FFTW library as he suggested. I tried to execute the
script with ./compile_linux.sh but I don't think it worked. Here is
what I got:

it would be helpful to see the contents of this compile_linux.sh script.

[...]

Updating src files from USER-SMD package files
Word too long.
make: *** [makelist] Error 1
`diff style_angle.h style_angle.tmp`: Ambiguous.
make: *** [g++] Error 1

Why did I get those problems with the package files? Thanks for your help.

hard to tell. could be a bug in the Install.sh scriipts.
ubuntu uses a very strict bourne shell that people are
not used to (anymore). it is quite likely that this was
fixed a while ago. please try the current version of
lammps with all patches applied instead.

cheers,
    axel.

I followed the steps on this link: http://ubuntuforums.org/showthread.php?t=1390490 .
Pretty straight-forward and works fine. The makefile has been provided in the thread.