Error installing PETSc with --download-triangle
Matthew Knepley
knepley at gmail.com
Mon Jun 11 00:12:04 CDT 2007
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
More information about the petsc-users
mailing list