Added MPI_Reduce to the stubs library. It is needed in Euclid.
This commit is contained in:
parent
ac060d1d39
commit
3babeb3a08
@ -429,7 +429,20 @@ hypre_MPI_Allreduce( void *sendbuf,
|
||||
break;
|
||||
}
|
||||
|
||||
return(0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
hypre_MPI_Reduce( void *sendbuf,
|
||||
void *recvbuf,
|
||||
int count,
|
||||
hypre_MPI_Datatype datatype,
|
||||
hypre_MPI_Op op,
|
||||
int root,
|
||||
hypre_MPI_Comm comm )
|
||||
{
|
||||
hypre_MPI_Allreduce(sendbuf, recvbuf, count, datatype, op, comm);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
|
||||
@ -92,6 +92,7 @@ extern "C" {
|
||||
#define MPI_Waitall hypre_MPI_Waitall
|
||||
#define MPI_Waitany hypre_MPI_Waitany
|
||||
#define MPI_Allreduce hypre_MPI_Allreduce
|
||||
#define MPI_Reduce hypre_MPI_Reduce
|
||||
#define MPI_Request_free hypre_MPI_Request_free
|
||||
#define MPI_Type_contiguous hypre_MPI_Type_contiguous
|
||||
#define MPI_Type_vector hypre_MPI_Type_vector
|
||||
@ -175,6 +176,7 @@ int hypre_MPI_Wait( hypre_MPI_Request *request , hypre_MPI_Status *status );
|
||||
int hypre_MPI_Waitall( int count , hypre_MPI_Request *array_of_requests , hypre_MPI_Status *array_of_statuses );
|
||||
int hypre_MPI_Waitany( int count , hypre_MPI_Request *array_of_requests , int *index , hypre_MPI_Status *status );
|
||||
int hypre_MPI_Allreduce( void *sendbuf , void *recvbuf , int count , hypre_MPI_Datatype datatype , hypre_MPI_Op op , hypre_MPI_Comm comm );
|
||||
int hypre_MPI_Reduce( void *sendbuf , void *recvbuf , int count , hypre_MPI_Datatype datatype , hypre_MPI_Op op , int root , hypre_MPI_Comm comm );
|
||||
int hypre_MPI_Request_free( hypre_MPI_Request *request );
|
||||
int hypre_MPI_Type_contiguous( int count , hypre_MPI_Datatype oldtype , hypre_MPI_Datatype *newtype );
|
||||
int hypre_MPI_Type_vector( int count , int blocklength , int stride , hypre_MPI_Datatype oldtype , hypre_MPI_Datatype *newtype );
|
||||
|
||||
@ -137,6 +137,7 @@ extern "C" {
|
||||
#define MPI_Waitall hypre_MPI_Waitall
|
||||
#define MPI_Waitany hypre_MPI_Waitany
|
||||
#define MPI_Allreduce hypre_MPI_Allreduce
|
||||
#define MPI_Reduce hypre_MPI_Reduce
|
||||
#define MPI_Request_free hypre_MPI_Request_free
|
||||
#define MPI_Type_contiguous hypre_MPI_Type_contiguous
|
||||
#define MPI_Type_vector hypre_MPI_Type_vector
|
||||
@ -220,6 +221,7 @@ int hypre_MPI_Wait( hypre_MPI_Request *request , hypre_MPI_Status *status );
|
||||
int hypre_MPI_Waitall( int count , hypre_MPI_Request *array_of_requests , hypre_MPI_Status *array_of_statuses );
|
||||
int hypre_MPI_Waitany( int count , hypre_MPI_Request *array_of_requests , int *index , hypre_MPI_Status *status );
|
||||
int hypre_MPI_Allreduce( void *sendbuf , void *recvbuf , int count , hypre_MPI_Datatype datatype , hypre_MPI_Op op , hypre_MPI_Comm comm );
|
||||
int hypre_MPI_Reduce( void *sendbuf , void *recvbuf , int count , hypre_MPI_Datatype datatype , hypre_MPI_Op op , int root , hypre_MPI_Comm comm );
|
||||
int hypre_MPI_Request_free( hypre_MPI_Request *request );
|
||||
int hypre_MPI_Type_contiguous( int count , hypre_MPI_Datatype oldtype , hypre_MPI_Datatype *newtype );
|
||||
int hypre_MPI_Type_vector( int count , int blocklength , int stride , hypre_MPI_Datatype oldtype , hypre_MPI_Datatype *newtype );
|
||||
|
||||
Loading…
Reference in New Issue
Block a user