locked
Apps run on nodes locally but not on Compute Node through HPC Pack Job Manager RRS feed

  • Question

  • I deployed HPC Pack cluster for Windows workloads with one head node and one compute node for testing: https://azuremarketplace.microsoft.com/en-us/marketplace/apps/microsofthpc.newcluster

    I want to run my tasks through the HPC Pack Job Manager but it always fails:

    task failed with exit code 1073741515

    I tried running simple codes. I started with this:

    #include <fstream> 
    using namespace std;
    
    int main()
    {
        ifstream fin;
        ofstream fout;
        int y, x = 10;;
        fin.open("number.txt");
        fout.open("output.txt");
        fout << "x * y = " << x*y << endl;
        return 0;
    }

    and I thought maybe reading from files is the issue so let me try this:

    int main()
    {
        int x; 
        x = 9;
        return 0;
    }

    Please note that running any of my applications (that also include OpenMP and MPI) through cmd works perfectly in the head node and on the compute node  (locally on each )but not through the Job Manager. 

    My program file is put in a folder in c drive that I shared with HPCJobAdministrators, HPCJobOperators, HPCUsers and HPCAdminMirror.

    Please let me know how to resolve this issue. 

    Thursday, July 27, 2017 6:38 PM

All replies

  • Hi Jack_J88,

    The error code 1073741515 (0xc0000135) refers to DLL missing or cannot be accessed. You may check the previous posts:

    https://social.microsoft.com/Forums/en-US/bab7f21d-c76b-427b-8fdb-849fa55bc32c/exit-code-1073741515?forum=windowshpcmpi

    https://social.microsoft.com/Forums/en-US/bbde760c-0c97-4d57-afc3-f5817590d6ee/exit-code-1073741515?forum=windowshpcsched

    Also check if the working directory for the tasks in the Job Manager is correctly set.

    Regards,

    Yutong Sun

    Friday, July 28, 2017 5:49 AM
  • Hi Yutong,

    Thanks for your reply. 

    If there exist missing DLL then even if I try to run it through cmd it should not run, but it runs correctly. I am guessing what I am doing wrong is where I am putting my program file. I created a folder in C drive in the head node and I shared it with HPCJobAdministrators, HPCJobOperators, HPCUsers and HPCAdminMirror. Is this correct? 

    I am writing the command line as: \\testmpi\Source\testExe6.exe 

    and setting the working directory to: \\testmpi\Source

    Please let me know if I am doing anything wrong. 

    Thanks & Regards,

    Jack 




    • Edited by Jack_J88 Friday, July 28, 2017 10:40 AM
    Friday, July 28, 2017 10:22 AM
  • Hi Yutong, 

    I started believing that I have not copied my executable file into my head node correctly. 

    Could you please help me in answering how should I deploy my executable files correctly into my cluster? 

    https://social.microsoft.com/Forums/en-US/07427456-a6a2-4791-a4a7-343fb440d1c9/how-to-deploy-the-executable-file-into-azure-cluster?forum=windowshpcsched

    Thank you, 

    Jack 

    Saturday, July 29, 2017 12:25 PM