submit error.
-
Samstag, 3. Mai 2008 12:54
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.
Alle Antworten
-
Montag, 5. Mai 2008 16:49Moderator
How are you submitting your job? MS-MPI jobs need to go through the scheduler to get properly authenticated.
- Als Antwort vorgeschlagen Josh BarnardModerator Dienstag, 24. Juni 2008 20:28
- Als Antwort markiert Josh BarnardModerator Mittwoch, 25. Juni 2008 18:23
-
Donnerstag, 8. Mai 2008 04:50
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.
-
Mittwoch, 14. Mai 2008 00:05Moderator
Can you confirm that you linked your application with our MPI library (not the MPICH2 library)?
Thanks,
Josh