<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Problem with mpiexec in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/Problem-with-mpiexec/m-p/807679#M922</link>
    <description>Hi Milosz,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Does it mean executable file should be always shared by all nodes? (e.g by nfs)&lt;BR /&gt;Yes, it does. Usually an application is located on a shared drive (directory) and you should not care about versions of this application, recompile it on each node, copy to all nodes and so on. It's just more convenient.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;The other problem I just saw is node3 and node1 does not respond&lt;BR /&gt;Pay attention, that you create 5 processes, but it doesn't mean that 1 process will be placed on each node. 2 processes ran on master, 2 processes ran on node 4 and 1 on node2.&lt;BR /&gt;If you need to run only 1 process per node you need to use '-ppn 1' option. Please try it out.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt; Dmitry&lt;BR /&gt;</description>
    <pubDate>Tue, 01 Jun 2010 09:29:58 GMT</pubDate>
    <dc:creator>Dmitry_K_Intel2</dc:creator>
    <dc:date>2010-06-01T09:29:58Z</dc:date>
    <item>
      <title>Problem with mpiexec</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Problem-with-mpiexec/m-p/807677#M920</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I have 5 machines - `master` and `node1-4`. I compiled Intel's test.cpp file wtih mpicxx on `master`.&lt;BR /&gt;&lt;BR /&gt;MPD works well as below:&lt;BR /&gt;&lt;BR /&gt;root@master:/opt/intel/impi/4.0.0.027/test# mpdboot -n 5 -v -d -f /etc/mpi/mpd.hosts &lt;BR /&gt;debug: starting&lt;BR /&gt;running mpdallexit on master&lt;BR /&gt;LAUNCHED mpd on master via &lt;BR /&gt;debug: launch cmd= env I_MPI_JOB_TAGGED_PORT_OUTPUT=1 /opt/intel/impi/4.0.0.027/intel64/bin/mpd.py --ncpus=1 --myhost=master -e -d -s 5&lt;BR /&gt;debug: mpd on master on port 44368&lt;BR /&gt;RUNNING: mpd on master&lt;BR /&gt;debug: info for running mpd: {'ip': '127.0.0.1', 'ncpus': 1, 'list_port': 44368, 'entry_port': '', 'host': 'master', 'entry_host': '', 'ifhn': ''}&lt;BR /&gt;LAUNCHED mpd on node1 via master&lt;BR /&gt;debug: launch cmd= rsh -n node1 env I_MPI_JOB_TAGGED_PORT_OUTPUT=1 /opt/intel/impi/4.0.0.027/intel64/bin/mpd.py -h master -p 44368 --ifhn=192.168.20.32 --ncpus=1 --myhost=node1 --myip=192.168.20.32 -e -d -s 5 &lt;BR /&gt;LAUNCHED mpd on node2 via master&lt;BR /&gt;debug: launch cmd= rsh -n node2 env I_MPI_JOB_TAGGED_PORT_OUTPUT=1 /opt/intel/impi/4.0.0.027/intel64/bin/mpd.py -h master -p 44368 --ifhn=192.168.20.34 --ncpus=1 --myhost=node2 --myip=192.168.20.34 -e -d -s 5 &lt;BR /&gt;LAUNCHED mpd on node3 via master&lt;BR /&gt;debug: launch cmd= rsh -n node3 env I_MPI_JOB_TAGGED_PORT_OUTPUT=1 /opt/intel/impi/4.0.0.027/intel64/bin/mpd.py -h master -p 44368 --ifhn=192.168.20.35 --ncpus=1 --myhost=node3 --myip=192.168.20.35 -e -d -s 5 &lt;BR /&gt;LAUNCHED mpd on node4 via master&lt;BR /&gt;debug: launch cmd= rsh -n node4 env I_MPI_JOB_TAGGED_PORT_OUTPUT=1 /opt/intel/impi/4.0.0.027/intel64/bin/mpd.py -h master -p 44368 --ifhn=192.168.20.36 --ncpus=1 --myhost=node4 --myip=192.168.20.36 -e -d -s 5 &lt;BR /&gt;debug: mpd on node1 on port 33106&lt;BR /&gt;RUNNING: mpd on node1&lt;BR /&gt;debug: info for running mpd: {'ip': '192.168.20.32', 'ncpus': 1, 'list_port': 33106, 'entry_port': 44368, 'host': 'node1', 'entry_host': 'master', 'ifhn': '', 'pid': 10340}&lt;BR /&gt;debug: mpd on node2 on port 58926&lt;BR /&gt;RUNNING: mpd on node2&lt;BR /&gt;debug: info for running mpd: {'ip': '192.168.20.34', 'ncpus': 1, 'list_port': 58926, 'entry_port': 44368, 'host': 'node2', 'entry_host': 'master', 'ifhn': '', 'pid': 10342}&lt;BR /&gt;debug: mpd on node3 on port 42305&lt;BR /&gt;RUNNING: mpd on node3&lt;BR /&gt;debug: info for running mpd: {'ip': '192.168.20.35', 'ncpus': 1, 'list_port': 42305, 'entry_port': 44368, 'host': 'node3', 'entry_host': 'master', 'ifhn': '', 'pid': 10344}&lt;BR /&gt;debug: mpd on node4 on port 39297&lt;BR /&gt;RUNNING: mpd on node4&lt;BR /&gt;debug: info for running mpd: {'ip': '192.168.20.36', 'ncpus': 1, 'list_port': 39297, 'entry_port': 44368, 'host': 'node4', 'entry_host': 'master', 'ifhn': '', 'pid': 10346}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;MPIEXEC run on master also works:&lt;BR /&gt;&lt;BR /&gt;root@master:/opt/intel/impi/4.0.0.027/test# mpiexec -n 1 ./a.out &lt;BR /&gt;Hello world: rank 0 of 1 running on master&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;However I have problem when try to run in on cluster:&lt;BR /&gt;&lt;BR /&gt;root@master:/opt/intel/impi/4.0.0.027/test# mpiexec -n 5 ./a.out &lt;BR /&gt;problem with execution of ./a.out on node2: [Errno 2] No such file or directory &lt;BR /&gt;problem with execution of ./a.out on node4: [Errno 2] No such file or directory &lt;BR /&gt;problem with execution of ./a.out on node4: [Errno 2] No such file or directory &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Tell me please, what could be a reason for this problem? Perhaps ./a.out should be placed on each machine?&lt;BR /&gt;&lt;BR /&gt;Thank you for help and best wishes,&lt;BR /&gt;Milosz&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Jun 2010 08:29:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Problem-with-mpiexec/m-p/807677#M920</guid>
      <dc:creator>rabbitsoft</dc:creator>
      <dc:date>2010-06-01T08:29:26Z</dc:date>
    </item>
    <item>
      <title>Problem with mpiexec</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Problem-with-mpiexec/m-p/807678#M921</link>
      <description>I have copied for testing purpose a.out to all nodes and it started to work. Does it mean executable file should be always shared by all nodes? (e.g by nfs)&lt;BR /&gt;&lt;BR /&gt;The other problem I just saw is node3 and node1 does not respond:&lt;BR /&gt;&lt;BR /&gt;root@master:/opt/intel/impi/4.0.0.027/test# mpiexec -n 5 ./a.out &lt;BR /&gt;Hello world: rank 0 of 5 running on master&lt;BR /&gt;Hello world: rank 1 of 5 running on master&lt;BR /&gt;Hello world: rank 2 of 5 running on node4&lt;BR /&gt;Hello world: rank 3 of 5 running on node4&lt;BR /&gt;Hello world: rank 4 of 5 running on node2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;root@master:/opt/intel/impi/4.0.0.027/test# ping node3&lt;BR /&gt;PING node3 (192.168.20.35) 56(84) bytes of data.&lt;BR /&gt;64 bytes from node3 (192.168.20.35): icmp_seq=1 ttl=64 time=0.583 ms&lt;BR /&gt;&lt;BR /&gt;root@master:/opt/intel/impi/4.0.0.027/test# ping node1&lt;BR /&gt;PING node1 (192.168.20.32) 56(84) bytes of data.&lt;BR /&gt;64 bytes from node1 (192.168.20.32): icmp_seq=1 ttl=64 time=0.617 ms&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;It is strange because as you see below mpd is running on node3 and 1 and of couse ssh works without password&lt;BR /&gt;&lt;BR /&gt;root@node3:~# ps aux | grep mpd&lt;BR /&gt;root 20453 0.0 0.4 42644 8516 ? S 10:07 0:00 python /opt/intel/impi/4.0.0.027/intel64/bin/mpd.py -h master -p 44368 --ifhn=192.168.20.35 --ncpus=1 --myhost=node3 --myip=192.168.20.35 -e -d -s 5&lt;BR /&gt;&lt;BR /&gt;root@node1:~# ps aux | grep mpd&lt;BR /&gt;root 19624 0.0 0.5 42640 8504 ? S 10:07 0:00 python /opt/intel/impi/4.0.0.027/intel64/bin/mpd.py -h master -p 44368 --ifhn=192.168.20.32 --ncpus=1 --myhost=node1 --myip=192.168.20.32 -e -d -s 5&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Could you help me please?</description>
      <pubDate>Tue, 01 Jun 2010 08:58:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Problem-with-mpiexec/m-p/807678#M921</guid>
      <dc:creator>rabbitsoft</dc:creator>
      <dc:date>2010-06-01T08:58:25Z</dc:date>
    </item>
    <item>
      <title>Problem with mpiexec</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Problem-with-mpiexec/m-p/807679#M922</link>
      <description>Hi Milosz,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Does it mean executable file should be always shared by all nodes? (e.g by nfs)&lt;BR /&gt;Yes, it does. Usually an application is located on a shared drive (directory) and you should not care about versions of this application, recompile it on each node, copy to all nodes and so on. It's just more convenient.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;The other problem I just saw is node3 and node1 does not respond&lt;BR /&gt;Pay attention, that you create 5 processes, but it doesn't mean that 1 process will be placed on each node. 2 processes ran on master, 2 processes ran on node 4 and 1 on node2.&lt;BR /&gt;If you need to run only 1 process per node you need to use '-ppn 1' option. Please try it out.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt; Dmitry&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Jun 2010 09:29:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Problem-with-mpiexec/m-p/807679#M922</guid>
      <dc:creator>Dmitry_K_Intel2</dc:creator>
      <dc:date>2010-06-01T09:29:58Z</dc:date>
    </item>
  </channel>
</rss>

