Hello dear Lammps users

I am getting an error while running lammps on ubuntu. Earlier it used to work fine with command mpirun -np 4 lmp_serial -in bn.in. But now it has stopped working giving an error "mpirun was unable to launch the specified application … could not ifnd executable "

Any idea?

Thanks

Rajesh

This is not really a LAMMPS problem. MPI tells you quite clearly what the problem is: it cannot find “lmp_serial”. Did you remove this executable? Is the location of the executable still in your PATH?

I am getting an error while running lammps on ubuntu. Earlier it used to
work fine with command mpirun -np 4 lmp_serial -in bn.in. But now it has
stopped working giving an error "mpirun was unable to launch the specified
application .. could not ifnd executable "

​apart from that. using mpirun on lmp_serial doesn't make a lot of sense.
you will just run multiple serial calculations that will mutually overwrite
their outputs but not run in parallel.

axel.​

Thank Stefan.
Can you please let me know in which folder I can find this executable?

OK Alex. I don’t know much about parallel processing. Somebody installed it for me on my system and told me how to run with this command. Can the please guide me?

If you can send me your hard disk, I can find it for you.

Kidding aside, the executable would be the directory where you put it or built it, probably in mylammps/src?

OK Stefan. Please let me know in which subdirectory of LAMMPS directory it should be?

OK Alex. I don't know much about parallel processing. Somebody installed
it for me on my system and told me how to run with this command. Can the
please guide me?

​you cannot do parallel processing properly without understanding the
basics. so get that "somebody" and explain things properly. most likely you
will be better off, if you can find "somebody else" that doesn't make you
do things that make no sense and properly explains how it works. also,
there is plenty of online material. there are books​. there are many places
that teach courses or do tutorials. there are probably hundreds of
instructional videos and online tutorials. you have to learn this and it is
not our job to teach you. there will be people with the proper knowledge
and experience at your institution. don't you have an adviser? go and
request the advice and training that is needed to do your job?

​axel.​

OK thanks Alex. Actually it was lmp_mpi not serial .