Yes. Note that with real number PETSc PetscScalar is exactly an double and MPIU_SCALAR is exactly MPI_DOUBLE.
Barry On Wed, 27 Jun 2007, David Fuentes wrote: > > Hello, > > I need to send a single PetscScalar Value from one processor to another. > > I want to use MPI_Send. > > Is MPIU_SCALAR the correct MPI_Datatype to MPI_Send a PetscScalar value > between processors? > > > thank you, > David Fuentes > >