return MPI_SUCCESS;
}
+int PMPI_Finalized(int* flag)
+{
+ *flag=smpi_process_finalized();
+ return MPI_SUCCESS;
+}
+
+int PMPI_Get_version (int *version,int *subversion){
+ *version = MPI_VERSION;
+ *subversion= MPI_SUBVERSION;
+ return MPI_SUCCESS;
+}
+
+int PMPI_Get_library_version (char *version,int *len){
+ int retval = MPI_SUCCESS;
+ smpi_bench_end();
+ snprintf(version,MPI_MAX_LIBRARY_VERSION_STRING,"SMPI Version %d.%d. Copyright The Simgrid Team 2007-2013",SIMGRID_VERSION_MAJOR,
+ SIMGRID_VERSION_MINOR);
+ *len = strlen(version) > MPI_MAX_LIBRARY_VERSION_STRING ? MPI_MAX_LIBRARY_VERSION_STRING : strlen(version);
+ smpi_bench_begin();
+ return retval;
+}
+
int PMPI_Init_thread(int *argc, char ***argv, int required, int *provided)
{
if (provided != NULL) {
return retval;
}
+int PMPI_Get_address(void *location, MPI_Aint * address)
+{
+ return PMPI_Address(location, address);
+}
+
int PMPI_Type_free(MPI_Datatype * datatype)
{
int retval;
return retval;
}
+int PMPI_Type_get_true_extent(MPI_Datatype datatype, MPI_Aint * lb, MPI_Aint * extent)
+{
+ return PMPI_Type_get_extent(datatype, lb, extent);
+}
+
int PMPI_Type_extent(MPI_Datatype datatype, MPI_Aint * extent)
{
int retval;
retval = MPI_ERR_GROUP;
} else if (newcomm == NULL) {
retval = MPI_ERR_ARG;
- } else {
+ } else if(smpi_group_rank(group,smpi_process_index())==MPI_UNDEFINED){
+ *newcomm= MPI_COMM_NULL;
+ retval = MPI_SUCCESS;
+ }else{
+
*newcomm = smpi_comm_new(group);
retval = MPI_SUCCESS;
}
*request = MPI_REQUEST_NULL;
retval = MPI_SUCCESS;
} else if (dst >= smpi_group_size(smpi_comm_group(comm)) || dst <0){
- retval = MPI_ERR_COMM;
+ retval = MPI_ERR_RANK;
} else if (count < 0) {
retval = MPI_ERR_COUNT;
} else if (buf==NULL && count > 0) {
*request = MPI_REQUEST_NULL;
retval = MPI_SUCCESS;
} else if (dst >= smpi_group_size(smpi_comm_group(comm)) || dst <0){
- retval = MPI_ERR_COMM;
+ retval = MPI_ERR_RANK;
} else if (count < 0) {
retval = MPI_ERR_COUNT;
} else if (buf==NULL && count > 0) {
status->MPI_SOURCE = MPI_PROC_NULL;
retval = MPI_SUCCESS;
} else if (src!=MPI_ANY_SOURCE && (src >= smpi_group_size(smpi_comm_group(comm)) || src <0)){
- retval = MPI_ERR_COMM;
+ retval = MPI_ERR_RANK;
} else if (count < 0) {
retval = MPI_ERR_COUNT;
} else if (buf==NULL && count > 0) {
} else if (dst == MPI_PROC_NULL) {
retval = MPI_SUCCESS;
} else if (dst >= smpi_group_size(smpi_comm_group(comm)) || dst <0){
- retval = MPI_ERR_COMM;
+ retval = MPI_ERR_RANK;
} else if (count < 0) {
retval = MPI_ERR_COUNT;
} else if (buf==NULL && count > 0) {
} else if (dst == MPI_PROC_NULL) {
retval = MPI_SUCCESS;
} else if (dst >= smpi_group_size(smpi_comm_group(comm)) || dst <0){
- retval = MPI_ERR_COMM;
+ retval = MPI_ERR_RANK;
} else if (count < 0) {
retval = MPI_ERR_COUNT;
} else if (buf==NULL && count > 0) {
retval = MPI_SUCCESS;
}else if (dst >= smpi_group_size(smpi_comm_group(comm)) || dst <0 ||
(src!=MPI_ANY_SOURCE && (src >= smpi_group_size(smpi_comm_group(comm)) || src <0))){
- retval = MPI_ERR_COMM;
+ retval = MPI_ERR_RANK;
} else if (sendcount < 0 || recvcount<0) {
retval = MPI_ERR_COUNT;
} else if ((sendbuf==NULL && sendcount > 0)||(recvbuf==NULL && recvcount>0)) {
if (comm == MPI_COMM_NULL) {
retval = MPI_ERR_COMM;
} else {
- smpi_mpi_barrier(comm);
+ mpi_coll_barrier_fun(comm);
retval = MPI_SUCCESS;
}
#ifdef HAVE_TRACING
|| recvtype == MPI_DATATYPE_NULL) {
retval = MPI_ERR_TYPE;
} else {
- smpi_mpi_scatter(sendbuf, sendcount, sendtype, recvbuf, recvcount,
+ mpi_coll_scatter_fun(sendbuf, sendcount, sendtype, recvbuf, recvcount,
recvtype, root, comm);
retval = MPI_SUCCESS;
}
return retval;
}
+int PMPI_Reduce_local(void *inbuf, void *inoutbuf, int count,
+ MPI_Datatype datatype, MPI_Op op){
+ int retval;
+
+ smpi_bench_end();
+ if (datatype == MPI_DATATYPE_NULL || op == MPI_OP_NULL) {
+ retval = MPI_ERR_ARG;
+ } else {
+ smpi_op_apply(op, inbuf, inoutbuf, &count, &datatype);
+ retval=MPI_SUCCESS;
+ }
+ smpi_bench_begin();
+ return retval;
+}
+
int PMPI_Allreduce(void *sendbuf, void *recvbuf, int count,
MPI_Datatype datatype, MPI_Op op, MPI_Comm comm)
{
MPI_Datatype datatype, MPI_Op op, MPI_Comm comm)
{
int retval;
- int rank = comm != MPI_COMM_NULL ? smpi_process_index() : -1;
smpi_bench_end();
#ifdef HAVE_TRACING
+ int rank = comm != MPI_COMM_NULL ? smpi_process_index() : -1;
TRACE_smpi_computing_out(rank);
TRACE_smpi_collective_in(rank, -1, __FUNCTION__);
#endif
return retval;
}
+int PMPI_Reduce_scatter_block(void *sendbuf, void *recvbuf, int recvcount,
+ MPI_Datatype datatype, MPI_Op op, MPI_Comm comm)
+{
+ int retval,i;
+ smpi_bench_end();
+#ifdef HAVE_TRACING
+ int rank = comm != MPI_COMM_NULL ? smpi_process_index() : -1;
+ TRACE_smpi_computing_out(rank);
+ TRACE_smpi_collective_in(rank, -1, __FUNCTION__);
+#endif
+ if (comm == MPI_COMM_NULL) {
+ retval = MPI_ERR_COMM;
+ } else if (datatype == MPI_DATATYPE_NULL) {
+ retval = MPI_ERR_TYPE;
+ } else if (op == MPI_OP_NULL) {
+ retval = MPI_ERR_OP;
+ } else if (recvcount < 0) {
+ retval = MPI_ERR_ARG;
+ } else {
+ int count=smpi_comm_size(comm);
+ int* recvcounts=(int*)xbt_malloc(count);
+ for (i=0; i<count;i++)recvcounts[i]=recvcount;
+ mpi_coll_reduce_scatter_fun(sendbuf, recvbuf, recvcounts,
+ datatype, op, comm);
+ xbt_free(recvcounts);
+ retval = MPI_SUCCESS;
+ }
+#ifdef HAVE_TRACING
+ TRACE_smpi_collective_out(rank, -1, __FUNCTION__);
+ TRACE_smpi_computing_in(rank);
+#endif
+ smpi_bench_begin();
+ return retval;
+}
+
int PMPI_Alltoall(void *sendbuf, int sendcount, MPI_Datatype sendtype,
void *recvbuf, int recvcount, MPI_Datatype recvtype,
MPI_Comm comm)
return retval;
}
+int PMPI_Type_create_hvector(int count, int blocklen, MPI_Aint stride, MPI_Datatype old_type, MPI_Datatype* new_type) {
+ return MPI_Type_hvector(count, blocklen, stride, old_type, new_type);
+}
int PMPI_Type_indexed(int count, int* blocklens, int* indices, MPI_Datatype old_type, MPI_Datatype* new_type) {
int retval;
return retval;
}
+int PMPI_Type_create_indexed_block(int count, int blocklength, int* indices, MPI_Datatype old_type, MPI_Datatype* new_type) {
+ int retval,i;
+
+ smpi_bench_end();
+ if (old_type == MPI_DATATYPE_NULL) {
+ retval = MPI_ERR_TYPE;
+ } else if (count<0){
+ retval = MPI_ERR_COUNT;
+ } else {
+ int* blocklens=(int*)xbt_malloc(blocklength*count);
+ for (i=0; i<count;i++)blocklens[i]=blocklength;
+ retval = smpi_datatype_indexed(count, blocklens, indices, old_type, new_type);
+ xbt_free(blocklens);
+ }
+ smpi_bench_begin();
+ return retval;
+}
+
+
int PMPI_Type_hindexed(int count, int* blocklens, MPI_Aint* indices, MPI_Datatype old_type, MPI_Datatype* new_type) {
int retval;
return retval;
}
+int PMPI_Type_create_hindexed_block(int count, int blocklength, MPI_Aint* indices, MPI_Datatype old_type, MPI_Datatype* new_type) {
+ int retval,i;
+
+ smpi_bench_end();
+ if (old_type == MPI_DATATYPE_NULL) {
+ retval = MPI_ERR_TYPE;
+ } else if (count<0){
+ retval = MPI_ERR_COUNT;
+ } else {
+ int* blocklens=(int*)xbt_malloc(blocklength*count);
+ for (i=0; i<count;i++)blocklens[i]=blocklength;
+ retval = smpi_datatype_hindexed(count, blocklens, indices, old_type, new_type);
+ xbt_free(blocklens);
+ }
+ smpi_bench_begin();
+ return retval;
+}
+
int PMPI_Type_struct(int count, int* blocklens, MPI_Aint* indices, MPI_Datatype* old_types, MPI_Datatype* new_type) {
int retval;
retval = smpi_datatype_struct(count, blocklens, indices, old_types, new_type);
}
smpi_bench_begin();
- return retval;}
+ return retval;
+}
+
+int PMPI_Type_create_struct(int count, int* blocklens, MPI_Aint* indices, MPI_Datatype* old_types, MPI_Datatype* new_type) {
+ return PMPI_Type_struct(count, blocklens, indices, old_types, new_type);
+}
+
int PMPI_Error_class(int errorcode, int* errorclass) {
// assume smpi uses only standard mpi error codes
/* The following calls are not yet implemented and will fail at runtime. */
/* Once implemented, please move them above this notice. */
-static int not_yet_implemented(void) {
- XBT_WARN("Not yet implemented");
- return MPI_SUCCESS;
+#define NOT_YET_IMPLEMENTED {\
+ XBT_WARN("Not yet implemented : %s. Please contact the Simgrid team if support is needed", __FUNCTION__);\
+ return MPI_SUCCESS;\
+ }
+
+
+int PMPI_Type_dup(MPI_Datatype datatype, MPI_Datatype *newtype){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Type_set_name(MPI_Datatype datatype, char * name)
+{
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Type_get_name(MPI_Datatype datatype, char * name, int* len)
+{
+ NOT_YET_IMPLEMENTED
}
int PMPI_Pack_size(int incount, MPI_Datatype datatype, MPI_Comm comm, int* size) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Cart_coords(MPI_Comm comm, int rank, int maxdims, int* coords) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Cart_create(MPI_Comm comm_old, int ndims, int* dims, int* periods, int reorder, MPI_Comm* comm_cart) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Cart_get(MPI_Comm comm, int maxdims, int* dims, int* periods, int* coords) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Cart_map(MPI_Comm comm_old, int ndims, int* dims, int* periods, int* newrank) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Cart_rank(MPI_Comm comm, int* coords, int* rank) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Cart_shift(MPI_Comm comm, int direction, int displ, int* source, int* dest) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Cart_sub(MPI_Comm comm, int* remain_dims, MPI_Comm* comm_new) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Cartdim_get(MPI_Comm comm, int* ndims) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Graph_create(MPI_Comm comm_old, int nnodes, int* index, int* edges, int reorder, MPI_Comm* comm_graph) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Graph_get(MPI_Comm comm, int maxindex, int maxedges, int* index, int* edges) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Graph_map(MPI_Comm comm_old, int nnodes, int* index, int* edges, int* newrank) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Graph_neighbors(MPI_Comm comm, int rank, int maxneighbors, int* neighbors) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Graph_neighbors_count(MPI_Comm comm, int rank, int* nneighbors) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Graphdims_get(MPI_Comm comm, int* nnodes, int* nedges) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Topo_test(MPI_Comm comm, int* top_type) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Errhandler_create(MPI_Handler_function* function, MPI_Errhandler* errhandler) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Errhandler_free(MPI_Errhandler* errhandler) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Errhandler_get(MPI_Comm comm, MPI_Errhandler* errhandler) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Error_string(int errorcode, char* string, int* resultlen) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Errhandler_set(MPI_Comm comm, MPI_Errhandler errhandler) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
+int PMPI_Comm_set_errhandler(MPI_Comm comm, MPI_Errhandler errhandler) {
+ NOT_YET_IMPLEMENTED
+}
int PMPI_Cancel(MPI_Request* request) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Buffer_attach(void* buffer, int size) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Buffer_detach(void* buffer, int* size) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Comm_test_inter(MPI_Comm comm, int* flag) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Comm_get_attr (MPI_Comm comm, int comm_keyval, void *attribute_val, int *flag)
{
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Comm_set_attr (MPI_Comm comm, int comm_keyval, void *attribute_val)
+{
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Comm_delete_attr (MPI_Comm comm, int comm_keyval)
+{
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Comm_create_keyval(MPI_Comm_copy_attr_function* copy_fn, MPI_Comm_delete_attr_function* delete_fn, int* keyval, void* extra_state)
+{
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Comm_free_keyval(int* keyval) {
+ NOT_YET_IMPLEMENTED
}
int PMPI_Pcontrol(const int level )
{
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Unpack(void* inbuf, int insize, int* position, void* outbuf, int outcount, MPI_Datatype type, MPI_Comm comm) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Type_get_attr (MPI_Datatype type, int type_keyval, void *attribute_val, int* flag)
+{
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Type_set_attr (MPI_Datatype type, int type_keyval, void *attribute_val)
+{
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Type_delete_attr (MPI_Datatype type, int comm_keyval)
+{
+ NOT_YET_IMPLEMENTED
}
+int PMPI_Type_create_keyval(MPI_Type_copy_attr_function* copy_fn, MPI_Type_delete_attr_function* delete_fn, int* keyval, void* extra_state)
+{
+ NOT_YET_IMPLEMENTED
+}
+int PMPI_Type_free_keyval(int* keyval) {
+ NOT_YET_IMPLEMENTED
+}
int PMPI_Intercomm_create(MPI_Comm local_comm, int local_leader, MPI_Comm peer_comm, int remote_leader, int tag, MPI_Comm* comm_out) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Intercomm_merge(MPI_Comm comm, int high, MPI_Comm* comm_out) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Bsend(void* buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Bsend_init(void* buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request* request) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Ibsend(void* buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request* request) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Comm_remote_group(MPI_Comm comm, MPI_Group* group) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Comm_remote_size(MPI_Comm comm, int* size) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Attr_delete(MPI_Comm comm, int keyval) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Attr_get(MPI_Comm comm, int keyval, void* attr_value, int* flag) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Attr_put(MPI_Comm comm, int keyval, void* attr_value) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Rsend(void* buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Rsend_init(void* buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request* request) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Irsend(void* buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request* request) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Keyval_create(MPI_Copy_function* copy_fn, MPI_Delete_function* delete_fn, int* keyval, void* extra_state) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Keyval_free(int* keyval) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Test_cancelled(MPI_Status* status, int* flag) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Pack(void* inbuf, int incount, MPI_Datatype type, void* outbuf, int outcount, int* position, MPI_Comm comm) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Pack_external_size(char *datarep, int incount, MPI_Datatype datatype, MPI_Aint *size){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Pack_external(char *datarep, void *inbuf, int incount, MPI_Datatype datatype, void *outbuf, MPI_Aint outcount, MPI_Aint *position){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Unpack_external( char *datarep, void *inbuf, MPI_Aint insize, MPI_Aint *position, void *outbuf, int outcount, MPI_Datatype datatype){
+ NOT_YET_IMPLEMENTED
}
int PMPI_Get_elements(MPI_Status* status, MPI_Datatype datatype, int* elements) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Dims_create(int nnodes, int ndims, int* dims) {
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Win_fence( int assert, MPI_Win win){
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Win_free( MPI_Win* win){
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Win_create( void *base, MPI_Aint size, int disp_unit, MPI_Info info, MPI_Comm comm, MPI_Win *win){
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Info_create( MPI_Info *info){
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
-int PMPI_Info_set( MPI_Info *info, char *key, char *value){
- return not_yet_implemented();
+int PMPI_Info_set( MPI_Info info, char *key, char *value){
+ NOT_YET_IMPLEMENTED
}
int PMPI_Info_free( MPI_Info *info){
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
}
int PMPI_Get( void *origin_addr, int origin_count, MPI_Datatype origin_datatype, int target_rank,
MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Win win){
- return not_yet_implemented();
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Type_get_envelope( MPI_Datatype datatype, int *num_integers,
+ int *num_addresses, int *num_datatypes, int *combiner){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Type_get_contents(MPI_Datatype datatype, int max_integers, int max_addresses,
+ int max_datatypes, int* array_of_integers, MPI_Aint* array_of_addresses,
+ MPI_Datatype* array_of_datatypes){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Type_create_darray(int size, int rank, int ndims, int* array_of_gsizes,
+ int* array_of_distribs, int* array_of_dargs, int* array_of_psizes,
+ int order, MPI_Datatype oldtype, MPI_Datatype *newtype) {
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Type_create_resized(MPI_Datatype oldtype,MPI_Aint lb, MPI_Aint extent, MPI_Datatype *newtype){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Type_create_subarray(int ndims,int *array_of_sizes, int *array_of_subsizes, int *array_of_starts, int order, MPI_Datatype oldtype, MPI_Datatype *newtype){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Type_match_size(int typeclass,int size,MPI_Datatype *datatype){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Alltoallw( void *sendbuf, int *sendcnts, int *sdispls, MPI_Datatype *sendtypes,
+ void *recvbuf, int *recvcnts, int *rdispls, MPI_Datatype *recvtypes,
+ MPI_Comm comm){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Exscan(void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype,
+ MPI_Op op, MPI_Comm comm){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Comm_set_name(MPI_Comm comm, char* name){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Comm_dup_with_info(MPI_Comm comm, MPI_Info info, MPI_Comm * newcomm){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Comm_split_type(MPI_Comm comm, int split_type, int key, MPI_Info info, MPI_Comm *newcomm){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Comm_set_info (MPI_Comm comm, MPI_Info info){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Comm_get_info (MPI_Comm comm, MPI_Info* info){
+ NOT_YET_IMPLEMENTED
}
+int PMPI_Info_get(MPI_Info info,char *key,int valuelen, char *value, int *flag){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Comm_create_errhandler( MPI_Comm_errhandler_fn *function, MPI_Errhandler *errhandler){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Add_error_class( int *errorclass){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Add_error_code( int errorclass, int *errorcode){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Add_error_string( int errorcode, char *string){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Comm_call_errhandler(MPI_Comm comm,int errorcode){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Info_dup(MPI_Info info, MPI_Info *newinfo){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Info_delete(MPI_Info info, char *key){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Info_get_nkeys( MPI_Info info, int *nkeys){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Info_get_nthkey( MPI_Info info, int n, char *key){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Info_get_valuelen( MPI_Info info, char *key, int *valuelen, int *flag){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Request_get_status( MPI_Request request, int *flag, MPI_Status *status){
+ NOT_YET_IMPLEMENTED
+}
+
+int MPI_Request_get_status( MPI_Request request, int *flag, MPI_Status *status){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Grequest_start( MPI_Grequest_query_function *query_fn, MPI_Grequest_free_function *free_fn, MPI_Grequest_cancel_function *cancel_fn, void *extra_state, MPI_Request *request){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Grequest_complete( MPI_Request request){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Status_set_cancelled(MPI_Status *status,int flag){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Status_set_elements( MPI_Status *status, MPI_Datatype datatype, int count){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Comm_connect( char *port_name, MPI_Info info, int root, MPI_Comm comm, MPI_Comm *newcomm){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Publish_name( char *service_name, MPI_Info info, char *port_name){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Unpublish_name( char *service_name, MPI_Info info, char *port_name){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Lookup_name( char *service_name, MPI_Info info, char *port_name){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Comm_join( int fd, MPI_Comm *intercomm){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Open_port( MPI_Info info, char *port_name){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Close_port(char *port_name){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Comm_accept( char *port_name, MPI_Info info, int root, MPI_Comm comm, MPI_Comm *newcomm){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Comm_spawn( char *command, char **argv, int maxprocs, MPI_Info info, int root, MPI_Comm comm, MPI_Comm *intercomm, int* array_of_errcodes){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Comm_spawn_multiple( int count, char **array_of_commands, char*** array_of_argv,
+ int* array_of_maxprocs, MPI_Info* array_of_info, int root,
+ MPI_Comm comm, MPI_Comm *intercomm, int* array_of_errcodes){
+ NOT_YET_IMPLEMENTED
+}
+
+int PMPI_Comm_get_parent( MPI_Comm *parent){
+ NOT_YET_IMPLEMENTED
+}