Skip to content

Commit

Permalink
Add error message for MP2 NPA
Browse files Browse the repository at this point in the history
  • Loading branch information
ishimura committed Aug 8, 2021
1 parent 518b728 commit d29b4df
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/main.F90
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,13 @@ subroutine setdetails(datajob,datamol,databasis,datacomp)
endif
!
select case(datajob%pop)
case('MULLIKEN','NPA','NBO','NONE','')
case('MULLIKEN','NONE','')
case('NPA','NBO')
if(datajob%method == 'MP2') then
write(datacomp%iout,'(" Error! This program does not support MP2 ",a3," calculation.")') &
& datajob%pop
call iabort(datacomp)
endif
case default
write(datacomp%iout,'(" Error! This program does not support pop= ", a16,".")') datajob%pop
call iabort(datacomp)
Expand Down

0 comments on commit d29b4df

Please sign in to comment.