Hello-

I'm getting a weird bug from PETSc. In my code I'm needing to add a vector,
I call it u_rhs, to the system's rhs, u_system.rhs.

u_rhs is of type  AutoPtr<NumericVector<Number> >

and I'm trying to add them using the call

u_system.rhs->add(*u_rhs.get());

I'm getting the following error:

[0]PETSC ERROR: [1]PETSC ERROR: --------------------- Error Message
------------------------------------
[1]PETSC ERROR: --------------------- Error Message
------------------------------------
Arguments must have same communicators!
[1]PETSC ERROR: Different communicators in the two objects: Argument # 3 and
1!

Have any of you guys seen this before? I tried stepping through with a
debugger to see what the communicators were, but, I couldn't figure out how
to see that from the PETSc code, and I don't have a debug MPI built. Is
libMesh creating special communicators?

Any thoughts? Note: the code works fine in serial but dies when run in
parallel.
Thanks!
Andrea
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to