Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
getdp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
getdp
getdp
Commits
05c0e214
Commit
05c0e214
authored
Jul 30, 2015
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
make sure we don't finalize MPI multiple times
parent
9dd63fae
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Common/Message.cpp
+5
-3
5 additions, 3 deletions
Common/Message.cpp
doc/VERSIONS.txt
+1
-1
1 addition, 1 deletion
doc/VERSIONS.txt
with
6 additions
and
4 deletions
Common/Message.cpp
+
5
−
3
View file @
05c0e214
...
...
@@ -138,9 +138,11 @@ void Message::Initialize(int argc, char **argv)
void
Message
::
Finalize
()
{
#if defined(HAVE_PETSC)
int
flag
;
MPI_Initialized
(
&
flag
);
if
(
flag
)
MPI_Finalize
();
int
initialized
,
finalized
;
MPI_Initialized
(
&
initialized
);
MPI_Finalized
(
&
finalized
);
if
(
initialized
&&
!
finalized
)
MPI_Finalize
();
#endif
FinalizeSocket
();
FinalizeOnelab
();
...
...
This diff is collapsed.
Click to expand it.
doc/VERSIONS.txt
+
1
−
1
View file @
05c0e214
2.6.1: enhanced Print[] command.
2.6.1: enhanced Print[] command
; minor fixes
.
2.6.0: new ability to define and use Macros in .pro files; new run-time
variables (act as registers, but with user-defined names starting with '$')
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment