[mpich-discuss] MPI_INIT_THREAD doesn't work properly under windows
trymelz trymelz
trymelz at yahoo.com
Mon Mar 17 14:01:45 CDT 2008
Hi,
I have a mixed-language programming project using C and FORTRAN. In the FORTRAN file, I have the following code
call MPI_INIT_THREAD(MPI_THREAD_SERIALIZED,plevel, impierr)
if(impierr.ne.MPI_SUCCESS)then
write(*,*)'MPI is not initialized, exit'
elseif(plevel .ne. MPI_THREAD_SERIALIZED)then
write(*,*)'MPI LEVEL ERROR,exit',plevel
endif
I compiled this project with VC6 and Intel Fortran compiler. When I run it, I get
MPI LEVEL ERROR,exit 0
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.
Linfa
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20080317/d53e32de/attachment.htm>
More information about the mpich-discuss
mailing list