[mpich-discuss] MPICH with mingw gcc

Jayesh Krishna jayesh at mcs.anl.gov
Fri Feb 25 17:10:36 CST 2011


Hi,
 Are you using a 64-bit version of gcc to compile your code (I recommend using mingw 64-bit compiler suite) ? You should be able to compile your code using the 64-bit gcc compilers with the "*.a" libs provided with MPICH2 (64-bit installation).
 Hmm... It looks like there was some problem with the build of gcc libs for 32-bit version of MPICH2 in 1.3.2p1. I will fix it in the next release.

Regards,
Jayesh

----- Original Message -----
From: "Martin Helmer" <martin.helmer at masterofscience.at>
To: jayesh at mcs.anl.gov
Cc: mpich-discuss at mcs.anl.gov
Sent: Friday, February 25, 2011 5:01:21 PM
Subject: MPICH with mingw gcc


Dear Jayesh, 


I found the following discussion: 
http://lists.mcs.anl.gov/pipermail/mpich-discuss/2009-May/004883.html 


Which deals with the same problem I am facing now (undefined reference). 


I am working with Windows 7 64bit and it seems that you have added the static UNIX libraries (*.a) to the 64 bit binaries in the meantime. But I still get the undefined reference problem with the 64 bit version. 


In your post you recommend to use the 32bit binaries. I tried to download and install them, but it seems that the 2 files "libmpi.a" and "libfmpich2g.a" from the MPICH2 Windows IA32 (binary) version MPICH2-1.3.2p1 are corrupt, since they have 0 bytes. 


Could you please fix this problem? 


Best regards 


Martin 



More information about the mpich-discuss mailing list