Skip to content

Commit

Permalink
Modify iprint and print options
Browse files Browse the repository at this point in the history
  • Loading branch information
ishimura committed Aug 12, 2021
1 parent 5cef77b commit 73f6eaf
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 19 deletions.
1 change: 0 additions & 1 deletion doc/User_manual
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,6 @@
in every opt cycle

iprint controls output format.
Keyword "output" overrides "iprint" if both are set.
= 1 Minimum output without MO coefficients
= 2 Compact output with MO coefficients of HOMO-9 to LUMO+9
= 3 Normal output with MO coefficients of HOMO-9 to LUMO+9 (default)
Expand Down
37 changes: 20 additions & 17 deletions src/main.F90
Original file line number Diff line number Diff line change
Expand Up @@ -327,23 +327,26 @@ subroutine setdefault(datajob,datacomp)
call iabort(datacomp)
end select
!
select case(datajob%print)
case('MINIMUM')
datajob%iprint= 1
case('COMPACT')
datajob%iprint= 2
case('NORMAL')
datajob%iprint= 3
case('FULLMO')
datajob%iprint= 4
case('VERBOSE')
datajob%iprint= 5
case('')
case default
if(datacomp%master) write(datacomp%iout,'(" Error! This program does not support print= ", &
& a16,".")') datajob%print
call iabort(datacomp)
end select
if(datajob%iprint == 0) then
select case(datajob%print)
case('MINIMUM')
datajob%iprint= 1
case('COMPACT')
datajob%iprint= 2
case('NORMAL')
datajob%iprint= 3
case('FULLMO')
datajob%iprint= 4
case('VERBOSE')
datajob%iprint= 5
case('')
datajob%iprint= 3
case default
if(datacomp%master) write(datacomp%iout,'(" Error! This program does not support print= ", &
& a16,".")') datajob%print
call iabort(datacomp)
end select
endif
!
return
end
Expand Down
2 changes: 1 addition & 1 deletion src/module.F90
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ module modtype
! extrap : Pople extrapolation of Fock matrix
! cartesian : Type of coordinate system (True: Cartesian, False: redundant coordinate)
type typejob
integer :: iprint=3
integer :: iprint=0
integer :: maxiter=150, maxdiis=20, maxsoscf=20, maxqc=15, maxqcdiag=100, maxqcdiagsub=10
integer :: idftex=0, idftcor=0, nrad=0, nleb=0
integer :: ncore=-1, nvfz=0, maxmp2diis=20, maxmp2iter=100
Expand Down

0 comments on commit 73f6eaf

Please sign in to comment.