profile_config_t Derived Type

type, public :: profile_config_t

Configuration meta data for a profile


Contents

Source Code


Components

Type Visibility Attributes Name Initial
character(len=:), public, allocatable :: c_flags

C compiler flags

character(len=:), public, allocatable :: compiler

Name of the compiler

character(len=:), public, allocatable :: cxx_flags

C++ compiler flags

type(file_scope_flag), public, allocatable :: file_scope_flags(:)

File scope flags

character(len=:), public, allocatable :: flags

Fortran compiler flags

logical, public :: is_built_in

Is this profile one of the built-in ones?

character(len=:), public, allocatable :: link_time_flags

Link time compiler flags

integer, public :: os_type

Value repesenting OS

character(len=:), public, allocatable :: profile_name

Name of the profile


Type-Bound Procedures

procedure, public, :: info

Print information on this instance

  • public subroutine info(self, unit, verbosity)

    Write information on instance

    Arguments

    Type IntentOptional Attributes Name
    class(profile_config_t), intent(in) :: self

    Instance of the profile configuration

    integer, intent(in) :: unit

    Unit for IO

    integer, intent(in), optional :: verbosity

    Verbosity of the printout

Source Code

    type :: profile_config_t
      !> Name of the profile
      character(len=:), allocatable :: profile_name

      !> Name of the compiler
      character(len=:), allocatable :: compiler

      !> Value repesenting OS
      integer :: os_type

      !> Fortran compiler flags
      character(len=:), allocatable :: flags

      !> C compiler flags
      character(len=:), allocatable :: c_flags

      !> C++ compiler flags
      character(len=:), allocatable :: cxx_flags

      !> Link time compiler flags
      character(len=:), allocatable :: link_time_flags

      !> File scope flags
      type(file_scope_flag), allocatable :: file_scope_flags(:)

      !> Is this profile one of the built-in ones?
      logical :: is_built_in

      contains

        !> Print information on this instance
        procedure :: info

    end type profile_config_t