[MPICH] mpif90 issues

Rajeev Thakur thakur at mcs.anl.gov
Thu Sep 1 11:55:12 CDT 2005


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.
 
Rajeev


  _____  

From: owner-mpich-discuss at mcs.anl.gov
[mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of Mike Zupan
Sent: Thursday, September 01, 2005 8:23 AM
To: mpich-discuss at mcs.anl.gov
Subject: [MPICH] mpif90 issues


We are having some issues building mpif90 against pgi6 the 64bit version. 

Here are my env vars for pgi

PGI=/usr/local/pgi-6.0
PGI2=/usr/local/pgi-6.0/linux86-64/6.0
export PGI PGI2
MANPATH=/usr/man:$PGI2/man:/usr/share/man
export MANPATH
PATH=$PATH:$HOME/bin:/usr/local/pgi-6.0/linux86-64/6.0/bin:/usr/sbin:/sbin:/
usr/local/bin:/etc:/usr/local/sbin/:.

Here is how i compiled mpich

./configure -cc=pgcc -f90=pgf90 -fc=pgf77

Then when i run mpif90 i get this
[wind at testing mpich-1.2.7]$ ./bin/mpif90 
/usr/local/pgi-6.0/linux86-64/6.0/lib/f90main.o(.text+0x42): In function
`main':
: undefined reference to `MAIN_'

has anyone seen this? This is a centOS 4.1 system with just the 64bit
compiler/libraries installed

thanks


-- 
http://www.zcentric.com/wiki
My Linux Howto/Tips Wiki 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20050901/944e5497/attachment.htm>


More information about the mpich-discuss mailing list