[petsc-dev] uni

Barry Smith bsmith at mcs.anl.gov
Tue Nov 22 14:19:13 CST 2011


  You have som other MPI include file hanging around that is getting intercepted before the MPI Uni one. 

   Barry

On Nov 22, 2011, at 12:00 PM, Mark F. Adams wrote:

> Scorched earth did not work:
> 
>  "VecCreate(ompi_communicator_t*, _p_Vec**)", referenced from:
>      PetscLinearSolver<LevelData<FArrayBox> >::solveprivate(LevelData<FArrayBox>&, LevelData<FArrayBox> const&) in libamrelliptic2d.Darwin.g++-4.gfortran.DEBUG.OPT.PETSC.a(PetscLinearSolver.o)
>  "_ompi_mpi_comm_self", referenced from:
>      _ompi_mpi_comm_self$non_lazy_ptr in libamrelliptic2d.Darwin.g++-4.gfortran.DEBUG.OPT.PETSC.a(PetscLinearSolver.o)
> 
> <configure.log.gz>
> 
> On Nov 22, 2011, at 11:47 AM, Satish Balay wrote:
> 
>> Something is strange.
>> 
>> I'll suggeset
>> 
>> rm -rf externalpackages arch-macosx-gnu-seq
>> 
>> and then doing a fresh build.
>> 
>> And then verifying the build with 'make test'
>> 
>> If 'make test' works - and the application build is not working- I'd
>> like to see the complete compile log thats producing this error.
>> 
>> 
>> wrt libmpiuni.a - all the relavent stuff is added to libpetsc.a and a separate
>> libmpiuni.a is not created.
>> 
>> Satish
>> 
>> On Tue, 22 Nov 2011, Mark F. Adams wrote:
>> 
>>> I'm trying to build a non MPI code and get this error:
>>> 
>>> Undefined symbols:
>>> "_ompi_mpi_comm_self", referenced from:
>>>     _ompi_mpi_comm_self$non_lazy_ptr in libamrelliptic2d.Darwin.g++-4.gfortran.DEBUG.OPT.PETSC.a(PetscLinearSolver.o)
>>>    (maybe you meant: _ompi_mpi_comm_self$non_lazy_ptr)
>>> 
>>> 
>>> In the past I have linked libmpiuni.a but that did not seem to get created.  Did libmpiuni.a go away or did my make fail ...
>>> 
>>> Mark
>>> 
>> 
>> 
> 




More information about the petsc-dev mailing list