Intel® MPI Library
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
2296 ディスカッション

mpi failed using Intel sample code

ramy_a_
ビギナー
8,146件の閲覧回数

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 件の賞賛
1 解決策
Artem_R_Intel1
従業員
8,146件の閲覧回数

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

元の投稿で解決策を見る

3 返答(返信)
Artem_R_Intel1
従業員
8,147件の閲覧回数

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_
ビギナー
8,146件の閲覧回数

Thanks Artem.

That solved my problem

kelly__shane
ビギナー
8,146件の閲覧回数

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

返信