problem with running lammps in parallel

Dear all,
I have a problem with running lammps in parallel. Actually, I installed lammps on my home on IPM cluster. I copied my data and input files into lammps/src and then used the following command:

./lmp_mpi -in in.myfile

It worked, but it’s too slow; (because of using only one processor). I tried to use the following command to made it faster:

mpirun -np 16 lmp_mpi -in in.myfile

But I got this error: " HYDU_create_process (utils/launch/launch.c:75): execvp error on file lmp_mpi (No such file or directory)". Could you please tell me how I should do it?

Thanks,

Neda

Dear all,
I have a problem with running lammps in parallel. Actually, I installed
lammps on my home on IPM cluster. I copied my data and input files into
lammps/src and then used the following command:

./lmp_mpi -in in.myfile

It worked, but it's too slow; (because of using only one processor). I
tried to use the following command to made it faster:

mpirun -np 16 lmp_mpi -in in.myfile

But I got this error: " HYDU_create_process (utils/launch/launch.c:75):
execvp error on file lmp_mpi (No such file or directory)". Could you please
tell me how I should do it?

​this is not a LAMMPS problem, but related to your MPI library and a
property of Linux/Unix systems where the current working directory is not
part of the search path for executables. mpirun complains, that your
lmp_mpi executable cannot be found in a folder listed in $PATH.
if you compare the two​ command lines, you should see a significant
difference that is commensurate with my explanations above.

axel.

Hello everyone. I have this problem when running lammps for the density calculation. Any suggestion?

Hello everyone. I have this problem when running lammps for the density
calculation. Any suggestion?

​please do not "hijack" ​an unrelated discussion thread to post a new
question.
instead compose a new e-mail and give it a new, suitable subject. it is in
your own interest, as this increases your chances to get a meaningful
response significantly.

there are more recommendations about posting to this mailing list at:
http://lammps.sandia.gov/guidelines.html
the more closely you follow those guidelines, the more likely you will get
help.

finally, on the topic of your inquiry: ​e-mails about this error are posted
and answered(!) on this mailing list regularly. thus please search the
mailing list archive and study old answers and only post the same topic
again if you have something to add, that is different from what people
posted previously.

thanks for understanding,
      axel.​