Error installing PETSc with --download-triangle
Shi Jin
jinzishuai at yahoo.com
Sun Jun 10 18:16:04 CDT 2007
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: application/octet-stream
Size: 26669 bytes
Desc: 988914365-build.log
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20070610/3efb8028/attachment.obj>
More information about the petsc-users
mailing list