Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
VTK
VTK
Commits
557ec619
Commit
557ec619
authored
Jul 18, 2015
by
Utkarsh Ayachit
⛰
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Error checking: check status of collective call.
Ensure we check status for all collective calls correctly.
parent
d9555377
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
IO/MPIParallel/vtkMPIMultiBlockPLOT3DReader.cxx
IO/MPIParallel/vtkMPIMultiBlockPLOT3DReader.cxx
+5
-2
No files found.
IO/MPIParallel/vtkMPIMultiBlockPLOT3DReader.cxx
View file @
557ec619
...
...
@@ -120,8 +120,11 @@ namespace
int
numIterations
=
static_cast
<
int
>
(
valuesToRead
/
_INT_MAX
)
+
1
;
int
maxNumIterations
;
MPI_Allreduce
(
&
numIterations
,
&
maxNumIterations
,
1
,
mpi_type
<
int
>::
type
(),
MPI_MAX
,
*
this
->
Communicator
.
GetHandle
());
if
(
MPI_Allreduce
(
&
numIterations
,
&
maxNumIterations
,
1
,
mpi_type
<
int
>::
type
(),
MPI_MAX
,
*
this
->
Communicator
.
GetHandle
())
!=
MPI_SUCCESS
)
{
throw
MPIPlot3DException
();
}
vtkTypeUInt64
byteOffset
=
this
->
Offset
;
// simply use the VTK array for scalars.
...
...
Berk Geveci
@berkgeveci
mentioned in commit
bfd1cedd
·
Jul 19, 2015
mentioned in commit
bfd1cedd
mentioned in commit bfd1ceddf414fac5b652d7187b76e49513733ca9
Toggle commit list
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