[lammps-users] run on ubuntu

Hi,

I’ve just compiled LAMMPS on Ubuntu. But I don’t be able to run any samples. Sample: Lammps manual has instructions following for one of the Lennard−Jones tests.

cd src
make debian
cp lmp_debian …/examples/lj
cd …/examples/lj
mpirun −np 4 lmp_debian <in.lj.nve

I tried above instructions but İt isn’t run.

please help me

Thanks in advance

You probably also received the email from sourceforge for the nomination. I believe that Lammps deserves the title. I have never seen that the developers of an open source software are so kindly to reply almost every question from users before I use lammps.

Hi,

I've just compiled LAMMPS on Ubuntu. But I don't be able to run any
samples. Sample: Lammps manual has instructions following for one of
the Lennard−Jones tests.

cd src
make debian
cp lmp_debian ../examples/lj
cd ../examples/lj
mpirun −np 4 lmp_debian <in.lj.nve

I tried above instructions but İt isn't run.

ahmet,

please observe elementary unix behavior. the current
directory "." is usually not listed the PATH enviroment
variable (unlike windows/DOS and for very good reasons),
so executables in the current directory can only be
found when you include a path to its location, e.g. by
using: ./lmp_debian

cheers,
   axel.

23 Mayıs 2009 Cumartesi 22:35 tarihinde Axel Kohlmeyer <[email protected]> yazdı:

Hi,

I’ve just compiled LAMMPS on Ubuntu. But I don’t be able to run any
samples. Sample: Lammps manual has instructions following for one of
the Lennard−Jones tests.

cd src
make debian
cp lmp_debian …/examples/lj
cd …/examples/lj
mpirun −np 4 lmp_debian <in.lj.nve

I tried above instructions but İt isn’t run.

ahmet,

please observe elementary unix behavior. the current
directory “.” is usually not listed the PATH enviroment
variable (unlike windows/DOS and for very good reasons),
so executables in the current directory can only be
found when you include a path to its location, e.g. by
using: ./lmp_debian

cheers,
axel.

please help me

Thanks in advance


Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com
_______________________________________________ lammps-users mailing list lammps-users@…44…s.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lammps-users

Axel Kohlmeyer akohlmey@…1186… http://www.cmm.upenn.edu
Center for Molecular Modeling – University of Pennsylvania
Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323
tel: 1-215-898-1582, fax: 1-215-573-6233, office-tel: 1-215-898-5425

If you make something idiot-proof, the universe creates a better idiot.

thanks for replies. @axel I am sorry I dont understand that you said.

Error:
error:

ahmedo@…1330…:~ cd Masaüstü [email protected]...:~/Masaüstücd lammps [email protected]...:~/Masaüstü/ lammps cd src
ahmedo@…1330…:~/Masaüstü/lammps/src$ make debian
make[1]:/home/ahmedo/Masaüstü/lammps/src/Obj_debian' dizinine giriliyor make[1]: …/lmp_debian’ güncel
make[1]: `/home/ahmedo/Masaüstü/lammps/src/Obj_debian’ dizininden çıkılıyor
ahmedo@…1330…:~/Masaüstü/lammps/src$ cp lmp_debian …/examples/lj
ahmedo@…1330…:~/Masaüstü/lammps/src$ mpirun −np 4 lmp_debian <in.lj.nve
bash: in.lj.nve: No such file or directory
ahmedo@…12…1330…:~/Masaüstü/lammps/src$

ahmedo@…1330…:~ cd Masaüstü [email protected]...:~/Masaüstü cd lammps
ahmedo@…1330…:~/Masaüstü/lammps$ cd src
ahmedo@…1331…30…:~/Masaüstü/lammps/src$ make debian
make[1]: Entering directory /home/ahmedo/Masaüstü/lammps/src/Obj_debian' make[1]: …/lmp_debian’ is up to date.
make[1]: Leaving directory `/home/ahmedo/Masaüstü/lammps/src/Obj_debian’
ahmedo@…1330…:~/Masaüstü/lammps/src$ cp lmp_debian …/examples/lj
ahmedo@…1330…:~/Masaüstü/lammps/src$ mpirun −np 4 lmp_debian <in.lj.nve
bash: in.lj.nve: No such file or directory
ahmedo@…1330…:~/Masaüstü/lammps/src$

You are standing in the /src directory and the input script in.lj.nve is not there. You may want to put the lmp_debian and the script in the same directory, or specify the correct path to the input.

Cheers,
-Trung

Quoting ahmet y?ld?r?m <[email protected]...>: