[lammps-users] mpirun error on cygwin and quadcore

Hi Users,

I’ve compiled LAMMPS under cygwin with MPI following this tutorial:

http://sbyrnes321.byethost11.com/LAMMPStutorial.html

It seems that everything installed correctly since I can run the examples using:

./lmp_cygwin < in.example

However when I try to use mpirun I get this error message. I do have a quad processor. I suspect I have not configured something correctly.

$ mpirun -np 4 lmp_cygwin < in.peptide
[proxy:0:0@…1809…] HYDU_create_process (./utils/launch/launch.c:69): execvp
error on file lmp_cygwin (No such file or directory)
[proxy:0:0@…1809…] HYDU_create_process (./utils/launch/launch.c:69): execvp
error on file lmp_cygwin (No such file or directory)
[proxy:0:0@…1809…] HYDU_create_process (./utils/launch/launch.c:69): execvp
error on file lmp_cygwin (No such file or directory)
[proxy:0:0@…1809…] HYDU_create_process (./utils/launch/launch.c:69): execvp
error on file lmp_cygwin (No such file or directory)

Thanks for the help,
Casey

Hi Users,

I've compiled LAMMPS under cygwin with MPI following this tutorial:

http://sbyrnes321.byethost11.com/LAMMPStutorial.html

It seems that everything installed correctly since I can run the examples
using:

./lmp_cygwin < in.example

However when I try to use mpirun I get this error message. I do have a quad
processor. I suspect I have not configured something correctly.

$ mpirun -np 4 lmp_cygwin < in.peptide

there is a significant difference in a unix-oid environment (like cygwin is)
between ./lmp_cygwin and lmp_cygwin
the latter is only found if the directory where lmp_cygwin resides
is in the path. i amd not sure how much it matters on top of it, whether
you have lmp_cygwin or lmp_cygwin.exe

in general it is always good practice to provide the full path to the
executable that you want to use.

cheers,
    axel.

I was calling lmp_cygwin wrong.

changing

mpirun -np 4 lmp_cygwin < in.peptide

to

mpirun -np 4 ./lmp_cygwin < in.peptide

Fixed the problem since I had lmp_cygwin in the folder with the input and data file.