-/* Copyright (c) 2007, 2008, 2009, 2010. The SimGrid Team.
+/* Copyright (c) 2007-2014. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
- * under the terms of the license (GNU LGPL) which comes with this package. */
+ * under the terms of the license (GNU LGPL) which comes with this package. */
#include "private.h"
#include "simgrid/sg_config.h"
return PMPI_Errhandler_set(comm, errhandler);
}
+int MPI_Comm_get_errhandler(MPI_Comm comm, MPI_Errhandler* errhandler) {
+ return PMPI_Errhandler_set(comm, errhandler);
+}
+
int MPI_Type_contiguous(int count, MPI_Datatype old_type, MPI_Datatype* newtype) {
return PMPI_Type_contiguous(count, old_type, newtype);
}
return PMPI_Type_hindexed(count, blocklens, indices, old_type, newtype);
}
+int MPI_Type_create_hindexed(int count, int* blocklens, MPI_Aint* indices, MPI_Datatype old_type, MPI_Datatype* new_type) {
+ return PMPI_Type_create_hindexed(count, blocklens,indices,old_type,new_type);
+}
+
int MPI_Type_create_hindexed_block(int count, int blocklength, MPI_Aint* indices, MPI_Datatype old_type, MPI_Datatype* newtype) {
return PMPI_Type_create_hindexed_block(count, blocklength, indices, old_type, newtype);
}
return PMPI_Type_indexed(count, blocklens, indices, old_type, newtype);
}
+int MPI_Type_create_indexed(int count, int* blocklens, int* indices, MPI_Datatype old_type, MPI_Datatype* newtype) {
+ return PMPI_Type_create_indexed(count, blocklens, indices, old_type, newtype);
+}
+
int MPI_Type_create_indexed_block(int count, int blocklength, int* indices, MPI_Datatype old_type, MPI_Datatype *newtype){
return PMPI_Type_create_indexed_block(count, blocklength, indices, old_type, newtype);
}