A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
small sonar cleanup
[simgrid.git]
/
src
/
smpi
/
smpi_comm.cpp
diff --git
a/src/smpi/smpi_comm.cpp
b/src/smpi/smpi_comm.cpp
index
9029fde
..
99625ce
100644
(file)
--- a/
src/smpi/smpi_comm.cpp
+++ b/
src/smpi/smpi_comm.cpp
@@
-111,6
+111,7
@@
int smpi_comm_dup(MPI_Comm comm, MPI_Comm* newcomm){
if(ret!=MPI_SUCCESS){
smpi_comm_destroy(*newcomm);
*newcomm=MPI_COMM_NULL;
if(ret!=MPI_SUCCESS){
smpi_comm_destroy(*newcomm);
*newcomm=MPI_COMM_NULL;
+ xbt_dict_cursor_free(&cursor);
return ret;
}
if(flag)
return ret;
}
if(flag)
@@
-373,7
+374,7
@@
void smpi_comm_init_smp(MPI_Comm comm){
int intra_comm_size = 0;
int i =0;
int min_index=INT_MAX;//the minimum index will be the leader
int intra_comm_size = 0;
int i =0;
int min_index=INT_MAX;//the minimum index will be the leader
- smx_
process
_t process = nullptr;
+ smx_
actor
_t process = nullptr;
xbt_swag_foreach(process, process_list) {
int index = process->pid -1;
xbt_swag_foreach(process, process_list) {
int index = process->pid -1;