- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a question regarding running mpi programs on
more than 1 system.
I have installed a 30 day evaluation copy of
release 4 of the library on two
systems. They both run
Windows Vista Home Premium 64 bit.
The following shows that I can actually run
the sample intel program on these two systems.
C:\\document\\fortran\\newbook\\mpi\\examples>mpiexec -hosts 1 hornbeam 4 intel_test
Hello world: rank 0 of 4 running on hornbeam
Hello world: rank 1 of 4 running on hornbeam
Hello world: rank 2 of 4 running on hornbeam
Hello world: rank 3 of 4 running on hornbeam
C:\\document\\fortran\\newbook\\mpi\\examples>mpiexec -hosts 1 dell-xps 4 intel_test
Hello world: rank 0 of 4 running on dell-xps
Hello world: rank 1 of 4 running on dell-xps
Hello world: rank 2 of 4 running on dell-xps
Hello world: rank 3 of 4 running on dell-xps
C:\\document\\fortran\\newbook\\mpi\\examples>
But when I try to run on BOTH systems I get
C:\\document\\fortran\\newbook\\mpi\\examples>mpiexec -hosts 2 dell-xps 2 hornbeam 2
intel_test
Hello world: rank 0 of 4 running on dell-xps
Hello world: rank 1 of 4 running on dell-xps
and the program hangs.
I can't find anything in the documentation to give a clue a to
what might be the problem here.
Any suggestions welcome.
Ian Chivers
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ian,
Have you taken a look at the Getting Started Guide for the Intel MPI Library? It contains troubleshooting techniques to help you figure out what might be happening.
Since you seem to be ok running on a single node, I'd say check to make sure you have registered your credentials on the cluster. You can do that via the wmpiregister GUI utility, or simply running mpiexec -register
.
Also, check to make sure the smpd service is running on all nodes of the cluster. You can do so via smpd -hosts
.
Let us know how it goes.
Regards,
~Gergana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The output is the same as in the original post.
when running
smpd -hosts
I only get back the local host.
I have read the Getting Started Guide.
Cheers
Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
[CTRL] [ALT] [DELETE]
on the other system (hornbeam)
and when looking at the task manager the smpd
process is running.
Sorry
Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could you try to run:
smpd -sethosts dell-xps hornbeam
Check for available hosts:
smpd -hosts
2 hosts should be listed. If you don't see both hosts in this list the potential problem either firewall or anti-virus (I hope these 2 machines are connected via ehternet)
Regards!
Dmitry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for getting back.
The firewall is OFF on both machines.
Here is the output from what you suggested.
C:\document>smpd -sethosts dell-xps hornbeam
[-1:5540]....ERROR:Unable to open the HKEY_LOCAL_MACHINE\SOFTWARE\Intel\MPI\SMPD
registry key, error 5
Access is denied.
Error: unable to save the hosts data.
C:\document>
Cheers
Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Run your application on different nodes with I_MPI_DEBUG=9 and compare the output.
In Ian's output I see:
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 26 Stepping 4, GenuineIntel
for one node and:
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 15 Stepping 7, GenuineIntel
for another one and different settings for collective operations.
To avoid this set I_MPI_PLATFORM env variable to 'auto' - something like:
mpiexec -genv I_MPI_PLATFORM auto ...
Regards!
Dmitry
![](/skins/images/D3C0B914909A6564BBB97F4AD1ED1973/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page