- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I'm trying to run a simple parallel code between 2 nodes (VS 2013 and intel cluster 2017). I have successfully run in parallel between inner cores in the node 0. I create host.txt file then copy the main folder in to the node1 desktop. Both folders in each node are shared.But when i run it between 2 nodes this error appear. The cmd code that i use is:
mpiexec -n 2 -ppn 1 -f host.txt c.exe
which one process runs in node 0 and another is in node1.
I attached host file and error figure.Thanks.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try specifying a full path to c.exe.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Full path as in c:\something\something\something\c.exe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tanks but it doesn't work.I add full path after IP address for each node in the host file. i attached error and host file. is it the right format for specifying a full path?
P.S: both nodes have a same username and password and the folders containing exe file and main code are in the same path in both nodes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No,you still haven't specified the path to c.exe in your run command, and you've added some bad syntax to your host file.
Have a look at this getting started guide: https://software.intel.com/en-us/get-started-with-mpi-for-windows
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I couldn't find anything about specify a path to exe file in cmd from that link.I think if nodes increase its hard to path to all exe files. Is it possible to share folders (containing exe files) from all nodes and then just work with node0 to run simultaneously in all nodes? (just if the main code changes, replace the new exe file with old ones in all nodes).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
mpiexec ... c:\something\c.exe
The executable has to be already present on all nodes, however you want to do that. mpiexec does not copy anything
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In Fig 1 just run with 1 cpu in node0 and in Fig 2 run with 2 cpus(one from node 0 and another from node 1) in node0. These are appeared.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Perhaps you perhaps mean to specify -hosts?
Check that you have followed the prerequisite steps in Intel MPI Developers Guide for Windows OS.
Good luck!

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page