-/* Copyright (c) 2010-2014. The SimGrid Team.
+/* Copyright (c) 2010-2015. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
#include "xbt/dict.h"
#include "smpi_mpi_dt_private.h"
#include "limits.h"
-#include "simix/smx_private.h"
+#include "src/simix/smx_private.h"
#include "colls/colls.h"
#include "xbt/ex.h"
"Logging specific to SMPI (comm)");
xbt_dict_t smpi_comm_keyvals = NULL;
-int comm_keyval_id=MPI_TAG_UB+1;//avoid collisions
+int comm_keyval_id = 0;//avoid collisions
/* Support for cartesian topology was added, but there are 2 other types of
* topology, graph et dist graph. In order to support them, we have to add a
int i =0;
int min_index=INT_MAX;//the minimum index will be the leader
- msg_process_t process = NULL;
+ smx_process_t process = NULL;
xbt_swag_foreach(process, process_list) {
//is_in_comm=0;
int index = SIMIX_process_get_PID(process) -1;
xbt_free(elem);
return MPI_SUCCESS;
}
-