Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Chameleon
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
AGULLO Emmanuel
Chameleon
Commits
37f43c07
Commit
37f43c07
authored
Sep 17, 2015
by
THIBAULT Samuel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid final MPI calls in simulation mode, as the starpu MPI thread will be over at that time
parent
528753e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
control/control.c
control/control.c
+4
-2
No files found.
control/control.c
View file @
37f43c07
...
...
@@ -98,8 +98,8 @@ int MORSE_InitPar(int ncpus, int ncudas, int nthreads_per_worker)
#if defined(CHAMELEON_USE_MPI)
# if defined(CHAMELEON_SIMULATION)
/* Assuming that
there was no outer init
(which SMPI doesn't support anyway) */
morse
->
mpi_outer_init
=
0
;
/* Assuming that
we don't initialize MPI ourself
(which SMPI doesn't support anyway) */
morse
->
mpi_outer_init
=
1
;
# else
{
int
flag
=
0
,
provided
=
0
;
...
...
@@ -143,7 +143,9 @@ int MORSE_Finalize(void)
magma_finalize
();
#endif
morse_context_destroy
();
# if !defined(CHAMELEON_SIMULATION)
RUNTIME_barrier
(
morse
);
# endif
#if defined(CHAMELEON_USE_MPI)
if
(
!
morse
->
mpi_outer_init
)
MPI_Finalize
();
...
...
Write
Preview
Markdown
is supported
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