dbcsr_config_type Derived Type

type, private :: dbcsr_config_type


Components

Type Visibility Attributes Name Initial
type(CONF_PAR_MM_DRIVER), public :: MM_DRIVER = CONF_PAR_MM_DRIVER(name="MM_DRIVER", val=mm_default_driver, defval=mm_default_driver)
type(CONF_PAR_INT), public :: MM_STACK_SIZE = CONF_PAR_INT(name="MM_STACK_SIZE", val=mm_stack_default_size, defval=mm_stack_default_size)
type(CONF_PAR_INT), public :: AVG_ELEMENTS_IMAGES = CONF_PAR_INT(name="AVG_ELEMENTS_IMAGES", val=0, defval=0)
type(CONF_PAR_INT), public :: NUM_MULT_IMAGES = CONF_PAR_INT(name="NUM_MULT_IMAGES", val=1, defval=1)
type(CONF_PAR_INT), public :: N_STACKS = CONF_PAR_INT(name="N_STACKS", val=3, defval=3)
type(CONF_PAR_LOGICAL), public :: USE_MPI_RMA = CONF_PAR_LOGICAL(name="USE_MPI_RMA", val=.FALSE., defval=.FALSE.)
type(CONF_PAR_INT), public :: NUM_LAYERS_3D = CONF_PAR_INT(name="NUM_LAYERS_3D", val=1, defval=1)
type(CONF_PAR_LOGICAL), public :: USE_COMM_THREAD = CONF_PAR_LOGICAL(name="USE_COMM_THREAD", val=.TRUE., defval=.TRUE.)
type(CONF_PAR_INT), public :: COMM_THREAD_LOAD = CONF_PAR_INT(name="COMM_THREAD_LOAD", val=100, defval=100)
type(CONF_PAR_LOGICAL), public :: MM_DENSE = CONF_PAR_LOGICAL(name="MM_DENSE", val=mm_dense_default, defval=mm_dense_default)
type(CONF_PAR_INT), public :: MULTREC_LIMIT = CONF_PAR_INT(name="MULTREC_LIMIT", val=512, defval=512)
type(CONF_PAR_LOGICAL), public :: RUN_ON_GPU = CONF_PAR_LOGICAL(name="RUN_ON_GPU", val=.TRUE., defval=.TRUE.)
type(CONF_PAR_INT), public :: ACCDRV_THREAD_BUFFERS = CONF_PAR_INT(name="ACCDRV_THREAD_BUFFERS", val=8, defval=8)
type(CONF_PAR_LOGICAL), public :: ACCDRV_AVOID_AFTER_BUSY = CONF_PAR_LOGICAL(name="ACCDRV_AVOID_AFTER_BUSY", val=.FALSE., defval=.FALSE.)
type(CONF_PAR_INT), public :: ACCDRV_MIN_FLOP_PROCESS = CONF_PAR_INT(name="ACCDRV_MIN_FLOP_PROCESS", val=0, defval=0)
type(CONF_PAR_LOGICAL), public :: ACCDRV_STACK_SORT = CONF_PAR_LOGICAL(name="ACCDRV_STACK_SORT", val=.TRUE., defval=.TRUE.)
type(CONF_PAR_INT), public :: ACCDRV_MIN_FLOP_SORT = CONF_PAR_INT(name="ACCDRV_MIN_FLOP_SORT", val=4000, defval=4000)
type(CONF_PAR_LOGICAL), public :: ACCDRV_DO_INHOMOGENOUS = CONF_PAR_LOGICAL(name="ACCDRV_DO_INHOMOGENOUS", val=.TRUE., defval=.TRUE.)
type(CONF_PAR_INT), public :: ACCDRV_BINNING_NBINS = CONF_PAR_INT(name="ACCDRV_BINNING_NBINS", val=4096, defval=4096)
type(CONF_PAR_INT), public :: ACCDRV_BINNING_BINSIZE = CONF_PAR_INT(name="ACCDRV_BINNING_BINSIZE", val=16, defval=16)
type(CONF_PAR_LOGICAL), public :: USE_MEMPOOLS_CPU = CONF_PAR_LOGICAL(name="USE_MEMPOOLS_CPU", val=.FALSE., defval=.FALSE.)
type(CONF_PAR_LOGICAL), public :: USE_MPI_ALLOCATOR = CONF_PAR_LOGICAL(name="USE_MPI_ALLOCATOR", val=.FALSE., defval=.FALSE.)
type(CONF_PAR_REAL), public :: TAS_SPLIT_FACTOR = CONF_PAR_REAL(name="TAS_SPLIT_FACTOR", val=1.0_real_8, defval=1.0_real_8)

