---------- Forwarded message ----------
Date: Wed, 23 Mar 2011 11:31:30 -0500
From: Ataollah Mesgarnejad <[email protected]>
To: Roy Stogner <[email protected]>
Subject: Re: [Libmesh-users] Mesh is ambiguous

Dear Roy,

I tried compiling without MESH but now I get the following error:

Compiling C++ (in optimized mode) src/utils/xdr_cxx.C...
Linking /usr/local/packages/libmesh/lib/x86_64-unknown-linux-gnu_opt/libmesh.so
ld: src/base/dof_map.x86_64-unknown-linux-gnu.opt.o: relocation R_X86_64_32S 
against 
`_ZTV23variant_filter_iteratorIN7libMesh10Predicates15multi_predicateEPNS0_4ElemERS4_PS4_E'
 can not be used when making a shared object; recompile with -fPIC
src/base/dof_map.x86_64-unknown-linux-gnu.opt.o: could not read symbols: Bad 
value
make: *** 
[/usr/local/packages/libmesh/lib/x86_64-unknown-linux-gnu_opt/libmesh.so] Error 
1

Best,
Ata

On Mar 13, 2011, at 1:00 PM, Roy Stogner wrote:

>
> On Sun, 13 Mar 2011, Ataollah Mesgarnejad wrote:
>
>> I tried compiling Libmesh with petsc-3.1-p6 and p7 but with both I get bunch 
>> of errors all concerning Mesh:
>>
>> Compiling C++ (in optimized mode) src/numerics/sparse_matrix.C...
>> /Users/ataollahmesgarnejad/Software/petsc-3.1-p6//include/petscmesh.h(47): 
>> error: "Mesh" is ambiguous
>> EXTERN PetscErrorCode PETSCDM_DLLEXPORT MeshView(Mesh, PetscViewer);
>>                                                  ^
>> any idea what is going wrong?
>
> Looks like a conflict between libMesh::Mesh and
> DoesPetscUseNamespaces?::Mesh...  Not sure what the easiest fix is
> going to be, but I'll try and check it out on my home system tonight.
> Worst case scenario, we're going to need some more using declarations
> everywhere...
>
> What were your PETSc configure options?
> ---
> Roy






------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to