[lammps-users] Lammps installation

Hello sir,

I successfully compiled the make files g++,linux,serial. But when i trying to use in examples i got following error. I copied the files lmp_g++,lmp_linux,lmp_serial into the required folder(indent).But i didnt get solution. Please help me.

ERROR:
lmp_linux: command not found

Manisha.

Maybe the current directory is not in your path?
Try:

./lmp_linux < in.script

Steve

Hello sir,

I successfully compiled the make files g++,linux,serial. But when i
trying to use in examples i got following error. I copied the files
lmp_g++,lmp_linux,lmp_serial into the required folder(indent).But i
didnt get solution. Please help me.

manisha,

please work your way through a linux/unix tutorial.
this is really not at all a LAMMPS issue.

to explain,
the current directory is not part of the search path
for executables unlike on other operating systems
and for very good reasons. thus you either have to
copy the compiled executable into a directory that is
listed in $PATH or you have to use an "absolute" path,
e.g. ./lmp_linux

cheers,
   axel.