Error installing PETSc with --download-triangle

Shi Jin jinzishuai at yahoo.com
Mon Jun 11 13:27:14 CDT 2007


Thanks but I am not exactly sure how I can get your
changes.

I've tried the latest petsc-dev and 2.3.3-p2, they
both 
give me 
*********************************************************************************
         UNABLE to CONFIGURE with GIVEN OPTIONS   
(see configure.log for details):
---------------------------------------------------------------------------------------


Shi
--- Matthew Knepley <knepley at gmail.com> wrote:

> Yes, I fixed this error after release. If you
> 
>   a) Remove externalPackages/Triangle
> 
>   b) Reconfigure
> 
> It should pull the new package and work.
> 
>   Thanks,
> 
>     Matt
> 
> On 6/10/07, Shi Jin <jinzishuai at yahoo.com> wrote:
> > Hi there,
> >
> > I am studying the tutorial given at
> >
>
http://www-unix.mcs.anl.gov/petsc/petsc-2/documentation/tutorials/PCFD2007.pdf
> >
> > At revision 4, I need to use triangle to generate
> or
> > refine the mesh. So I reinstalled my
> PETSc-2.3.3-p1
> > with
> > ./config/configure.py --with-cc=gcc --with-fc=g77
> > --with-cxx=g++ --download-f-blas-lapack=1
> > --download-mpich=1 --with-clanguage=cxx
> --with-sieve=1
> > --download-boost=1 --download-chaco
> --with-triangle
> >
> > I got an error saying that <config.h> included in
> > externalpackages/Triangle/src/triangle.h is
> missing.
> > So I modified it to be "config.h" and then it
> seemed
> > to generate the libtriangle.o file. However, I
> still
> > get the error saying:
> > /usr/bin/ld: src/libtriangle.o: relocation
> R_X86_64_32
> > against `a local symbol' can not be used when
> making a
> > shared object; recompile with -fPIC
> > src/libtriangle.o: could not read symbols: Bad
> value
> > collect2: ld returned 1 exit status
> >
> > I am attaching the build.log file.
> > I would appreciate any help. Thanks.
> >
> > Shi
> >
> >
> >
> >
> >
>
____________________________________________________________________________________
> > Be a better Heartthrob. Get better relationship
> answers from someone who knows. Yahoo! Answers -
> Check it out.
> >
>
http://answers.yahoo.com/dir/?link=list&sid=396545433
> >
> 
> 
> -- 
> What most experimenters take for granted before they
> begin their
> experiments is infinitely more interesting than any
> results to which
> their experiments lead.
> -- Norbert Wiener
> 
> 



 
____________________________________________________________________________________
Now that's room service!  Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097




More information about the petsc-users mailing list