Intel® MPI Library
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.

mpi failed using Intel sample code

ramy_a_
Beginner
4,343 Views

Hi,

I have installed intel parallel studio xe cluster edition 2016  on HPC environment.

All compilers are working fine.

when I tried to execute the following commands:

#mpirun hostname 

#mpirun  --machinfile hosts  hostname

It executed successfully returning all nodes' hostname

And I compiled the following sample <Intel_DIR>/compilers_and_libraries/linux/samples/en/mpi/test.c

using the following:

#mpiicc test.c

and execute the following command:  

#mpirun a.out

#mpirun --machinfile hosts a.out

but I got the following error:

HYDU_create_process (../../utils/launch/launch.c:622): execvp error on file a.out (No such file or directory)

HYDU_create_process (../../utils/launch/launch.c:622): execvp error on file a.out (No such file or directory)

HYDU_create_process (../../utils/launch/launch.c:622): execvp error on file a.out (No such file or directory) 

I wonder what might cause this error

Appreciate  your help.

Thanks

 

 

0 Kudos
1 Solution
Artem_R_Intel1
Employee
4,343 Views

Hi,

Could you please make sure that a.out is available on all the nodes from the hostfile? Also try to run the following variations of your initial command:

mpirun --machinfile hosts ./a.out

mpirun --machinfile hosts <full_path>/a.out

View solution in original post

0 Kudos
3 Replies
Artem_R_Intel1
Employee
4,344 Views

Hi,

Could you please make sure that a.out is available on all the nodes from the hostfile? Also try to run the following variations of your initial command:

mpirun --machinfile hosts ./a.out

mpirun --machinfile hosts <full_path>/a.out

0 Kudos
ramy_a_
Beginner
4,343 Views

Thanks Artem.

That solved my problem

0 Kudos
kelly__shane
Beginner
4,343 Views

Thanks! Using the full path is what solved my similar error.

0 Kudos
Reply