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

[Errno 2] No such file or directory

ashruakkodegmail_com
892 Views
Dear Sir,

When I try to run the program , ihave been getting this error.
mpiexec -n 20 ./ashru.ex
problem with execution of ./ashru.ex on hpc073: [Errno 2] No such file or directory
problem with execution of ./ashru.ex on hpc074: [Errno 2] No such file or directory
problem with execution of ./ashru.ex on hpc073: [Errno 2] No such file or directory
problem with execution of ./ashru.ex on hpc074: [Errno 2] No such file or directory
problem with execution of ./ashru.ex on hpcmas02: [Errno 2] No such file or directory
problem with execution of ./ashru.ex on hpc074: [Errno 2] No such file or directory
problem with execution of ./ashru.ex on hpc074: [Errno 2] No such file or directory
problem with execution of ./ashru.ex on hpc073: [Errno 2] No such file or directory
problem with execution of ./ashru.ex on hpc074: [Errno 2] No such file or directory
problem with execution of ./ashru.ex on hpc073: [Errno 2] No such file or directory
problem with execution of ./ashru.ex on hpc074: [Errno 2] No such file or directory
problem with execution of ./ashru.ex on hpcmas02: [Errno 2] No such file or directory
problem with execution of ./ashru.ex on hpcmas02: [Errno 2] No such file or directory
problem with execution of ./ashru.ex on hpcmas02: [Errno 2] No such file or directory
problem with execution of ./ashru.ex on hpcmas02: [Errno 2] No such file or directory
problem with execution of ./ashru.ex on hpc074: [Errno 2] No such file or directory
problem with execution of ./ashru.ex on hpc074: [Errno 2] No such file or directory
problem with execution of ./ashru.ex on hpcmas02: [Errno 2] No such file or directory
problem with execution of ./ashru.ex on hpcmas02: [Errno 2] No such file or directory
problem with execution of ./ashru.ex on hpcmas02: [Errno 2] No such file or directory

I got the these output after I give the commad
[mulhem@hpcmas02 ~]$ mpdtrace
hpcmas02
hpc074
hpc073

and

mpdboot -r ssh -f /home/mulhem/mpd.hosts -n 3 -d
debug: starting
running mpdallexit on hpcmas02
debug: launch cmd= env I_MPI_JOB_TAGGED_PORT_OUTPUT=1 /opt/intel/impi/4.0.0.028/intel64/bin/mpd.py --ncpus=1 --myhost=hpcmas02 -e -d -s 3
debug: mpd on hpcmas02 on port 55001
debug: info for running mpd: {'ip': '10.146.1.130', 'ncpus': 1, 'list_port': 55001, 'entry_port': '', 'host': 'hpcmas02', 'entry_host': '', 'ifhn': ''}
debug: launch cmd= ssh -x -n -q hpc073 env I_MPI_JOB_TAGGED_PORT_OUTPUT=1 HOSTNAME=$HOSTNAME /opt/intel/impi/4.0.0.028/intel64/bin/mpd.py -h hpcmas02 -p 55001 --ifhn=10.146.1.73 --ncpus=1 --myhost=hpc073 --myip=10.146.1.73 -e -d -s 3
debug: launch cmd= ssh -x -n -q hpc074 env I_MPI_JOB_TAGGED_PORT_OUTPUT=1 HOSTNAME=$HOSTNAME /opt/intel/impi/4.0.0.028/intel64/bin/mpd.py -h hpcmas02 -p 55001 --ifhn=10.146.1.74 --ncpus=1 --myhost=hpc074 --myip=10.146.1.74 -e -d -s 3
debug: mpd on hpc073 on port 47565
debug: info for running mpd: {'ip': '10.146.1.73', 'ncpus': 1, 'list_port': 47565, 'entry_port': 55001, 'host': 'hpc073', 'entry_host': 'hpcmas02', 'ifhn': '', 'pid': 17336}
debug: mpd on hpc074 on port 59450
debug: info for running mpd: {'ip': '10.146.1.74', 'ncpus': 1, 'list_port': 59450, 'entry_port': 55001, 'host': 'hpc074', 'entry_host': 'hpcmas02', 'ifhn': '', 'pid': 17337}

Kindly help ,what is the actual reason.

Regards
Ashraf

0 Kudos
5 Replies
Dmitry_K_Intel2
Employee
892 Views
Answered in another topic.
0 Kudos
ashruakkodegmail_com
892 Views
How will get that topic.

Kindly help,how can resolve this ..Please
0 Kudos
Dmitry_K_Intel2
Employee
892 Views
>problem with execution of ./ashru.ex
Are you sure that you entered correct name? Might be it should be ./ashru.exe?

Next time, please, provide full command line - analyzing will be much easier.

Regards!
Dmitry
0 Kudos
ashruakkodegmail_com
892 Views


Yes I got it.

It was the problem with nfs mounting direcotry.

bcos users home folders shared using nfs.

Thanks

I need one question.We are going to purchase intel cluster toolkit .

Before purchasing I need to know wether this support openmp.If it yes ,how can compile and run the program parallel using openmp.

Thanks your help.


Regards
Ashraf
0 Kudos
Dmitry_K_Intel2
Employee
892 Views
Hi Ashraf,

There are 2 different versions of the Intel Cluster Toolkit: Cluster Toolkit and Cluster Toolkit Compiler Edition.

OpenMP and MPI are two absolutely independent techniques. Having Cluster Toolkit you can compile your programs by GNU compilers even if code contains OpenMP directives. Intel Cluster Toolkit Compiler Edition includes Intel compilers and they also supports OpenMP.

Applications which contains both MPI functions and OpenMP directives are called Hybrid applications.
To compile a hybrid application you need to add '-openmp' option to the compiler wrapper ('mpicc -openmp', 'mpiicc -openmp')

To run a hybrid application you need to use either 'mpirun' or 'mpiexec' command. To run OpenMP application you don't need MPI at all - just start your application as any other program.

Regards!
Dmitry
0 Kudos
Reply