[mpich-discuss] fmpich2 lib not found with g95

Jayesh Krishna jayesh at mcs.anl.gov
Mon Aug 17 10:18:52 CDT 2009


Hi,
 We current don't provide the gcc libs with the 64-bit version of MPICH2.
This is in our list of todo items though. You can follow our progress on
this task using the ticket,
https://trac.mcs.anl.gov/projects/mpich2/ticket/568 .
 The last time I tried I had a tough time getting gcc 4.5.x (version of
gcc that supports 64-bit executables) compile on Cygwin.
 Unfortunately at this time your option would be to try 32-bit version of
MPICH2 (The 32-bit version of MPICH2 should install on your 64-bit
machine, however you will be compiling/running 32-bit executables using
the lib).
 
Regards,
Jayesh

  _____  

From: Heming Xu [mailto:heming_ at hotmail.com] 
Sent: Monday, August 17, 2009 10:10 AM
To: jayesh at mcs.anl.gov
Subject: RE: [mpich-discuss] fmpich2 lib not found with g95


Thanks for help.
 
I did not see that library under \lib. I downloaded the binary
distribution mpich2-1.1.1p1-win-x86-64.msi from MPICH2 web site and
installed from there. Only those libraries are there:
cxx.lib,fmpich2.lib,fmpich2g.lib,mpe.lib,mpi.lib,rlog.lib,irlog2rlog.lib
and TraceInput.lib.
 
Thanks in advance.
 
Heming
 
 

  _____  

From: jayesh at mcs.anl.gov
To: heming_ at hotmail.com
CC: mpich-discuss at mcs.anl.gov
Subject: RE: [mpich-discuss] fmpich2 lib not found with g95
Date: Mon, 17 Aug 2009 09:58:03 -0500


Hi,
 You should use the gnu fortran lib, libfmpich2g.a, provided with MPICH2
(<MPICH2-INSTALL-DIR>/lib/libfmpich2g.a) to link your programs with g77
(or g95).
 Let us know if it works for you.
 
Regards,
Jayesh
 
  _____  

From: mpich-discuss-bounces at mcs.anl.gov
[mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Heming Xu
Sent: Monday, August 17, 2009 9:44 AM
To: mpich-discuss at mcs.anl.gov
Subject: [mpich-discuss] fmpich2 lib not found with g95



I installed the latest g95 and MPICH2 (binary distribution) on Vista and
set path and library path correctly. when only compiling,

g95 -c hello.f90 -Ic:\Progra~1\MPICH2\include
 
works fine but
 
g95 -o hello hello.o -l:c:\Progra~1\MPICH2\lib\fmpich2.lib
gives multiple messages saying 
undefined reference to '_mpi_init__', '_mpi_send__', etc
It seems the library does not include the subroutines. Other libraries
mpi.lib,etc are the same.
 
Do I have to configure MPICH2 in window? 
 
Any assistance would be highly appreciated.
 
Thanks.
 
Heming
 


  _____  

HotmailR is up to 70% faster. Now good news travels really fast. Try
<http://windowslive.com/online/hotmail?ocid=PID23391::T:WLMTAGL:ON:WL:en-U
S:WM_HYGN_faster:082009> it now.

  _____  

Windows Live: Make it easier for your friends to see what you're up to on
Facebook. Find out more.
<http://windowslive.com/Campaign/SocialNetworking?ocid=PID23285::T:WLMTAGL
:ON:WL:en-US:SI_SB_facebook:082009>  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20090817/a062a20e/attachment.htm>


More information about the mpich-discuss mailing list