1
1

Add / move some judicious #if 0's to avoid oodles of warnings -- the code

in this module isn't ready for prime time yet, anyway

This commit was SVN r355.
Этот коммит содержится в:
Jeff Squyres 2004-01-14 06:31:10 +00:00
родитель c2e843f76b
Коммит 6ca77359d7
4 изменённых файлов: 9 добавлений и 5 удалений

Просмотреть файл

@ -20,6 +20,7 @@
*/
int mca_coll_basic_barrier_lin(MPI_Comm comm)
{
#if 0
int size;
int rank;
int err;
@ -77,6 +78,7 @@ int mca_coll_basic_barrier_lin(MPI_Comm comm)
#endif
}
}
#endif /* 0 */
/* All done */
@ -94,6 +96,7 @@ int mca_coll_basic_barrier_lin(MPI_Comm comm)
int
mca_coll_basic_barrier_log(MPI_Comm comm)
{
#if 0
int size;
int rank;
int peer;
@ -171,6 +174,7 @@ mca_coll_basic_barrier_log(MPI_Comm comm)
#endif
}
}
#endif /* 0 */
/* All done */

Просмотреть файл

@ -24,6 +24,7 @@
int mca_coll_basic_exscan(void *sbuf, void *rbuf, int count,
MPI_Datatype dtype, MPI_Op op, MPI_Comm comm)
{
#if 0
int size;
int rank;
int err;
@ -35,7 +36,6 @@ int mca_coll_basic_exscan(void *sbuf, void *rbuf, int count,
MPI_Comm_rank(comm, &rank);
MPI_Comm_size(comm, &size);
#if 0
/* JMS: Need to replace lots things in this file: lam_dt* stuff with
lam_datatype_*() functions. Also need to replace lots of
MPI_Send/MPI_Recv with negative tags and PML entry points. */
@ -157,12 +157,12 @@ int mca_coll_basic_exscan(void *sbuf, void *rbuf, int count,
return err;
}
}
#endif
if (NULL != gathered_buffer)
LAM_FREE(gathered_buffer);
if (NULL != tmpbuf)
LAM_FREE(tmpbuf);
#endif /* 0 */
/* All done */

Просмотреть файл

@ -22,6 +22,7 @@ int mca_coll_basic_gather(void *sbuf, int scount, MPI_Datatype sdtype,
void *rbuf, int rcount, MPI_Datatype rdtype,
int root, MPI_Comm comm)
{
#if 0
int i;
int err;
int rank;
@ -30,7 +31,6 @@ int mca_coll_basic_gather(void *sbuf, int scount, MPI_Datatype sdtype,
MPI_Aint incr;
MPI_Aint extent;
#if 0
/* JMS: Need to replace lots things in this file: lam_dt* stuff with
lam_datatype_*() functions. Also need to replace lots of
MPI_Send/MPI_Recv with negative tags and PML entry points. */
@ -64,7 +64,7 @@ int mca_coll_basic_gather(void *sbuf, int scount, MPI_Datatype sdtype,
return err;
}
}
#endif
#endif /* 0 */
/* All done */

Просмотреть файл

@ -23,6 +23,7 @@ int mca_coll_basic_gatherv(void *sbuf, int scount, MPI_Datatype sdtype,
MPI_Datatype rdtype, int root,
MPI_Comm comm)
{
#if 0
int i;
int rank;
int size;
@ -30,7 +31,6 @@ int mca_coll_basic_gatherv(void *sbuf, int scount, MPI_Datatype sdtype,
char *ptmp;
MPI_Aint extent;
#if 0
/* JMS: Need to replace lots things in this file: lam_dt* stuff with
lam_datatype_*() functions. Also need to replace lots of
MPI_Send/MPI_Recv with negative tags and PML entry points. */