From: sabatini@my-dejanews.com
Newsgroups: comp.parallel.mpi
Subject: Re: MPI on Linux RH51
Date: Wed, 02 Dec 1998 18:30:09 GMT
Organization: Deja News - The Leader in Internet Discussion
Message-Id: <7440vi$30q$1@nnrp1.dejanews.com>
References: <365AAB73.C07CD7F9@upcnet.upc.es>


In article <365AAB73.C07CD7F9@upcnet.upc.es>,
  Jaume Catarineu Rabell <jaume.catarineu@upcnet.upc.es> wrote:
> This is a multi-part message in MIME format.
> --------------861A32CEA1A33760877EB9FB
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
>
> Hi,
>
> I'm  trying to install the MPICH on a DualPentiumII-300 running Linux
> RedHat 5.1
>  The compilation goes fine but at the end it gives me the follow error
> message:
>
> ...


> Testing that MPI applications can be linked...
> make --no-print-directory linktest
> ( cd examples/test/pt2pt; make --no-print-directory linktest )
> /tmp/mpi/mpich/lib/LINUX/ch_p4/mpicc -DHAVE_PROTOTYPES
> -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DUSE_STDARG   -c overtake.c
> /tmp/mpi/mpich/lib/LINUX/ch_p4/mpicc -DHAVE_PROTOTYPES
> -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DUSE_STDARG   -c test.c
> /tmp/mpi/mpich/lib/LINUX/ch_p4/mpicc  -o overtake overtake.o test.o
> /tmp/mpi/mpich/lib/LINUX/ch_p4/mpif77  -c secondf.f
> /tmp/mpi/mpich/lib/LINUX/ch_p4/mpif77  -o secondf secondf.o
> /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.90.29/crtbegin.o: In
> function `__do_global_dtors_aux':
> /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.90.29/crtbegin.o(.text+0x31):
> undefined reference to `__deregister_frame_info'
> /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.90.29/crtbegin.o: In
> function `frame_dummy':
> /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.90.29/crtbegin.o(.text+0x5a):
> undefined reference to `__register_frame_info'
> collect2: ld returned 1 exit status
> make[2]: *** [secondf] Error 1
> make[1]: *** [linktest] Error 2
> make: *** [mpi] Error 2
>
> Anybody knows what's happening? Is there any need of a different
> LD-library version?
> Thank you in advance!
>
> Jaume Catarineu,
> computer assistant,
> --------------861A32CEA1A33760877EB9FB
> Content-Type: text/x-vcard; charset=us-ascii;
>  name="jaume.catarineu.vcf"
> Content-Transfer-Encoding: 7bit
> Content-Description: Card for Jaume Catarineu Rabell
> Content-Disposition: attachment;
>  filename="jaume.catarineu.vcf"
>
> begin:vcard
> n:Catarineu Rabell;Jaume
> tel;cell:909-07-3537
> tel;fax:-1746
> tel;work:93-542-1695
> x-mozilla-html:TRUE
> org:Universitat Pompeu Fabra;Departament d'Economia i Empresa
> adr:;;Ramon Trias Fargas, 23-25;Barcelona;;08005;Catalunya (SPAIN)
> version:2.1
> email;internet:jaume.catarineu@econ.upf.es
> title:Becari d'investigació
> x-mozilla-cpt:;26016
> fn:Jaume Catarineu Rabell
> end:vcard
>
> --------------861A32CEA1A33760877EB9FB--
>
>

Check if you use gcc compiler or egcs compiler.
For to use egcs compiler : ..../mphich/configure -cc=egcs.

I have same problem because my redhat 5.1. linux have
egcs compiler as default and gnu linker (ld) use
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.90.29
instead /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3.



-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

