MockServerMod Module


Uses

  • module~~mockservermod~~UsesGraph module~mockservermod MockServerMod module~pfio_abstractdatareferencemod pFIO_AbstractDataReferenceMod module~mockservermod->module~pfio_abstractdatareferencemod module~pfio_baseservermod pFIO_BaseServerMod module~mockservermod->module~pfio_baseservermod iso_c_binding iso_c_binding module~pfio_abstractdatareferencemod->iso_c_binding iso_fortran_env iso_fortran_env module~pfio_abstractdatareferencemod->iso_fortran_env module~mapl_exceptionhandling MAPL_ExceptionHandling module~pfio_abstractdatareferencemod->module~mapl_exceptionhandling module~pfio_constantsmod pFIO_ConstantsMod module~pfio_abstractdatareferencemod->module~pfio_constantsmod module~pfio_utilitiesmod pFIO_UtilitiesMod module~pfio_abstractdatareferencemod->module~pfio_utilitiesmod module~pfio_baseservermod->module~pfio_abstractdatareferencemod gFTL_StringInteger64Map gFTL_StringInteger64Map module~pfio_baseservermod->gFTL_StringInteger64Map module~pfio_baseservermod->iso_c_binding module~pfio_baseservermod->iso_fortran_env module~pfio_baseservermod->module~mapl_exceptionhandling module~pfio_abstractdatamessagemod pFIO_AbstractDataMessageMod module~pfio_baseservermod->module~pfio_abstractdatamessagemod module~pfio_abstractmessagemod pFIO_AbstractMessageMod module~pfio_baseservermod->module~pfio_abstractmessagemod module~pfio_abstractservermod pFIO_AbstractServerMod module~pfio_baseservermod->module~pfio_abstractservermod module~pfio_abstractsocketmod pFIO_AbstractSocketMod module~pfio_baseservermod->module~pfio_abstractsocketmod module~pfio_abstractsocketvectormod pFIO_AbstractSocketVectorMod module~pfio_baseservermod->module~pfio_abstractsocketvectormod module~pfio_collectivestagedatamessagemod pFIO_CollectiveStageDataMessageMod module~pfio_baseservermod->module~pfio_collectivestagedatamessagemod module~pfio_baseservermod->module~pfio_constantsmod module~pfio_donemessagemod pFIO_DoneMessageMod module~pfio_baseservermod->module~pfio_donemessagemod module~pfio_dummymessagemod pFIO_DummyMessageMod module~pfio_baseservermod->module~pfio_dummymessagemod module~pfio_messagevectormod pFIO_MessageVectorMod module~pfio_baseservermod->module~pfio_messagevectormod module~pfio_messagevectorutilmod pFIO_MessageVectorUtilMod module~pfio_baseservermod->module~pfio_messagevectorutilmod module~pfio_mpisocketmod pFIO_MpiSocketMod module~pfio_baseservermod->module~pfio_mpisocketmod module~pfio_rdmareferencemod pFIO_RDMAReferenceMod module~pfio_baseservermod->module~pfio_rdmareferencemod module~pfio_serverthreadmod pFIO_ServerThreadMod module~pfio_baseservermod->module~pfio_serverthreadmod module~pfio_serverthreadvectormod pFIO_ServerThreadVectorMod module~pfio_baseservermod->module~pfio_serverthreadvectormod module~pfio_shmemreferencemod pFIO_ShmemReferenceMod module~pfio_baseservermod->module~pfio_shmemreferencemod module~pfio_simplesocketmod pFIO_SimpleSocketMod module~pfio_baseservermod->module~pfio_simplesocketmod module~pfio_baseservermod->module~pfio_utilitiesmod mpi mpi module~pfio_baseservermod->mpi

Used by

  • module~~mockservermod~~UsedByGraph module~mockservermod MockServerMod module~test_directoryservice Test_DirectoryService module~test_directoryservice->module~mockservermod module~test_serverthread Test_ServerThread module~test_serverthread->module~mockservermod

Interfaces

public interface MockServer

  • private function new_MockServer(comm) result(s)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in), optional :: comm

    Return Value type(MockServer)


Derived Types

type, public, extends(BaseServer) ::  MockServer

Components

Type Visibility Attributes Name Initial
character(len=16), public :: port_name
integer, public :: InNode_Comm
integer, public :: InNode_Rank
integer, public :: InNode_npes
integer, public :: NodeRoot_Comm
integer, public :: Node_Num
integer, public :: Node_Rank
integer, public, allocatable :: Node_Ranks(:)
integer, public :: comm
integer, public :: npes
integer, public :: num_clients = 0
integer, public :: rank
integer, public :: status
logical, public :: all_backlog_is_empty = .true.
logical, public, allocatable :: serverthread_done_msgs(:)
logical, public :: terminate
type(AbstractDataReferenceVector), public :: dataRefPtrs
type(ServerThreadVector), public :: threads
type(StringInteger64Map), public :: prefetch_offset
type(StringInteger64Map), public :: stage_offset

Constructor

private function new_MockServer (comm)

Type-Bound Procedures

procedure, public :: I_am_NodeRoot
procedure, public :: I_am_ServerRoot
procedure, public :: add_DataReference
procedure, public :: add_connection
procedure, public :: am_I_reading_PE
procedure, public :: clean_up
procedure, public :: clear_DataReference
procedure, public :: clear_RequestHandle
procedure, public :: create_remote_win
procedure, public :: distribute_task
procedure, public :: get_AllBacklogIsEmpty
procedure, public :: get_DataFromMem
procedure, public :: get_DataReference
procedure, public :: get_communicator
procedure, public :: get_dmessage
procedure, public :: get_status
procedure, public :: get_writing_PE
procedure, public :: init
procedure, public :: put_DataToFile
procedure, public :: receive_output_data
procedure, public :: report_profile
procedure, public :: set_AllBacklogIsEmpty
procedure, public :: set_collective_request
procedure, public :: set_status
procedure, public :: start
procedure, public :: update_status