MPI_Send and PetscScalar

2007-06-27 Thread Barry Smith
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_

MPI_Send and PetscScalar

2007-06-27 Thread Matthew Knepley
Yes. Thanks, Matt On 6/27/07, 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

MPI_Send and PetscScalar

2007-06-27 Thread David Fuentes
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