LCOV - code coverage report
Current view: top level - init - compile_descr.F90 (source / functions) Hit Total Coverage
Test: combined.info Lines: 8 8 100.0 %
Date: 2019-09-08 04:53:50 Functions: 2 2 100.0 %

          Line data    Source code
       1             : !--------------------------------------------------------------------------------
       2             : ! Copyright (c) 2016 Peter Grünberg Institut, Forschungszentrum Jülich, Germany
       3             : ! This file is part of FLEUR and available as free software under the conditions
       4             : ! of the MIT license as expressed in the LICENSE file in more detail.
       5             : !--------------------------------------------------------------------------------
       6             : 
       7             : MODULE m_compile_descr
       8             : 
       9             :    IMPLICIT NONE
      10             : 
      11             : CONTAINS
      12             : 
      13          38 :    SUBROUTINE get_compile_desc_string(info)
      14             :       USE m_constants
      15             :       IMPLICIT NONE
      16             :       CHARACTER(:),ALLOCATABLE,INTENT(OUT):: info
      17             : 
      18          76 :       CHARACTER(:), ALLOCATABLE::gitdesc,githash,compile_date,compile_user,compile_host,gitbranch
      19          76 :       CHARACTER(:), ALLOCATABLE::compile_flags,link_flags
      20             : 
      21          38 :       CALL  get_compile_desc(gitdesc,githash,gitbranch,compile_date,compile_user,compile_host,compile_flags,link_flags)
      22             : 
      23             :       info=new_line("a")// &
      24             :             "This is FLEUR version: "//trim(version_const)//new_line("a")// &
      25             :             "FLEUR was compiled:"//new_line("a")// &
      26             :             "   at: "//TRIM(compile_date)//new_line("a")// &
      27             :             "   by: "//TRIM(compile_user)//new_line("a")// &
      28             :             "   on: "//TRIM(compile_host)//new_line("a")// &
      29             :             "Its git version is:"//new_line("a")// &
      30             :             "   described by: "//TRIM(gitdesc)//new_line("a")// &
      31             :             "   from branch:  "//trim(gitbranch)//new_line("a")// &
      32             :             "   with hash:    "//TRIM(githash)//new_LINE("a")//&
      33             :             "Compiler info:"//new_LINE("a")// &
      34             :             "   flags     :  "//TRIM(compile_flags)//new_LINE("a")//&
      35          38 :             "   link flags:  "//TRIM(link_flags)
      36             : 
      37          38 :    end SUBROUTINE get_compile_desc_string
      38             : 
      39          76 :    SUBROUTINE get_compile_desc(gitdesc,githash,gitbranch,compile_date,compile_user,compile_host,compile_flags,link_flags)
      40             :       IMPLICIT NONE
      41             :       CHARACTER(:),ALLOCATABLE::gitdesc,githash,compile_date,compile_user,compile_host,gitbranch,compile_flags,link_flags
      42             : 
      43             : !This file is created by cmake at time of configuration
      44             : #include "compileinfo.h"
      45             : 
      46          76 :    END subroutine get_compile_desc
      47             : end MODULE m_compile_descr
      48             : 

Generated by: LCOV version 1.13