none
mpiexec runs only when remote desktop connetion opened RRS feed

  • Question

  • Hello,

    We use remote desktop connection (r.d.c) from a client to a server (both windows 10 education).

    We compile and then run a fortran program with mpi(ms-mpi) with the following command:
    mpiexec /aa /affinity_layout 2 -n 36 foo.exe < input.txt > output.txt
    via r.d.c.

    During r.d.c. is opened, it runs correctly.
    However, after we close the r.d.c., it stops.
    (And if we open r.d.c. again, the program starts to run again)

    When we run it without r.d.c. but locally on a server, no problem occurs.

    We would like to use r.d.c. and how to fix it?

    Sincerely yours,

    Masanari Hattori
    Monday, February 10, 2020 12:47 AM

All replies

  • Hello Masanari,

    Do I understand you scenario correctly: 

    - you open Remode Desktop session to the other machine,

    - in that Remote Desktop, you open command line and run mpiexec command.

    - then you disconnect you Remote Desktop session.

    This somehow causes mpi to pause, and then resume when you reconnect with Remote Desktop? If this is the case, can you try with some other long running process in the same scenario? I do not see why any running processes should pause when the rdp session disconnects.

    -thanks, Anna

    Wednesday, February 26, 2020 6:32 PM