Skip to content

Commit

Permalink
Removing printouts
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Pekurovsky committed May 13, 2021
1 parent 6191ddf commit 4614f15
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions sample/C++/test1D_cos.C
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,9 @@ using namespace p3dfft;

Nglob = gdims[0]*gdims[1]*gdims[2];

if(myid == 0)
printf("Results of forward transform: \n");
print_res(OUT,gdims,sdims2,glob_start2,dim);
// if(myid == 0)
// printf("Results of forward transform: \n");
//print_res(OUT,gdims,sdims2,glob_start2,dim);
normalize(OUT,sdims2[0]*sdims2[1]*sdims2[2],gdims,dim);
check_res_forward(OUT,sdims2,ar_dim2,glob_start2,myid);

Expand Down
6 changes: 3 additions & 3 deletions sample/C++/test1D_sin.C
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,9 @@ using namespace p3dfft;

Nglob = gdims[0]*gdims[1]*gdims[2];

if(myid == 0)
printf("Results of forward transform: \n");
print_res(OUT,gdims,sdims2,glob_start2,dim);
// if(myid == 0)
// printf("Results of forward transform: \n");
//print_res(OUT,gdims,sdims2,glob_start2,dim);
normalize(OUT,sdims2[0]*sdims2[1]*sdims2[2],gdims,dim);
check_res_forward(OUT,sdims2,ar_dim2,glob_start2,myid);

Expand Down
8 changes: 4 additions & 4 deletions sample/FORTRAN/test1D_r2c.f90
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,10 @@ program fft1d

! Start the timing loop

if(proc_id .eq. 0) then
print *,'Result of forward transform:'
endif
call print_all(AEND,mydims2,glob_start2,mem_order2,ar_dim2)
! if(proc_id .eq. 0) then
! print *,'Result of forward transform:'
! endif
! call print_all(AEND,mydims2,glob_start2,mem_order2,ar_dim2)
! normalize
call mult_array(AEND, Ntot,factor)

Expand Down

0 comments on commit 4614f15

Please sign in to comment.