Thanks!  This makes sense.  I recompiled PETSc with the option --with-mpi=0
and then installed libMesh with --disable-mpi.  I'm no longer having
trouble initializing libMesh!  However, I am still not quite up and
running.

I create a libMesh::EquationSystems with a libMesh::NonlinearImplicitSystem
attached.  However, when I run EquationSystems::Init() I get the runtime
error

[0]PETSC ERROR: PetscCommDuplicate() line 140 in
petsc/src/sys/objects/tagm.c
[0]PETSC ERROR: PetscHeaderCreate_Private() line 55 in
petsc/src/sys/objects/inherit.c
[0]PETSC ERROR: VecCreate() line 39 in
petsc/src/vec/vec/interface/veccreate.c
[0]PETSC ERROR: VecCreateGhostWithArray() line 374 in
petsc/src/vec/vec/impls/mpi/pbvec.c
[0]PETSC ERROR: VecCreateGhost() line 447 in
petsc/src/vec/vec/impls/mpi/pbvec.c
[0]PETSC ERROR: init() line 894 in
"unknowndirectory/"./include/libmesh/petsc_vector.h
Abort trap: 6

Is this related to the MPI issue from I was having earlier?  Does libMesh
not work with the --disable-mpi option?  Am I turning off mpi correctly
when I reconfigure PETSc?

Thanks again for all your help,
Andy


On Thu, Jun 6, 2013 at 12:46 PM, Roy Stogner <[email protected]>wrote:

>
> On Thu, 6 Jun 2013, Dmitry Karpeyev wrote:
>
>  It seems to me that --disable-mpi in libMesh is a bad option when
>> using PETSc :-)
>>
>
> Actually, our continuous integration tests --disable-mpi using PETSc.
>
> *But*, you have to compile and link against a PETSc build which was
> configured to be "uniprocessor" and avoid MPI as well.
>
> If your PETSc is MPI-aware, your libMesh needs to be too.
>
>
>  That issue seems to be closer to the root cause of you trouble.
>>
>
> Definitely.
> ---
> Roy
>
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to