-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlog_information.f90
More file actions
42 lines (36 loc) · 1.57 KB
/
log_information.f90
File metadata and controls
42 lines (36 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
!
! -----------------------------------------------------------------
! log information file
! -----------------------------------------------------------------
!
subroutine log_information()
use global
implicit none
character(LEN=50) :: exe_name,in_name,out_name
logical :: alive
!
! initial the input_channel_file
!
call getarg(0,exe_name)
call getarg(1,in_name)
inquire(file=in_name(1:len_trim(in_name)),exist=alive)
! check if the input file is exist or not
if(.not.alive) then
write(*,*) trim(in_name), ' is absent'
stop 'check the subroutine openfile'
endif
open(unit=in_channel,file=in_name(1:len_trim(in_name)),status='old')
!
! write the log into the output_file
!
write(*,*) '#########################################################################'
write(*,*) "# ------3d-td-ras-scf-calculation for atomic and molecular systems------#"
write(*,*) '# #'
write(*,*) "#------basis set: spherical coordiante fe-dvr 3d------------------------# "
write(*,*) '#------basis set: prolate speridoial coordinate------------------------ #'
write(*,*) "#-----------------------------------------------------------------------#"
write(*,*) "#---------------All Rights Reserved-------------------------------------#"
write(*,*) '#########################################################################'
write(*,*)
return
end subroutine log_information