[mpich-discuss] MPICH with mingw gcc

Arun Murthy arun.murthy at fluidyn.com
Sat Feb 26 00:42:10 CST 2011


Hi Martin

Use at least GCC 4.5.x 64-bit compilers. available from equation.com or 
from http://nuwen.net/mingw.html or mingw.org. It works. Don't use GCC 
4.4.x or older.

On 26-02-2011 04:40, Jayesh Krishna wrote:
> 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
>
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>
>
>



More information about the mpich-discuss mailing list