Community
cancel
Showing results for 
Search instead for 
Did you mean: 
ramy_a_
Beginner
1,807 Views

mpi failed using Intel sample code

Jump to solution

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
1,807 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

3 Replies
Artem_R_Intel1
Employee
1,808 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

ramy_a_
Beginner
1,807 Views

Thanks Artem.

That solved my problem

kelly__shane
Beginner
1,807 Views

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

Reply