-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathversion.f90
40 lines (32 loc) · 1.36 KB
/
version.f90
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
#include "alias.inc"
module version
use time
use mpi_setup
use print_io
contains
function version_tag() result(ver_tag)
implicit none
character(len=132) ver_tag, dummy
write(dummy,*)__VBAUM_VERSION__
ver_tag='# VASP-BAUM version: '//__VBAUM_VERSION__//' (build: ' // __DATE__// ' ' //__TIME__// ') '
return
endfunction
subroutine version_stamp(t_start)
implicit none
real*8 t_start
call write_log(trim( version_tag() ),3,myid)
call write_log(' ',3,myid)
call write_log("#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",3,myid)
call write_log("#! Copyright 2018. Hyun-Jung Kim All rights reserved.!",3,myid)
call write_log("#! (FJZ, h.kim@fz-juelich.de) !",3,myid)
call write_log("#! (KIAS, Infant@kias.re.kr) !",3,myid)
call write_log("#! (angpangmokjang@hanmail.net) !",3,myid)
call write_log("#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",3,myid)
call write_log(' ',3,myid)
call write_log(" -------------------------------------------------------------------------",3,myid)
call timestamp('| Program start on', t_start)
call report_hostname()
call write_log(" -------------------------------------------------------------------------",3,myid)
return
endsubroutine
endmodule