[mpich-discuss] How to compile my first MPI program under Windows7(64bit) by gfortran 4

jayesh at mcs.anl.gov jayesh at mcs.anl.gov
Tue Apr 27 13:11:10 CDT 2010


Hi,
 We currently do not support gcc libraries in our 64-bit version of MPICH2. We are currently working on this feature (http://trac.mcs.anl.gov/projects/mpich2/ticket/568).
 Did you try using the windows fortran libraries (fmpich2g.lib) with gfortran (newer versions of gcc allows compiling C programs with windows libs)?

Regards,
Jayesh
----- Original Message -----
From: "Jilong Yin" <yinjilong at gmail.com>
To: mpich-discuss at mcs.anl.gov
Sent: Sunday, April 25, 2010 11:42:32 PM GMT -06:00 US/Canada Central
Subject: [mpich-discuss] How to compile my first MPI program under Windows7(64bit) by gfortran 4


Hello, everyone 

I am trying to port my parallel program from Windows 32bit platform to windows 64 bit. 

After I installed MPICH2-1.2.1p1 (Windows EM64T/AMD64 (binary) ) and gfortran from site ftp://ftp.equation.com/gcc/gcc-4.5.0-64.exe , 
I tried to compile example program with the following command, (It does work under windows 32 bit) 

C:\MPICH2\examples>gfortran -Ic:\mpich2\include -fsecond-underscore fpi.f c:\mpich2\lib\libfmpich2g.a 

It doesn't work and report can not found the lib file libfmpich2g.a 

I checked the install folder but can not find this library( it exists in windows 32bit version ). 

Anyone can send these gcc libs to me yinjilong at gmail.com 

Thank you in advance. 

JILONG YIN 

2010/04/26 


_______________________________________________
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