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-BlueGene
Commits
b9531d3d
Commit
b9531d3d
authored
Nov 15, 2013
by
Antonio J. Pena
Browse files
Revert Fixed --enabled-debuginfo segfaults tt#1932
This reverts commit
676c29f9
.
parent
676c29f9
Changes
8
Hide whitespace changes
Inline
Side-by-side
src/mpi/coll/alltoall.c
View file @
b9531d3d
...
...
@@ -451,8 +451,6 @@ int MPIR_Alltoall_intra(
MPIU_CHKLMEM_MALLOC
(
starray
,
MPI_Status
*
,
2
*
bblock
*
sizeof
(
MPI_Status
),
mpi_errno
,
"starray"
);
for
(
ii
=
0
;
ii
<
comm_size
;
ii
+=
bblock
)
{
int
reqidx
;
ss
=
comm_size
-
ii
<
bblock
?
comm_size
-
ii
:
bblock
;
/* do the communication -- post ss sends and receives: */
for
(
i
=
0
;
i
<
ss
;
i
++
)
{
...
...
@@ -465,23 +463,14 @@ int MPIR_Alltoall_intra(
if
(
mpi_errno
)
MPIU_ERR_POP
(
mpi_errno
);
}
reqidx
=
ss
;
for
(
i
=
0
;
i
<
ss
;
i
++
)
{
dst
=
(
rank
-
i
-
ii
+
comm_size
)
%
comm_size
;
mpi_errno
=
MPIC_Isend
((
char
*
)
sendbuf
+
dst
*
sendcount
*
sendtype_extent
,
sendcount
,
sendtype
,
dst
,
MPIR_ALLTOALL_TAG
,
comm
,
&
reqarray
[
reqidx
],
errflag
);
&
reqarray
[
i
+
ss
],
errflag
);
if
(
mpi_errno
)
MPIU_ERR_POP
(
mpi_errno
);
#ifdef HAVE_DEBUGGER_SUPPORT
{
MPID_Request
*
request_ptr
;
MPID_Request_get_ptr
(
reqarray
[
reqidx
],
request_ptr
);
MPIR_SENDQ_REMEMBER
(
request_ptr
,
dst
,
MPIR_ALLTOALL_TAG
,
comm_ptr
->
context_id
);
}
#endif
++
reqidx
;
}
/* ... then wait for them to finish: */
...
...
src/mpi/coll/alltoallv.c
View file @
b9531d3d
...
...
@@ -183,13 +183,6 @@ int MPIR_Alltoallv_intra(const void *sendbuf, const int *sendcounts, const int *
MPIU_ERR_SET
(
mpi_errno
,
MPI_ERR_OTHER
,
"**fail"
);
MPIU_ERR_ADD
(
mpi_errno_ret
,
mpi_errno
);
}
#ifdef HAVE_DEBUGGER_SUPPORT
{
MPID_Request
*
request_ptr
;
MPID_Request_get_ptr
(
reqarray
[
req_cnt
],
request_ptr
);
MPIR_SENDQ_REMEMBER
(
request_ptr
,
dst
,
MPIR_ALLTOALLV_TAG
,
comm_ptr
->
context_id
);
}
#endif
req_cnt
++
;
}
}
...
...
src/mpi/coll/alltoallw.c
View file @
b9531d3d
...
...
@@ -158,13 +158,7 @@ int MPIR_Alltoallw_intra(const void *sendbuf, const int sendcounts[], const int
MPIR_ALLTOALLW_TAG
,
comm
,
&
reqarray
[
outstanding_requests
],
errflag
);
if
(
mpi_errno
)
{
MPIU_ERR_POP
(
mpi_errno
);
}
#ifdef HAVE_DEBUGGER_SUPPORT
{
MPID_Request
*
request_ptr
;
MPID_Request_get_ptr
(
reqarray
[
outstanding_requests
],
request_ptr
);
MPIR_SENDQ_REMEMBER
(
request_ptr
,
dst
,
MPIR_ALLTOALLW_TAG
,
comm_ptr
->
context_id
);
}
#endif
outstanding_requests
++
;
}
}
...
...
src/mpi/coll/scatterv.c
View file @
b9531d3d
...
...
@@ -101,16 +101,8 @@ int MPIR_Scatterv(const void *sendbuf, const int *sendcounts, const int *displs,
else
{
mpi_errno
=
MPIC_Isend
(((
char
*
)
sendbuf
+
displs
[
i
]
*
extent
),
sendcounts
[
i
],
sendtype
,
i
,
MPIR_SCATTERV_TAG
,
comm
,
&
reqarray
[
reqs
],
errflag
);
MPIR_SCATTERV_TAG
,
comm
,
&
reqarray
[
reqs
++
],
errflag
);
if
(
mpi_errno
)
MPIU_ERR_POP
(
mpi_errno
);
#ifdef HAVE_DEBUGGER_SUPPORT
{
MPID_Request
*
request_ptr
;
MPID_Request_get_ptr
(
reqarray
[
reqs
],
request_ptr
);
MPIR_SENDQ_REMEMBER
(
request_ptr
,
i
,
MPIR_SCATTERV_TAG
,
comm_ptr
->
context_id
);
}
#endif
++
reqs
;
}
}
}
...
...
src/mpi/pt2pt/bsend.c
View file @
b9531d3d
...
...
@@ -165,7 +165,6 @@ int MPI_Bsend(const void *buf, int count, MPI_Datatype datatype, int dest, int t
/* Note that we can ignore the request_ptr because it is handled internally
by the bsend util routines */
if
(
mpi_errno
!=
MPI_SUCCESS
)
goto
fn_fail
;
MPIR_SENDQ_REMEMBER
(
request_ptr
,
dest
,
tag
,
comm_ptr
->
context_id
);
/* ... end of body of routine ... */
...
...
src/mpi/pt2pt/ibsend.c
View file @
b9531d3d
...
...
@@ -105,7 +105,6 @@ int MPIR_Ibsend_impl(const void *buf, int count, MPI_Datatype datatype, int dest
mpi_errno
=
MPIR_Bsend_isend
(
buf
,
count
,
datatype
,
dest
,
tag
,
comm_ptr
,
IBSEND
,
&
request_ptr
);
if
(
mpi_errno
!=
MPI_SUCCESS
)
goto
fn_fail
;
MPIR_SENDQ_REMEMBER
(
request_ptr
,
dest
,
tag
,
comm_ptr
->
context_id
);
/* FIXME: use the memory management macros */
ibinfo
=
(
ibsend_req_info
*
)
MPIU_Malloc
(
sizeof
(
ibsend_req_info
)
);
...
...
src/mpi/topo/dist_gr_create.c
View file @
b9531d3d
...
...
@@ -271,29 +271,13 @@ int MPI_Dist_graph_create(MPI_Comm comm_old, int n, const int sources[],
for
(
i
=
0
;
i
<
comm_size
;
++
i
)
{
if
(
rin_sizes
[
i
])
{
/* send edges where i is a destination to process i */
mpi_errno
=
MPIC_Isend
(
&
rin
[
i
][
0
],
rin_sizes
[
i
],
MPI_INT
,
i
,
MPIR_TOPO_A_TAG
,
comm_old
,
&
reqs
[
idx
],
&
errflag
);
mpi_errno
=
MPIC_Isend
(
&
rin
[
i
][
0
],
rin_sizes
[
i
],
MPI_INT
,
i
,
MPIR_TOPO_A_TAG
,
comm_old
,
&
reqs
[
idx
++
],
&
errflag
);
if
(
mpi_errno
)
MPIU_ERR_POP
(
mpi_errno
);
#ifdef HAVE_DEBUGGER_SUPPORT
{
MPID_Request
*
request_ptr
;
MPID_Request_get_ptr
(
reqs
[
idx
],
request_ptr
);
MPIR_SENDQ_REMEMBER
(
request_ptr
,
i
,
MPIR_TOPO_A_TAG
,
comm_ptr
->
context_id
);
}
#endif
++
idx
;
}
if
(
rout_sizes
[
i
])
{
/* send edges where i is a source to process i */
mpi_errno
=
MPIC_Isend
(
&
rout
[
i
][
0
],
rout_sizes
[
i
],
MPI_INT
,
i
,
MPIR_TOPO_B_TAG
,
comm_old
,
&
reqs
[
idx
],
&
errflag
);
mpi_errno
=
MPIC_Isend
(
&
rout
[
i
][
0
],
rout_sizes
[
i
],
MPI_INT
,
i
,
MPIR_TOPO_B_TAG
,
comm_old
,
&
reqs
[
idx
++
],
&
errflag
);
if
(
mpi_errno
)
MPIU_ERR_POP
(
mpi_errno
);
#ifdef HAVE_DEBUGGER_SUPPORT
{
MPID_Request
*
request_ptr
;
MPID_Request_get_ptr
(
reqs
[
idx
],
request_ptr
);
MPIR_SENDQ_REMEMBER
(
request_ptr
,
i
,
MPIR_TOPO_B_TAG
,
comm_ptr
->
context_id
);
}
#endif
++
idx
;
}
}
MPIU_Assert
(
idx
<=
(
2
*
comm_size
));
...
...
src/mpid/ch3/src/ch3u_rma_sync.c
View file @
b9531d3d
...
...
@@ -1388,7 +1388,6 @@ int MPIDI_Win_post(MPID_Group *post_grp_ptr, int assert, MPID_Win *win_ptr)
mpi_errno
=
MPID_Isend
(
&
i
,
0
,
MPI_INT
,
dst
,
SYNC_POST_TAG
,
win_comm_ptr
,
MPID_CONTEXT_INTRA_PT2PT
,
&
req_ptr
);
if
(
mpi_errno
)
MPIU_ERR_POP
(
mpi_errno
);
MPIR_SENDQ_REMEMBER
(
req_ptr
,
dst
,
SYNC_POST_TAG
,
win_comm_ptr
->
context_id
);
req
[
i
]
=
req_ptr
->
handle
;
}
else
{
req
[
i
]
=
MPI_REQUEST_NULL
;
...
...
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