Skip to content
Snippets Groups Projects
Commit d0035181 authored by Elisa Rebolini's avatar Elisa Rebolini
Browse files

Clean up debug printing

parent d0a0a868
No related branches found
No related tags found
2 merge requests!16Remove the reordering of the vectors when convergence is not reached,!15Possibility to increase the number of vectors to be computed
This commit is part of merge request !15. Comments created here will be created in the context of that merge request.
...@@ -293,6 +293,7 @@ contains ...@@ -293,6 +293,7 @@ contains
write(f_output,'(X,A6,X,A12,X,A12,X,A12,2X,A)') & write(f_output,'(X,A6,X,A12,X,A12,X,A12,2X,A)') &
'#Iter', 'tallCPU (s)', 'tCPU0 (s)', 'tWall0 (s)', "Energies" '#Iter', 'tallCPU (s)', 'tCPU0 (s)', 'tWall0 (s)', "Energies"
write(*,*) '#tCPU (s) : tWall (s) : tCPU/tWall : intkind : DblockI : DblockJ : spin' write(*,*) '#tCPU (s) : tWall (s) : tCPU/tWall : intkind : DblockI : DblockJ : spin'
write(*,*)
#else #else
write(f_output,'(X,A6,X,A12,X,A12,2X,A)') '#Iter', 'tCPU (s)', 'tWall (s)', "Energies" write(f_output,'(X,A6,X,A12,X,A12,2X,A)') '#Iter', 'tCPU (s)', 'tWall (s)', "Energies"
write(667,*) '#tCPU (s) : tWall (s) : tCPU/tWall : intkind : DblockI : DblockJ : spin' write(667,*) '#tCPU (s) : tWall (s) : tCPU/tWall : intkind : DblockI : DblockJ : spin'
...@@ -616,7 +617,7 @@ contains ...@@ -616,7 +617,7 @@ contains
Ener_np1(:) = 0.d0 Ener_np1(:) = 0.d0
!if (.not.debugmat) then !if (.not.debugmat) then
#ifdef VAR_MPI #ifdef VAR_MPI
if ((prog_info%id_cpu.eq.0).and.(prog_info%iprint.gt.0)) then if ((prog_info%id_cpu.eq.0).and.(prog_info%iprint.gt.1)) then
write(*,*) '' write(*,*) ''
write(*,*) '>>>> Compute error' write(*,*) '>>>> Compute error'
write(*,*) '' write(*,*) ''
...@@ -910,7 +911,7 @@ contains ...@@ -910,7 +911,7 @@ contains
#ifdef VAR_MPI #ifdef VAR_MPI
if ((prog_info%id_cpu.eq.0).and.(prog_info%iprint.gt.0)) then if ((prog_info%id_cpu.eq.0).and.(prog_info%iprint.gt.1)) then
write(*,*) '' write(*,*) ''
write(*,*) '>>>> Iteration', iter write(*,*) '>>>> Iteration', iter
write(*,*) '' write(*,*) ''
...@@ -1427,7 +1428,7 @@ contains ...@@ -1427,7 +1428,7 @@ contains
1000 continue 1000 continue
if ((prog_info%id_cpu .eq. 0).and. (prog_info%iprint .ge. 0)) then if ((prog_info%id_cpu .eq. 0).and. (prog_info%iprint .ge. 0)) then
write(*,*) 'Final Sum Wall time on the dfifferent CPUs' write(*,*) 'Final Sum Wall time on the different CPUs'
write(*,*) sum_wall(:) write(*,*) sum_wall(:)
endif endif
......
...@@ -277,7 +277,7 @@ contains ...@@ -277,7 +277,7 @@ contains
cputime(i) = t2-t1 cputime(i) = t2-t1
wtime(i) = wt2-wt1 wtime(i) = wt2-wt1
if (prog_info%iprint.gt.0) then if (prog_info%iprint.gt.1) then
if ((wt2-wt1) .gt. 1d-12) then if ((wt2-wt1) .gt. 1d-12) then
write(*,'(3(F12.4,A),2A,I3,5(A,I3),A,I4,A,I3,A, F12.4)') & write(*,'(3(F12.4,A),2A,I3,5(A,I3),A,I4,A,I3,A, F12.4)') &
...@@ -347,7 +347,7 @@ contains ...@@ -347,7 +347,7 @@ contains
#ifdef VAR_MPI #ifdef VAR_MPI
mem = prog_info%mem_reduction mem = prog_info%mem_reduction
write(*,*) 'mem', mem !write(*,*) 'mem', mem
read_time = 0.d0 read_time = 0.d0
DblockI => det%detblock(indxI)%p DblockI => det%detblock(indxI)%p
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment