mpich 简略的helloworld程序出错

mpich 简单的helloworld程序出错
我按装的mpich 
简单的helloworld程序出错
当程序运行到 MPI_Init(&argc, &argv); 时 
出错  
Error 10038, process 0:
   ControlLoopThread: WSAEventSelect failed
   在一个非套接字上尝试了一个操作。

不明白为啥?

程序如下
#include "mpi.h"
#include <stdio.h>
#include <math.h>
void main(int argc, char *argv[ ])
{   
    int done = 0, n, myid, numprocs, i;
    double PI25DT =3.141592653589793238462643;
    double mypi, pi, h, sum, x;
    double startwtime, endwtime;
    int  namelen;


MPI_Init(&argc, &argv);
printf("Hello World!\n");
MPI_Finalize();
}
------解决思路----------------------
你这是在XP下的MPI啊。