X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a3848e5ea6b2305d6059c89705edaccbec356455..3928c9b3860770cd5efbaa3515e9df6d09273e52:/src/smpi/smpi_mpi.c diff --git a/src/smpi/smpi_mpi.c b/src/smpi/smpi_mpi.c index f98336efd7..e6c5423d74 100644 --- a/src/smpi/smpi_mpi.c +++ b/src/smpi/smpi_mpi.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2007, 2008, 2009, 2010. The SimGrid Team. +/* Copyright (c) 2007-2013. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -90,7 +90,7 @@ int MPI_Type_get_name(MPI_Datatype datatype, char * name, int* len) int MPI_Type_get_attr (MPI_Datatype type, int type_keyval, void *attribute_val, int* flag) { - return PMPI_Type_set_attr ( type, type_keyval, attribute_val); + return PMPI_Type_get_attr ( type, type_keyval, attribute_val, flag); } int MPI_Type_set_attr (MPI_Datatype type, int type_keyval, void *attribute_val) @@ -615,6 +615,10 @@ int MPI_Comm_set_errhandler(MPI_Comm comm, MPI_Errhandler errhandler) { 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); } @@ -663,6 +667,10 @@ int MPI_Type_hindexed(int count, int* blocklens, MPI_Aint* indices, MPI_Datatype 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); } @@ -675,6 +683,10 @@ int MPI_Type_indexed(int count, int* blocklens, int* indices, MPI_Datatype old_t 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); }