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
iwr
amdis
Commits
f10cd5f3
Commit
f10cd5f3
authored
Feb 20, 2013
by
Peter Gottschling
Browse files
Arrays with dynamic sizes is a gnu extension and not standard-compliant.
parent
4beefa8c
Changes
1
Show whitespace changes
Inline
Side-by-side
AMDiS/src/parallel/StdMpi.h
View file @
f10cd5f3
...
...
@@ -405,7 +405,7 @@ namespace AMDiS {
{
FUNCNAME
(
"StdMpi::commDataSize()"
);
MPI
::
Request
request
[
sendData
.
size
()
+
recvDataSize
.
size
()];
MPI
::
Request
*
request
=
new
MPI
::
Request
[
sendData
.
size
()
+
recvDataSize
.
size
()];
vector
<
int
>
sendBuffers
;
sendBuffers
.
resize
(
sendDataSize
.
size
());
...
...
@@ -432,6 +432,8 @@ namespace AMDiS {
bool
testall
=
MPI
::
Request
::
Testall
(
requestCounter
,
request
);
TEST_EXIT
(
testall
)(
"Should not happen!
\n
"
);
#endif
delete
[]
request
;
}
...
...
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