> 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!
It is possible that u_rhs is a serial vector, while u_system.rhs is a pointer to a parallel vector? ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
