MPI_Send and PetscScalar

Barry Smith bsmith at mcs.anl.gov
Wed Jun 27 13:59:36 CDT 2007


  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
> 
> 




More information about the petsc-users mailing list