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
f7d04dd3
Commit
f7d04dd3
authored
Feb 14, 2024
by
iker_martin
Browse files
Fixed major bug for Merge Shrink. Actual solution should be temporal
parent
36e2ffb5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Codes/malleability/malleabilityManager.c
View file @
f7d04dd3
...
...
@@ -642,21 +642,29 @@ int MAM_St_user_completed() {
}
int
MAM_St_spawn_adapt_pending
(
int
wait_completed
)
{
wait_completed
=
1
;
#if USE_MAL_BARRIERS
MPI_Barrier
(
mall
->
comm
);
#endif
mall_conf
->
times
->
spawn_start
=
MPI_Wtime
();
unset_spawn_postpone_flag
(
state
);
state
=
check_spawn_state
(
&
(
mall
->
intercomm
),
mall
->
comm
,
wait_completed
);
/* TODO Comentar problema, basicamente indicar que no es posible de la forma actual
* Ademas es solo para una operación que hemos visto como "extremadamente" rápida
if(!MAM_Contains_strat(MAM_SPAWN_STRATEGIES, MAM_STRAT_SPAWN_PTHREAD, NULL)) {
#if USE_MAL_BARRIERS
MPI_Barrier(mall->comm);
#endif
mall_conf
->
times
->
spawn_time
=
MPI_Wtime
()
-
mall_conf
->
times
->
malleability
_start
;
mall_conf->times->spawn_time = MPI_Wtime() - mall_conf->times->
spawn
_start;
return 1;
}
return 0;
*/
#if USE_MAL_BARRIERS
MPI_Barrier
(
mall
->
comm
);
#endif
mall_conf
->
times
->
spawn_time
=
MPI_Wtime
()
-
mall_conf
->
times
->
spawn_start
;
return
1
;
}
int
MAM_St_completed
(
int
*
mam_state
)
{
...
...
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