<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1515" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=506115416-01092005><FONT face=Arial
color=#0000ff size=2>You might want to try using MPICH2 instead. In MPICH2, you
can specify the PG compilers by setting the environment variables CC, CXX, F77,
and F90, instead of the command-line arguments to configure.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=506115416-01092005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=506115416-01092005><FONT face=Arial
color=#0000ff size=2>Rajeev</FONT></SPAN></DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> owner-mpich-discuss@mcs.anl.gov
[mailto:owner-mpich-discuss@mcs.anl.gov] <B>On Behalf Of </B>Mike
Zupan<BR><B>Sent:</B> Thursday, September 01, 2005 8:23 AM<BR><B>To:</B>
mpich-discuss@mcs.anl.gov<BR><B>Subject:</B> [MPICH] mpif90
issues<BR></FONT><BR></DIV>
<DIV></DIV>We are having some issues building mpif90 against pgi6 the 64bit
version. <BR><BR>Here are my env vars for
pgi<BR><BR>PGI=/usr/local/pgi-6.0<BR>PGI2=/usr/local/pgi-6.0/linux86-64/6.0<BR>export
PGI PGI2<BR>MANPATH=/usr/man:$PGI2/man:/usr/share/man<BR>export
MANPATH<BR>PATH=$PATH:$HOME/bin:/usr/local/pgi-6.0/linux86-64/6.0/bin:/usr/sbin:/sbin:/usr/local/bin:/etc:/usr/local/sbin/:.<BR><BR>Here
is how i compiled mpich<BR><BR>./configure -cc=pgcc -f90=pgf90
-fc=pgf77<BR><BR>Then when i run mpif90 i get this<BR>[wind@testing
mpich-1.2.7]$ ./bin/mpif90
<BR>/usr/local/pgi-6.0/linux86-64/6.0/lib/f90main.o(.text+0x42): In function
`main':<BR>: undefined reference to `MAIN_'<BR><BR>has anyone seen this? This
is a centOS 4.1 system with just the 64bit compiler/libraries
installed<BR><BR>thanks<BR><BR clear=all><BR>-- <BR><A
href="http://www.zcentric.com/wiki">http://www.zcentric.com/wiki</A><BR>My
Linux Howto/Tips Wiki </BLOCKQUOTE></BODY></HTML>