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
elpa
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
11
Issues
11
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Environments
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
elpa
elpa
Commits
6cf2f6e2
Commit
6cf2f6e2
authored
Nov 07, 2018
by
Pavel Kus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding check for mpi_comm_free
parent
ee761dd8
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
src/elpa_impl.F90
src/elpa_impl.F90
+12
-1
No files found.
src/elpa_impl.F90
View file @
6cf2f6e2
...
...
@@ -768,7 +768,8 @@ module elpa_impl
!> \param self class(elpa_impl_t) the allocated ELPA object
subroutine
elpa_destroy
(
self
)
#ifdef WITH_MPI
integer
::
mpi_comm_rows
,
mpi_comm_cols
,
mpierr
,
error
integer
::
mpi_comm_rows
,
mpi_comm_cols
,
mpierr
,
mpierr2
,
error
,
mpi_string_length
character
(
len
=
MPI_MAX_ERROR_STRING
)
::
mpierr_string
#endif
class
(
elpa_impl_t
)
::
self
...
...
@@ -786,7 +787,17 @@ module elpa_impl
endif
call
mpi_comm_free
(
mpi_comm_rows
,
mpierr
)
if
(
mpierr
.ne.
MPI_SUCCESS
)
then
call
MPI_ERROR_STRING
(
mpierr
,
mpierr_string
,
mpi_string_length
,
mpierr2
)
write
(
error_unit
,
*
)
"MPI ERROR occured during mpi_comm_free for row communicator: "
,
trim
(
mpierr_string
)
return
endif
call
mpi_comm_free
(
mpi_comm_cols
,
mpierr
)
if
(
mpierr
.ne.
MPI_SUCCESS
)
then
call
MPI_ERROR_STRING
(
mpierr
,
mpierr_string
,
mpi_string_length
,
mpierr2
)
write
(
error_unit
,
*
)
"MPI ERROR occured during mpi_comm_free for col communicator: "
,
trim
(
mpierr_string
)
return
endif
endif
#endif
...
...
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