locked
submit error. RRS feed

  • Question

  • I try to submit a job on the wccs 2003.

    the code:

     

    #include"mpi.h"
    #include<stdio.h>
    void main(int argc, char* argv[])
    {
     int rank;
     int size;
     MPI_Init(&argc,&argv);
     MPI_Comm_rank(MPI_COMM_WORLD,&rank);
     MPI_Comm_size(MPI_COMM_WORLD,&size);
     printf("hello");
     MPI_Finalize();


    }

     

    but  it  does not work.

    the error :

    [01:2772]...ERROR:unable to read the cmd header on the pmi context, socket connection closed.
    [01:2228]...ERROR:unable to read the cmd header on the pmi context, socket connection closed.
    [01:1856]...ERROR:unable to read the cmd header on the pmi context, socket connection closed.

     

    I use mpich2

    it work well.

     

    Saturday, May 3, 2008 12:54 PM

Answers

  • How are you submitting your job?  MS-MPI jobs need to go through the scheduler to get properly authenticated.

    Monday, May 5, 2008 4:49 PM
    Moderator

All replies

  • How are you submitting your job?  MS-MPI jobs need to go through the scheduler to get properly authenticated.

    Monday, May 5, 2008 4:49 PM
    Moderator
  • I use the job scheduler to submit the job,but it still has the error.

     

    I use the command line to run the program,I type the command :

    mpiexec -n 1 hello.exe.

    it still has the same error.

     

    I use the mpich2 "mpiexe" under the \mpich2\bin.

    it is ok , I don't know why.

    Thursday, May 8, 2008 4:50 AM
  • Can you confirm that you linked your application with our MPI library (not the MPICH2 library)?

     

    Thanks,
    Josh

    Wednesday, May 14, 2008 12:05 AM
    Moderator