Source Code

   TYPE dbcsr_config_type
      TYPE(CONF_PAR_MM_DRIVER) :: MM_DRIVER = &
                                  CONF_PAR_MM_DRIVER(name="MM_DRIVER", val=mm_default_driver, defval=mm_default_driver)
      TYPE(CONF_PAR_INT) :: MM_STACK_SIZE = &
                            CONF_PAR_INT(name="MM_STACK_SIZE", val=mm_stack_default_size, defval=mm_stack_default_size)
      SET_PARAMETER_DEFAULT(AVG_ELEMENTS_IMAGES, CONF_PAR_INT, 0)
      SET_PARAMETER_DEFAULT(NUM_MULT_IMAGES, CONF_PAR_INT, 1)
      SET_PARAMETER_DEFAULT(N_STACKS, CONF_PAR_INT, 3)
      SET_PARAMETER_DEFAULT(USE_MPI_RMA, CONF_PAR_LOGICAL, .FALSE.)
      SET_PARAMETER_DEFAULT(NUM_LAYERS_3D, CONF_PAR_INT, 1)
      SET_PARAMETER_DEFAULT(USE_COMM_THREAD, CONF_PAR_LOGICAL, .TRUE.)
      SET_PARAMETER_DEFAULT(COMM_THREAD_LOAD, CONF_PAR_INT, 100)
      SET_PARAMETER_DEFAULT(MM_DENSE, CONF_PAR_LOGICAL, mm_dense_default)
      SET_PARAMETER_DEFAULT(MULTREC_LIMIT, CONF_PAR_INT, 512)
      SET_PARAMETER_DEFAULT(RUN_ON_GPU, CONF_PAR_LOGICAL, .TRUE.)
      SET_PARAMETER_DEFAULT(ACCDRV_THREAD_BUFFERS, CONF_PAR_INT, 8)
      TYPE(CONF_PAR_LOGICAL) :: ACCDRV_AVOID_AFTER_BUSY = &
                                CONF_PAR_LOGICAL(name="ACCDRV_AVOID_AFTER_BUSY", val=.FALSE., defval=.FALSE.)
      SET_PARAMETER_DEFAULT(ACCDRV_MIN_FLOP_PROCESS, CONF_PAR_INT, 0)
      SET_PARAMETER_DEFAULT(ACCDRV_STACK_SORT, CONF_PAR_LOGICAL, .TRUE.)
      SET_PARAMETER_DEFAULT(ACCDRV_MIN_FLOP_SORT, CONF_PAR_INT, 4000)
      TYPE(CONF_PAR_LOGICAL) :: ACCDRV_DO_INHOMOGENOUS = &
                                CONF_PAR_LOGICAL(name="ACCDRV_DO_INHOMOGENOUS", val=.TRUE., defval=.TRUE.)
      SET_PARAMETER_DEFAULT(ACCDRV_BINNING_NBINS, CONF_PAR_INT, 4096)
      SET_PARAMETER_DEFAULT(ACCDRV_BINNING_BINSIZE, CONF_PAR_INT, 16)
      SET_PARAMETER_DEFAULT(USE_MEMPOOLS_CPU, CONF_PAR_LOGICAL, .FALSE.)
      SET_PARAMETER_DEFAULT(USE_MPI_ALLOCATOR, CONF_PAR_LOGICAL, .FALSE.)
      SET_PARAMETER_DEFAULT(TAS_SPLIT_FACTOR, CONF_PAR_REAL, 1.0_real_8)
#if defined(__DBCSR_ACC_G2G)
      SET_PARAMETER_DEFAULT(USE_ACC_G2G, CONF_PAR_LOGICAL, .TRUE.)
#endif
   END TYPE dbcsr_config_type