<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>I have a mixed-language programming project using C and FORTRAN. In the FORTRAN file, I have the following code</DIV>
<DIV> </DIV>
<DIV> call MPI_INIT_THREAD(MPI_THREAD_SERIALIZED,plevel, impierr)<BR> if(impierr.ne.MPI_SUCCESS)then<BR> write(*,*)'MPI is not initialized, exit'<BR> elseif(plevel .ne. MPI_THREAD_SERIALIZED)then<BR> write(*,*)'MPI LEVEL ERROR,exit',plevel<BR> endif<BR></DIV>
<DIV>I compiled this project with VC6 and Intel Fortran compiler. When I run it, I get</DIV>
<DIV> </DIV>
<DIV> MPI LEVEL ERROR,exit 0</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>It seems to me that the MPICH2 doesn't support MPI_THREAD_SERIALIZED under windows. I did not find any notes about this on the manual, so I am wondering if I am missing something important. Thanks.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Linfa</DIV></div><br>
<hr size=1>Never miss a thing. <a href="http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs"> Make Yahoo your homepage.</a>
</body></html>