getfem-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Getfem-users] problem on make check


From: Julien Pommier
Subject: Re: [Getfem-users] problem on make check
Date: Mon, 16 Jun 2008 19:34:53 +0200
User-agent: Internet Messaging Program (IMP) 3.2.6

Hi Daniele,

according to google, numroc is part of scalapack, so I think you should add
something like -lscalapack to your already long list of libs (and you'll
probably have to add also blacs ..)

--
Julien

> > Hi, I'm trying to compile getfem with parallel support, I'm using this
> > configure script
> >
> > ./configure --prefix=${GETFEMDIR} --enable-shared
> >             --enable-python --with-pic
> >             BLAS_LIBS=-lblas
> >             CXXFLAGS="-I${TRILINOSDIR}/include -D GETFEM_PARA_LEVEL=2
> > -I${MUMPSDIR}/include"
> >             MUMPS_CFLAGS="-I${MUMPSDIR}/include"
> >             MUMPS_LIBS="-L${MUMPSDIR}/lib -lcmumps -ldmumps -lsmumps
> > -lzmumps -lpord"
> >             LDFLAGS="-L${TRILINOSDIR}/lib -lepetra -ltriutils -laztecoo
> > -lteuchos
> >                               -L${METISDIR} -lmetis -lparmetis
> > -L${MUMPSDIR}/lib -ldmumps
> >                               -lcmumps -ldmumps -lsmumps -lzmumps -lpord
> > -llapack
> >                               -L${BLACSDIR} -lblacsF77 -lblacs -lblacsC"
> >                               CC=mpicc CXX=mpicxx F77=mpif77
> >
> >
> > Getfem compilation works fine, but on make check I have the following error
> > message when compiling elastostatic:
> > /home/bettella/trilfem/mumps/lib/libdmumps.a(dmumps_part3.o)(.text+0xbd54):
> > In function `dmumps_270_':
> > : undefined reference to `numroc_'
> >
> >
> > many other undef reference follow, they all seem to be reffered to blacs
> > routines, mumps was installed with the following makefile.inc (for what
> > regards blacs)
> > BLACSFINIT = /home/bettella/trilfem/blacs/blacsF77.a
> > BLACSCINIT = /home/bettella/trilfem/blacs/blacsC.a
> > BLACSLIB   = /home/bettella/trilfem/blacs/blacs.a
> > SCALAP = -lscalapack $(BLACSLIB) $(BLACSCINIT) $(BLACSFINIT) $(BLACSLIB)
> >
> > mumps compiles fine and the tests run ok
> >
> > I know my configure script for getfem is a little messy, but I'm struggling
> > to find a solution fort this problem...
> > any help would be very appreciated.
> >
> > Daniele
> >
> >
>






reply via email to

[Prev in Thread] Current Thread [Next in Thread]