From cd5d41868f4a9cab5642b6dfd21db62a0f6f1062 Mon Sep 17 00:00:00 2001 From: Steve Plimpton Date: Wed, 9 Nov 2022 09:54:04 -0700 Subject: [PATCH] remove debug statements --- src/KSPACE/msm.cpp | 12 ------------ src/KSPACE/pppm.cpp | 7 ------- src/KSPACE/pppm_dipole.cpp | 7 ------- src/KSPACE/pppm_disp.cpp | 14 -------------- src/grid2d.cpp | 3 --- 5 files changed, 43 deletions(-) diff --git a/src/KSPACE/msm.cpp b/src/KSPACE/msm.cpp index a8643840ec..fbd00ea754 100644 --- a/src/KSPACE/msm.cpp +++ b/src/KSPACE/msm.cpp @@ -612,12 +612,6 @@ void MSM::allocate() memory->create(gcall_buf1,npergrid*ngcall_buf1,"msm:gcall_buf1"); memory->create(gcall_buf2,npergrid*ngcall_buf2,"msm:gcall_buf2"); - printf("MSM ALL me %d IN %d %d: %d %d: %d %d\n",comm->me, - nxlo_in[0],nxhi_in[0],nylo_in[0],nyhi_in[0],nzlo_in[0],nzhi_in[0]); - printf("MSM ALL me %d OUT %d %d: %d %d: %d %d\n",comm->me, - nxlo_out[0],nxhi_out[0],nylo_out[0],nyhi_out[0],nzlo_out[0],nzhi_out[0]); - printf("MSM ALL me %d BUF %d %d\n",comm->me,ngcall_buf1,ngcall_buf2); - // allocate memory for each grid level for (int n = 0; n < levels; n++) { @@ -650,12 +644,6 @@ void MSM::allocate() memory->create(gc_buf1[n],npergrid*ngc_buf1[n],"msm:gc_buf1"); memory->create(gc_buf2[n],npergrid*ngc_buf2[n],"msm:gc_buf2"); - printf("MSM %d me %d IN %d %d: %d %d: %d %d\n",n,comm->me, - nxlo_in[n],nxhi_in[n],nylo_in[n],nyhi_in[n],nzlo_in[n],nzhi_in[n]); - printf("MSM %d me %d OUT %d %d: %d %d: %d %d\n",n,comm->me, - nxlo_out[n],nxhi_out[n],nylo_out[n],nyhi_out[n],nzlo_out[n],nzhi_out[n]); - printf("MSM %d me %d BUF %d %d\n",n,comm->me,ngc_buf1[n],ngc_buf2[n]); - } else { delete gc[n]; memory->destroy(gc_buf1[n]); diff --git a/src/KSPACE/pppm.cpp b/src/KSPACE/pppm.cpp index dadca6c12f..0dc7ac9326 100644 --- a/src/KSPACE/pppm.cpp +++ b/src/KSPACE/pppm.cpp @@ -759,13 +759,6 @@ void PPPM::allocate() gc->setup_comm(ngc_buf1,ngc_buf2); - printf("PPPM GRID me %d IN %d %d: %d %d: %d %d\n",comm->me, - nxlo_in,nxhi_in,nylo_in,nyhi_in,nzlo_in,nzhi_in); - printf("PPPM GRID me %d OUT %d %d: %d %d: %d %d\n",comm->me, - nxlo_out,nxhi_out,nylo_out,nyhi_out,nzlo_out,nzhi_out); - printf("PPPM GRID me %d BUG %d %d\n",comm->me, - ngc_buf1,ngc_buf2); - if (differentiation_flag) npergrid = 1; else npergrid = 3; diff --git a/src/KSPACE/pppm_dipole.cpp b/src/KSPACE/pppm_dipole.cpp index 3139454669..a2cab8c0d7 100644 --- a/src/KSPACE/pppm_dipole.cpp +++ b/src/KSPACE/pppm_dipole.cpp @@ -547,13 +547,6 @@ void PPPMDipole::allocate() gc_dipole->setup_comm(ngc_buf1,ngc_buf2); - printf("PPPM DIPOLE me %d IN %d %d: %d %d: %d %d\n",comm->me, - nxlo_in,nxhi_in,nylo_in,nyhi_in,nzlo_in,nzhi_in); - printf("PPPM DIPOLE me %d OUT %d %d: %d %d: %d %d\n",comm->me, - nxlo_out,nxhi_out,nylo_out,nyhi_out,nzlo_out,nzhi_out); - printf("PPPM DIPOLE me %d BUG %d %d\n",comm->me, - ngc_buf1,ngc_buf2); - npergrid = 9; memory->create(gc_buf1,npergrid*ngc_buf1,"pppm:gc_buf1"); diff --git a/src/KSPACE/pppm_disp.cpp b/src/KSPACE/pppm_disp.cpp index d902263e93..29d4b0a1cc 100644 --- a/src/KSPACE/pppm_disp.cpp +++ b/src/KSPACE/pppm_disp.cpp @@ -1696,13 +1696,6 @@ void _noopt PPPMDisp::allocate() gc->setup_comm(ngc_buf1,ngc_buf2); - printf("PPPM/DISP COUL me %d IN %d %d: %d %d: %d %d\n",comm->me, - nxlo_in,nxhi_in,nylo_in,nyhi_in,nzlo_in,nzhi_in); - printf("PPPM/DISP COUL me %d OUT %d %d: %d %d: %d %d\n",comm->me, - nxlo_out,nxhi_out,nylo_out,nyhi_out,nzlo_out,nzhi_out); - printf("PPPM/DISP COUL me %d BUG %d %d\n",comm->me, - ngc_buf1,ngc_buf2); - if (differentiation_flag) npergrid = 1; else npergrid = 3; @@ -1818,13 +1811,6 @@ void _noopt PPPMDisp::allocate() gc6->setup_comm(ngc6_buf1,ngc6_buf2); - printf("PPPM/DISP LJ me %d IN %d %d: %d %d: %d %d\n",comm->me, - nxlo_in_6,nxhi_in_6,nylo_in_6,nyhi_in_6,nzlo_in_6,nzhi_in_6); - printf("PPPM/DISP LJ me %d OUT %d %d: %d %d: %d %d\n",comm->me, - nxlo_out_6,nxhi_out_6,nylo_out_6,nyhi_out_6,nzlo_out_6,nzhi_out_6); - printf("PPPM/DISP LJ me %d BUG %d %d\n",comm->me, - ngc6_buf1,ngc6_buf2); - if (function[1]) { if (differentiation_flag) npergrid6 = 1; else npergrid6 = 3; diff --git a/src/grid2d.cpp b/src/grid2d.cpp index 79449eb525..2820d4de1a 100644 --- a/src/grid2d.cpp +++ b/src/grid2d.cpp @@ -1694,9 +1694,6 @@ int Grid2d::compute_overlap(int ghostflag, int *box, int *pbc, Overlap *&overlap partition_tiled(overlap_list[m].proc,0,nprocs-1,obox); - if (me == 1) printf("OBOX: proc %d obox %d %d: %d %d\n", - overlap_list[m].proc,obox[0],obox[1],obox[2],obox[3]); - overlap_list[m].box[0] = MAX(box[0],obox[0]); overlap_list[m].box[1] = MIN(box[1],obox[1]); overlap_list[m].box[2] = MAX(box[2],obox[2]);