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
Rob Latham
mpich-CVS
Commits
ec6f752d
Commit
ec6f752d
authored
Oct 30, 2007
by
thakur
Browse files
further minor tweak to the previous fix
parent
1b778bd8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/mpi/romio/adio/common/ad_aggregate.c
View file @
ec6f752d
...
...
@@ -427,15 +427,13 @@ void ADIOI_Calc_others_req(ADIO_File fd, int count_my_req_procs,
}
}
statuses
=
(
MPI_Status
*
)
ADIOI_Malloc
((
1
+
2
*
\
(
count_my_req_procs
+
count_others_req_procs
))
*
\
sizeof
(
MPI_Status
));
/* +1 to avoid a 0-size malloc */
MPI_Waitall
(
j
,
requests
,
statuses
);
if
(
j
)
{
statuses
=
(
MPI_Status
*
)
ADIOI_Malloc
(
j
*
sizeof
(
MPI_Status
));
MPI_Waitall
(
j
,
requests
,
statuses
);
ADIOI_Free
(
statuses
);
}
ADIOI_Free
(
requests
);
ADIOI_Free
(
statuses
);
ADIOI_Free
(
count_others_req_per_proc
);
*
count_others_req_procs_ptr
=
count_others_req_procs
;
...
...
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