Answered by:
submit error.

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.
- Proposed as answer by Josh BarnardModerator Tuesday, June 24, 2008 8:28 PM
- Marked as answer by Josh BarnardModerator Wednesday, June 25, 2008 6:23 PM
Monday, May 5, 2008 4:49 PMModerator
All replies
-
How are you submitting your job? MS-MPI jobs need to go through the scheduler to get properly authenticated.
- Proposed as answer by Josh BarnardModerator Tuesday, June 24, 2008 8:28 PM
- Marked as answer by Josh BarnardModerator Wednesday, June 25, 2008 6:23 PM
Monday, May 5, 2008 4:49 PMModerator -
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,
JoshWednesday, May 14, 2008 12:05 AMModerator