Skip to content

Commit 61df759

Browse files
committed
removed logging of data
1 parent 2b525cc commit 61df759

File tree

1 file changed

+0
-52
lines changed

1 file changed

+0
-52
lines changed

src/mona-mpi-wrappers.cpp.in

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -753,15 +753,6 @@ _EXTERN_C_ int MPI_Allreduce(const void *sendbuf, void *recvbuf, int count, MPI_
753753
(long)datatype, (long)op, (long)comm);
754754
IS_MONA_COMM(comm);
755755

756-
{
757-
auto sendtypesize = get_datatype_size(datatype);
758-
LOG("sendbuf data:\n");
759-
for(size_t i=0; i < sendtypesize*count; i++) {
760-
LOG("%0X ", ((const char*)sendbuf)[i]);
761-
}
762-
LOG("\n");
763-
}
764-
765756
if(__is_mona_comm) {
766757
LOG("MONA/MPI: Calling MONA wrapper for MPI_Allreduce\n");
767758
_wrap_py_return_val = MONA_MPI_Allreduce(sendbuf, recvbuf, count, datatype, op, comm);
@@ -770,15 +761,6 @@ _EXTERN_C_ int MPI_Allreduce(const void *sendbuf, void *recvbuf, int count, MPI_
770761
LOG("MONA/MPI: Calling MPI wrapper for MPI_Allreduce\n");
771762
_wrap_py_return_val = PMPI_Allreduce(sendbuf, recvbuf, count, datatype, op, comm);
772763
}
773-
{
774-
auto recvtypesize = get_datatype_size(datatype);
775-
LOG("recvbuf data:\n");
776-
for(size_t i=0; i < recvtypesize*count; i++) {
777-
LOG("%0X ", ((const char*)recvbuf)[i]);
778-
}
779-
LOG("\n");
780-
}
781-
782764
return _wrap_py_return_val;
783765
}
784766

@@ -792,15 +774,6 @@ _EXTERN_C_ int MPI_Bcast(void *buffer, int count, MPI_Datatype datatype, int roo
792774
(long)datatype, root, (long)comm);
793775
IS_MONA_COMM(comm);
794776

795-
{
796-
auto sendtypesize = get_datatype_size(datatype);
797-
LOG("sendbuf data:\n");
798-
for(size_t i=0; i < sendtypesize*count; i++) {
799-
LOG("%0X ", ((const char*)buffer)[i]);
800-
}
801-
LOG("\n");
802-
}
803-
804777
if(__is_mona_comm) {
805778
LOG("MONA/MPI: Calling MONA wrapper for MPI_Bcast\n");
806779
_wrap_py_return_val = MONA_MPI_Bcast(buffer, count, datatype, root, comm);
@@ -809,14 +782,6 @@ _EXTERN_C_ int MPI_Bcast(void *buffer, int count, MPI_Datatype datatype, int roo
809782
LOG("MONA/MPI: Calling MPI wrapper for MPI_Bcast\n");
810783
_wrap_py_return_val = PMPI_Bcast(buffer, count, datatype, root, comm);
811784
}
812-
{
813-
auto sendtypesize = get_datatype_size(datatype);
814-
LOG("recvbuf data:\n");
815-
for(size_t i=0; i < sendtypesize*count; i++) {
816-
LOG("%0X ", ((const char*)buffer)[i]);
817-
}
818-
LOG("\n");
819-
}
820785

821786
return _wrap_py_return_val;
822787
}
@@ -832,15 +797,6 @@ _EXTERN_C_ int MPI_Allgather(const void *sendbuf, int sendcount, MPI_Datatype se
832797
sendbuf, sendcount, (long)sendtype, recvbuf, recvcount, (long)recvtype,
833798
(long)comm);
834799

835-
{
836-
auto sendtypesize = get_datatype_size(sendtype);
837-
LOG("sendbuf data:\n");
838-
for(size_t i=0; i < sendtypesize*sendcount; i++) {
839-
LOG("%0X ", ((const char*)sendbuf)[i]);
840-
}
841-
LOG("\n");
842-
}
843-
844800
if(__is_mona_comm) {
845801
LOG("MONA/MPI: Calling MONA wrapper for MPI_Allgather\n");
846802
_wrap_py_return_val = MONA_MPI_Allgather(sendbuf, sendcount, sendtype, recvbuf, recvcount, recvtype, comm);
@@ -849,14 +805,6 @@ _EXTERN_C_ int MPI_Allgather(const void *sendbuf, int sendcount, MPI_Datatype se
849805
LOG("MONA/MPI: Calling MPI wrapper for MPI_Allgather\n");
850806
_wrap_py_return_val = PMPI_Allgather(sendbuf, sendcount, sendtype, recvbuf, recvcount, recvtype, comm);
851807
}
852-
{
853-
auto recvtypesize = get_datatype_size(recvtype);
854-
LOG("recvbuf data:\n");
855-
for(size_t i=0; i < recvtypesize*recvcount; i++) {
856-
LOG("%0X ", ((const char*)recvbuf)[i]);
857-
}
858-
LOG("\n");
859-
}
860808

861809
return _wrap_py_return_val;
862810
}

0 commit comments

Comments
 (0)