Failed to run CNTK on Windows HPC 2012 R2 Using Multiple Compute Nodes
I am using the Windows version of CNTK. I can run it a computer with multiple GPUs. And, I can even run it on two computers not part of our Windows HPC. I start smpd or msmpilauchsvc on both computers and then run the following command on either computer. Everything works well. mpiexec -hosts 2 MachineA 1 MachineB 1 CNTK.exe configFile=XXXX
However, I couldn’t run it on our Windows Compute Cluster. I got the following error message. ERROR: Failed RpcCliStartMgr error -2147024809 Aborting: mpiexec on MachineA is unable to connect to the smpd service on MachineB:8677 Other MPI error, error stack: connect failed - The parameter is incorrect. (errno -2147024809)
I then tried to manually start smpd (running smpd -d). However, I got an access denied error. Do we really need to manually start smpd on each compute node of a cluster?
Any suggestions to fix the issue? Thank you very much!
Hello,
If you are running on Windows HPC then you should NOT use smpd. Win HPC already has its own service for MPI apps (msmpi) so you should run HPC MPI job rather than mpiexec directly.
Basically, use either HPC GUI or job submit mpiexec <arguments> command.
Yes, this was also my understanding. I think Windows HPC uses msmpi service instead of smpd.
However, when I submit the job. I got an error as "mpiexec on MachineA is unable to connect to the smpd service on MachineB:8677." CNTK tries to use smpd for the communication between nodes, instead of using msmpi. Do you have how to fix?
Are you sure your HPC cluster is setup correctly? For example, firewall exceptions etc? You can use hpcfwutil to configure firewall rules for CNTK on all machines in your cluster.
The HPC cluster has been running for a while. There is no problem at all. The MSMPI-launchsvc, MSMPI-mpiexec, and MSMPI-smpd are already in the firewall exceptions. I also added CNTK to the exceptions. But, it didn't fix the problem.
I tried to turn off the firewall completely, following https://technet.microsoft.com/en-us/library/dd772588%28v=ws.10%29.aspx?f=255&MSPPError=-2147217396. But, after a few minutes, the firewall was turned on automatically.
Could you verify that you can run any other MPI jobs on the same set of nodes with the same MPIEXEC command options? So we can know whether this is a problem of MPI or CNTK.
Thanks!
Frank
From: yefeng-zheng [mailto:[email protected]] Sent: Friday, February 26, 2016 13:15 To: Microsoft/CNTK [email protected] Subject: Re: [CNTK] Failed to run CNTK on Windows HPC 2012 R2 Using Multiple Compute Nodes (#166)
The HPC cluster has been running for a while. There is no problem at all. The MSMPI-launchsvc, MSMPI-mpiexec, and MSMPI-smpd are already in the firewall exceptions. I also added CNTK to the exceptions. But, it didn't fix the problem.
I tried to turn off the firewall completely, following https://technet.microsoft.com/en-us/library/dd772588%28v=ws.10%29.aspx?f=255&MSPPError=-2147217396https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2ftechnet.microsoft.com%2fen-us%2flibrary%2fdd772588%2528v%3dws.10%2529.aspx%3ff%3d255%26MSPPError%3d-2147217396&data=01%7c01%7cfseide%40microsoft.com%7cf9cc066b3f18484cc45c08d33ef1eaf3%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=SAY8hdVeuEqu0TmSsmlXa9L0xzXVYDPr0BzUsEyOvZs%3d. But, after a few minutes, the firewall was turned on automatically.
— Reply to this email directly or view it on GitHubhttps://github.com/Microsoft/CNTK/issues/166#issuecomment-189485604.
I verified. The problem is on the Windows HPC itself, not specific to CNTK. I will close this issue report. Thanks!