Intel® oneAPI HPC Toolkit
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
1917 Discussions

mpi failed using Intel sample code

ramy_a_
Beginner
2,727 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
2,727 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
2,728 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

ramy_a_
Beginner
2,727 Views

Thanks Artem.

That solved my problem

kelly__shane
Beginner
2,727 Views

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

Reply