On Fri, Apr 1, 2011 at 2:14 PM,  <[email protected]> wrote:
> Hello John
>
> I started now also at home, commented out the lines, here 380 to 402, in the 
> curly braces in petsc_matrix.C, set libmesh_error() . You are right, the 
> errors start in the linking phase. Coming to your next instruction
>
> nm --defined-only 
> /home/bucher/soft/petsc-3.1-p7/linux-gnu-debug/lib/libpetsc* | grep 
> Petsc_MPI_Abort
>
> results in
> 000002f8 T __Z22Petsc_MPI_AbortOnErrorPiS_
> 000006b1 T _Petsc_MPI_Abort

Hmm, then I really don't know why your linker says its not found.  I
wonder if the preceding underscore has something to do with it...?

> nm --defined-only 
> /home/bucher/soft/petsc-3.1-p7/linux-gnu-debug/lib/libpetsc* | grep PetscError

> results in
> 00000000 B _PetscErrorUncatchable
> 00000400 B _PetscErrorUncatchableCount
> 0000065e T __Z10PetscErroriPKcS0_S0_iiS0_z
> 0000031d T __Z13PetscErrorCxxiPKcS0_S0_ii
> 0000014b T __Z17PetscErrorMessageiPPKcPPc
> 000002dc T __Z21PetscErrorIsCatchablei
> 00004456 T __Z22PetscErrorSetCatchablei10PetscTruth
> 00000000 d __ZL17PetscErrorStrings
> 00000830 b __ZL21PetscErrorBaseMessage
> 0000014b T __Z20PetscErrorPrintfNonePKcz
> 00000a4d T __Z23PetscErrorPrintfDefaultPKcz
> 00000ab9 T __Z26PetscErrorPrintfInitializev
> 00000100 b __ZL32PetscErrorPrintfInitializeCalled
> 000011b0 b __ZZ23PetscErrorPrintfDefaultPKczE22PetscErrorPrintfCalled
> 0000000c D _PetscErrorPrintf

This one looks a little more suspicious...  libmesh does not directly
call either of these functions, so it's hard to say why the linker
needs them.

Are these the only linker errors or were there others you just haven't
sent to the list?

-- 
John

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to