none
MPI.NET First program.

    Question

  • Hello , i want run example program PingPong.exe but output is 

    C:\>mpiexec -n 8 PingPong.exe

    Aborting: mpiexec on Sejnt-PC is unable to connect to the smpd manager on Sejnt-
    PC:0
    Other MPI error, error stack:
    ConnectFailed(986): unable to connect to 158.196.43.220 on port 49753, exhausted
    all endpoints
    ConnectFailed(977): unable to connect to 158.196.43.220 on port 49753, No connec
    tion could be made because the target machine actively refused it. (errno 10061)

    Ip 158.196.43.220 is ip of my computer. All  firewall are disapled. Thanks


    • Edited by Sejnt Tuesday, 20 September, 2011 9:45 AM
    Tuesday, 20 September, 2011 9:42 AM

All replies

  • Suppose smpd service doesnt launched on your second workstation. Check it.
    Tuesday, 20 September, 2011 11:21 AM
  • but i have  only one computer.

    • Marked as answer by Sejnt Tuesday, 20 September, 2011 11:37 AM
    • Unmarked as answer by Sejnt Tuesday, 20 September, 2011 11:37 AM
    • Edited by Sejnt Tuesday, 20 September, 2011 11:37 AM
    Tuesday, 20 September, 2011 11:33 AM
  • Oh, sorry.

    Try to launch this command from any other workstation (or from this workstation, it doesnt matter):

    telnet Sejnt-PC 49753

    Errors like "actively refused it" means that situation can have two reasons:

    1) Service is not running

    2) Service is not listening for needed ports

    From my experience of working with MPI first reason is the point.

    Tuesday, 20 September, 2011 11:41 AM
  • yes you are right.Could not open connection to the host on port 49753 Connect failed. How do i open this port ??I think that my network card doesn't properly.
    Tuesday, 20 September, 2011 12:54 PM
  • I think your network card state is not related to our situation.

    Try to launch smpd that is located in compute cluster pack folder or try to launch any other program. PingPong is not what you need for situation with one workstation IMHO.

    Tuesday, 20 September, 2011 4:52 PM
  • Hello,

    It looked like the firewall blocked SMPD from opening port on 49753. You may try the following command to see whether it helps:

    advfirewall firewall add rule name="MyRule" dir=in action=allow protocol=TCP localport=32000-65535

    Thanks,

    James

    Monday, 10 October, 2011 10:46 PM