X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3f740d769f956cbaa52d518358e9a65ecce196d7..f233a6d6c7d459205695d95e840063beba932147:/src/smpi/smpi_comm.c diff --git a/src/smpi/smpi_comm.c b/src/smpi/smpi_comm.c index 7518c1582d..e2df67d4a5 100644 --- a/src/smpi/smpi_comm.c +++ b/src/smpi/smpi_comm.c @@ -18,7 +18,7 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_comm, smpi, "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 @@ -386,7 +386,7 @@ void smpi_comm_init_smp(MPI_Comm comm){ 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; @@ -617,4 +617,3 @@ int smpi_comm_keyval_free(int* keyval){ xbt_free(elem); return MPI_SUCCESS; } -