how to run a C# parallel program on two hosts RRS feed

  • Question

  • Hi all,I've written my project in c# in parallel and I want to execute it on 2 different hosts . I have installed these packets in my computer:

    Microsoft HPC Pack 2012

    Microsoft HPC Pack 2012 SDK

    Microsoft Compute Cluster Pack


    and I have used the "job submit"  command in command line for executing my program,

    job submit /numnodes:2 /workdir:\\(my computer's ip address)\(the .exe folder name) /stdout:pi.txt /stderr:pi.err mpiexec -c 2 filename.exe 

    but after that I got this error:

    no connection could be made because the target machine actively refused it:5800

    I am using windows 7, but I don't know what is the problem,and what should I do?

    • Edited by ssh.8768 Friday, January 24, 2014 10:42 PM
    Friday, January 24, 2014 10:28 PM

All replies

  • If you are submitting job on client machine (not on head node), please try add option /scheduler in your command line.

    BR, Yizhong

    Sunday, January 26, 2014 2:16 AM
  • thank you for your reply, but in real I am not familiar with "head node" or "client", I just make a LAN connection with two computers,(both of  them  with windows 7 OS), and after that I execute the "job submit " command in "cmd", but I get this error!!

    how can I make a head node? and how can I  connect to another nodes? is it possible in windows 7 or not?

    I wrote your command in one the computers, but it said :"add is not recognized as an internal or external command";so where is the problem?

    Sunday, January 26, 2014 7:47 AM
  • Before executing MPI application, you may start with HPC cluster manager http://technet.microsoft.com/en-us/library/ff919397.aspx

    Here is system requirement for head nodes, compute nodes, etc. http://technet.microsoft.com/en-us/library/dn535781.aspx

    BR, Yizhong

    Sunday, January 26, 2014 8:41 AM