Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/force_terash.F90
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ end subroutine write_wfn
subroutine read_wfn()
use mod_general, only: iknow, it
use mod_files, only: stderr
use mod_chars, only: chknow
use mod_chars, only: CHKNOW
use mod_error, only: fatal_error
use mod_utils, only: archive_file
use mod_sh_integ, only: nstate
Expand All @@ -461,10 +461,9 @@ subroutine read_wfn()

inquire (file=fname, exist=file_exists)
if (.not. file_exists) then
close (uwfn)
write (stderr, *) 'Wavefunction restart file '//trim(fname)//' does not exist!'
if (iknow /= 1) then
write (stderr, *) chknow
write (stderr, *) CHKNOW
call fatal_error(__FILE__, __LINE__, &
& 'missing restart file '//trim(fname))
end if
Expand Down
Loading