Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Iker Martín Álvarez
Proteo
Commits
f99dd34d
Commit
f99dd34d
authored
Apr 16, 2024
by
iker_martin
Browse files
Minor bug fix for zombies and added extern for MAM main structures
parent
2ae14d8e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Codes/malleability/malleabilityDataStructures.c
View file @
f99dd34d
#include "malleabilityDataStructures.h"
malleability_config_t
*
mall_conf
=
NULL
;
malleability_t
*
mall
=
NULL
;
int
state
=
MALL_UNRESERVED
;
/*
...
...
Codes/malleability/malleabilityDataStructures.h
View file @
f99dd34d
...
...
@@ -54,8 +54,8 @@ typedef struct {
}
malleability_t
;
/* --- VARIABLES --- */
malleability_config_t
*
mall_conf
;
malleability_t
*
mall
;
extern
malleability_config_t
*
mall_conf
;
extern
malleability_t
*
mall
;
extern
int
state
;
/* --- FUNCTIONS --- */
...
...
Codes/malleability/malleabilityZombies.c
View file @
f99dd34d
...
...
@@ -94,7 +94,7 @@ void MAM_I_zombies_split() {
MPI_Comm_split
(
mall
->
original_comm
,
color
,
myId
,
&
new_original_comm
);
if
(
mall
->
original_comm
!=
MPI_COMM_WORLD
)
MPI_Comm_free
(
&
mall
->
original_comm
);
MPI_Comm_set_name
(
new_original_comm
,
"MAM_ORIGINAL"
);
if
(
new_original_comm
!=
MPI_COMM_NULL
)
MPI_Comm_set_name
(
new_original_comm
,
"MAM_ORIGINAL"
);
mall
->
original_comm
=
new_original_comm
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment