mpi connect error RRS feed

  • Question

  • 1 install software:

    microsoft v8: MSMpiSetup.exe;msmpisdk.msi

    My question: what is Windows HPC Server 2008?do I need it to implement mpi? thanks!

    2 computers's system are windows 7, the same user,same password,both share c:/msmpi_v8/Bin;

    3 my test code

    #include "mpi.h"
    void main(int argc,char *argv[])
     int rank;
        int size;
        MPI_Comm_rank(MPI_COMM_WORLD, &rank); //获取当前进程号
        MPI_Comm_size(MPI_COMM_WORLD, &size); //获取进程总数
     printf("Hello world from process %d of %d\n",rank,size);

    4 error:

    C:\msmpi_v8\Bin>mpiexec -hosts 2 localhost 1\Bin 1 -debug testMpi.
    [00:4248] host tree:
    [00:4248]  host: localhost, parent: 0, id: 1
    [00:4248]  host:\Bin, parent: 1, id: 2
    [00:4248] mpiexec started smpd manager listening on port 1154
    [00:4248] using spn msmpi/localhost to contact server
    [00:4248] LIN-PC posting a re-connect to localhost:1156 in left child context.
    [00:4248] Authentication completed. Successfully obtained Context for Client.
    [00:4248] Authorization completed.
    [00:4248] version check complete, using PMP version 3.
    [00:4248] creating connect command for left node
    [00:4248] creating connect command to '\Bin'
    [00:4248] posting command SMPD_CONNECT to left child, src=0, dest=1.
    [00:4248] host\Bin is not connected yet
    [00:4248] Handling cmd=SMPD_CONNECT result
    [00:4248] cmd=SMPD_CONNECT result will be handled locally
    [00:4248] smpd id 1 failed to process cmd=SMPD_CONNECT error=1722.
    [00:4248] error 1722 detected during previous command, initiating abort.
    [00:4248] Authentication completed. Successfully obtained Context for Client.
    [00:4248] Authorization completed.
    [00:4248] handling command SMPD_ABORT src=1

    Aborting: smpd on LIN-PC is unable to connect to the smpd service on\Bin:8677
    Other MPI error, error stack:
    connect failed - RPC 鏈嶅姟鍣ㄤ笉鍙敤銆? (errno 1722)
    [00:4248] smpd manager successfully stopped listening.

    whate shall I do?thanks for everyone reply !

    Thursday, March 9, 2017 1:28 AM

All replies

  • I believed we already resolved this problem through the external email alias. But I'm posting the troubleshooting steps here in case other folks run into the same problem

    The hostname should be just the IP address and not IpAddress\Bin.

    Assuming that was a typo and the execution still fails,

    Can you try the following steps and let me know which one fail

    1. Mpiexec -n 1 hostname
    2. Mpiexec -host localhost -n 1 hostname
    3. Mpiexec -host -n 1 hostname



    Thursday, March 23, 2017 9:26 PM