[prev in list] [next in list] [prev in thread] [next in thread] 

List:       beowulf
Subject:    RE: [Beowulf] problem compiling mpich2 with pgf90
From:       "Rajeev Thakur" <thakur () mcs ! anl ! gov>
Date:       2005-05-26 19:30:04
Message-ID: 200505261930.j4QJU6n130346 () mcs ! anl ! gov
[Download RAW message or body]

This has been fixed for the next release of MPICH2, but in the meanwhile,
you can get rid it of the problem by setting the environment variable F77 to
pgf77 and then rerun configure and make.

Rajeev
 

> Date: Thu, 26 May 2005 10:38:03 -0400
> From: Ted Sariyski <tsariysk@craft-tech.com>
> Subject: [Beowulf] problem compiling mpich2 with pgf90
> Cc: Beowulf@beowulf.org
> Message-ID: <4295DF4B.9070902@craft-tech.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Hi,
> I have been compiling mpich-1.2.x with pgf90 dozens of times 
> but I have
> real difficulties to compile mpich2-1.0.1 (the latest) with pgf90 (I
> tried v.6 and v.5.2-4). Here is what I do (output from 
> configure and from make are attached; I run i386 GNU/Linux 
> box/w RedHat EL4 with kernel 2.6.9-5.0.5)
> 
> export FC=pgf90
> export F90=pgf90
> export CC=pgcc
> export CXX=pgCC
> export F90LIB="-L${PGI}/linux86/current/lib -lpgf90 -lpgf90rtl
> -lpgftnrtl -lpgc"
> export FLIB"-L${PGI}/linux86/current/lib -lpgf90 -lpgf90rtl -lpgftnrtl
> -lpgc"
> export CFLAGS="-Msignextend -tp px -DUSE_U_INT_FOR_XDR
> -DHAVE_RPC_RPC_H=1"
> export FFLAGS="-tp px"
> export F90FLAGS="-tp px"
> export CXXFLAGS="-tp px"
> ./configure --prefix=/usr/local/mpich2-1.0.1_pgi --enable-f77
> --enable-f90 --enable-romio --enable-threads=no
> 
> #> make
> .........
> .........
> ../bin/mpicc  -I../src/include -I../src/include -tp px
> -DUSE_U_INT_FOR_XDR -DHAVE_RPC_RPC_H=1   -c cpi.c
> ../bin/mpicc -L../lib -o cpi cpi.o  -lm -lmpich       -lpthread  -lrt
> -lpthread  -lrt
> /root/DIST/mpich2-1.0.1/lib/libmpich.a(setbotf.o)(.data+0x0): 
> undefined
> reference to `pgf90_compiled'
> make[1]: *** [cpi] Error 2
> make: *** [all-redirect] Error 2
> 
> Any help will be highly appreciated.
> Thanks in advance, ted

_______________________________________________
Beowulf mailing list, Beowulf@beowulf.org
To change your subscription (digest mode or unsubscribe) visit \
http://www.beowulf.org/mailman/listinfo/beowulf


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic