MAPL_MemUtilsMod Module

MODULE: MAPL_MemUtilsMod

Author: GMAO SI-Team

MAPL_MemUtilsMod – A Module to query/print memory use per processor (Adapted by WMP from FMS memuse utility)


Uses

  • module~~mapl_memutilsmod~~UsesGraph module~mapl_memutilsmod MAPL_MemUtilsMod ESMF ESMF module~mapl_memutilsmod->ESMF iso_fortran_env iso_fortran_env module~mapl_memutilsmod->iso_fortran_env module~mapl_basemod MAPL_BaseMod module~mapl_memutilsmod->module~mapl_basemod module~mapl_commsmod MAPL_CommsMod module~mapl_memutilsmod->module~mapl_commsmod module~mapl_exceptionhandling MAPL_ExceptionHandling module~mapl_memutilsmod->module~mapl_exceptionhandling module~mapl_iomod MAPL_IOMod module~mapl_memutilsmod->module~mapl_iomod module~mapl_shmemmod MAPL_ShmemMod module~mapl_memutilsmod->module~mapl_shmemmod mpi mpi module~mapl_memutilsmod->mpi module~mapl_base MAPL_Base module~mapl_basemod->module~mapl_base module~mapl_constants MAPL_Constants module~mapl_basemod->module~mapl_constants module~mapl_maplgrid mapl_MaplGrid module~mapl_basemod->module~mapl_maplgrid module~mapl_rangemod MAPL_RangeMod module~mapl_basemod->module~mapl_rangemod module~mapl_commsmod->ESMF module~mapl_commsmod->module~mapl_basemod module~mapl_commsmod->module~mapl_exceptionhandling module~mapl_commsmod->module~mapl_shmemmod module~mapl_commsmod->mpi module~mapl_commsmod->module~mapl_constants module~mapl_errorhandlingmod mapl_ErrorHandlingMod module~mapl_exceptionhandling->module~mapl_errorhandlingmod module~mapl_throwmod MAPL_ThrowMod module~mapl_exceptionhandling->module~mapl_throwmod module~biniomod BinIOMod module~mapl_iomod->module~biniomod module~fileiosharedmod FileIOSharedMod module~mapl_iomod->module~fileiosharedmod module~nciomod NCIOMod module~mapl_iomod->module~nciomod module~mapl_shmem MAPL_Shmem module~mapl_shmemmod->module~mapl_shmem module~biniomod->ESMF module~biniomod->iso_fortran_env module~biniomod->module~mapl_basemod module~biniomod->module~mapl_commsmod module~biniomod->module~mapl_exceptionhandling module~biniomod->module~mapl_shmemmod module~biniomod->mpi module~biniomod->module~fileiosharedmod iso_c_binding iso_c_binding module~biniomod->iso_c_binding module~mapl_sortmod MAPL_SortMod module~biniomod->module~mapl_sortmod module~fileiosharedmod->ESMF module~fileiosharedmod->iso_fortran_env module~fileiosharedmod->module~mapl_basemod module~fileiosharedmod->module~mapl_commsmod module~fileiosharedmod->module~mapl_exceptionhandling module~fileiosharedmod->module~mapl_shmemmod module~fileiosharedmod->mpi module~fileiosharedmod->iso_c_binding module~fileiosharedmod->module~mapl_sortmod module~mapl_base->ESMF module~mapl_base->iso_fortran_env module~mapl_constants->iso_fortran_env module~mapl_internalconstantsmod MAPL_InternalConstantsMod module~mapl_constants->module~mapl_internalconstantsmod module~mapl_mathconstantsmod MAPL_MathConstantsMod module~mapl_constants->module~mapl_mathconstantsmod module~mapl_physicalconstantsmod MAPL_PhysicalConstantsMod module~mapl_constants->module~mapl_physicalconstantsmod module~mapl_errorhandling mapl_ErrorHandling module~mapl_errorhandlingmod->module~mapl_errorhandling module~mapl_maplgrid->ESMF module~mapl_maplgrid->module~mapl_errorhandlingmod module~mapl_constantsmod MAPL_ConstantsMod module~mapl_maplgrid->module~mapl_constantsmod module~mapl_keywordenforcermod mapl_KeywordEnforcerMod module~mapl_maplgrid->module~mapl_keywordenforcermod module~pflogger pflogger module~mapl_maplgrid->module~pflogger module~mapl_rangemod->iso_fortran_env module~mapl_rangemod->module~mapl_exceptionhandling module~mapl_shmem->iso_fortran_env module~mapl_shmem->mpi module~mapl_shmem->module~mapl_constants module~mapl_shmem->iso_c_binding module~nciomod->ESMF module~nciomod->iso_fortran_env module~nciomod->module~mapl_basemod module~nciomod->module~mapl_commsmod module~nciomod->module~mapl_exceptionhandling module~nciomod->module~mapl_shmemmod module~nciomod->mpi module~nciomod->module~fileiosharedmod gFTL2_StringIntegerMap gFTL2_StringIntegerMap module~nciomod->gFTL2_StringIntegerMap gFTL2_StringVector gFTL2_StringVector module~nciomod->gFTL2_StringVector module~nciomod->iso_c_binding module~nciomod->module~mapl_sortmod module~pfio pFIO module~nciomod->module~pfio netcdf netcdf module~nciomod->netcdf

Used by

  • module~~mapl_memutilsmod~~UsedByGraph module~mapl_memutilsmod MAPL_MemUtilsMod module~bundletestsupport BundleTestSupport module~bundletestsupport->module~mapl_memutilsmod module~mapl_abstractregriddermod MAPL_AbstractRegridderMod module~mapl_abstractregriddermod->module~mapl_memutilsmod module~mapl_capgridcompmod MAPL_CapGridCompMod module~mapl_capgridcompmod->module~mapl_memutilsmod module~mapl_cfiomod MAPL_CFIOMod module~mapl_cfiomod->module~mapl_memutilsmod module~mapl_genericmod MAPL_GenericMod module~mapl_genericmod->module~mapl_memutilsmod module~mapl_restart_support_mod mapl_restart_support_mod module~mapl_restart_support_mod->module~mapl_memutilsmod module~maplbase_mod MAPLBase_Mod module~maplbase_mod->module~mapl_memutilsmod program~regrid_util Regrid_Util program~regrid_util->module~mapl_memutilsmod

Variables

Type Visibility Attributes Name Initial
integer, public, parameter :: MAPL_MemUtilsModeBase = 0
integer, public, parameter :: MAPL_MemUtilsModeFull = 1
integer, public, parameter :: MAPL_MemUtilsModeNode = 2

Interfaces

public interface MAPL_MemUtilsWrite

  • private subroutine MAPL_MemUtilsWriteVM(vm, text, always, RC)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_VM) :: vm
    character(len=*), intent(in) :: text
    logical, intent(in), optional :: always
    integer, intent(out), optional :: RC
  • private subroutine MAPL_MemUtilsWriteComm(text, Comm, always, RC)

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: text
    integer, optional :: Comm
    logical, intent(in), optional :: always
    integer, intent(out), optional :: RC

Functions

public function MAPL_MemUtilsIsDisabled()

Arguments

None

Return Value logical


Subroutines

public subroutine MAPL_MemCommited(memtotal, committed_as, percent_committed, RC)

Arguments

Type IntentOptional Attributes Name
real, intent(out) :: memtotal
real, intent(out) :: committed_as
real, intent(out) :: percent_committed
integer, intent(out), optional :: RC

public subroutine MAPL_MemReport(comm, file_name, line, decorator, rc)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: comm
character(len=*), intent(in) :: file_name
integer, intent(in) :: line
character(len=*), intent(in), optional :: decorator
integer, intent(out), optional :: rc

public subroutine MAPL_MemUsed(memtotal, used, percent_used, RC)

Arguments

Type IntentOptional Attributes Name
real, intent(out) :: memtotal
real, intent(out) :: used
real, intent(out) :: percent_used
integer, intent(out), optional :: RC

public subroutine MAPL_MemUtilsDisable(RC)

Arguments

Type IntentOptional Attributes Name
integer, intent(out), optional :: RC

public subroutine MAPL_MemUtilsFree(totmemfree, RC)

Arguments

Type IntentOptional Attributes Name
real, intent(out) :: totmemfree
integer, intent(out), optional :: RC

public subroutine MAPL_MemUtilsInit(mode, RC)

Arguments

Type IntentOptional Attributes Name
integer, intent(in), optional :: mode
integer, intent(out), optional :: RC