m_io_backend Module

is not available

interface. It is used when no real I/O backend (e.g. ADIOS2) is enabled at compile time.

The primary purpose of this dummy backend is to allow the full program to compile and link against the session interface (m_io_session) without requiring a functional I/O library.

Warning

This is a non-functional stub. Calling any of its I/O procedures will immediately terminate the program with an error message.

Note

If you require file I/O, you must recompile the code with a functional backend


Uses

  • module~~m_io_backend~~UsesGraph module~m_io_backend m_io_backend module~m_base_backend m_base_backend module~m_io_backend->module~m_base_backend module~m_common m_common module~m_io_backend->module~m_common module~m_field m_field module~m_io_backend->module~m_field module~m_io_base m_io_base module~m_io_backend->module~m_io_base module~m_logger m_logger module~m_io_backend->module~m_logger module~m_base_backend->module~m_common module~m_base_backend->module~m_field module~m_base_backend->module~m_logger iso_c_binding iso_c_binding module~m_base_backend->iso_c_binding m_mpi m_mpi module~m_base_backend->m_mpi module~m_allocator m_allocator module~m_base_backend->module~m_allocator module~m_mesh m_mesh module~m_base_backend->module~m_mesh module~m_poisson_fft m_poisson_fft module~m_base_backend->module~m_poisson_fft module~m_tdsops m_tdsops module~m_base_backend->module~m_tdsops module~m_common->module~m_logger module~m_common->m_mpi module~m_field->module~m_common module~m_field->iso_c_binding module~m_io_base->module~m_base_backend module~m_io_base->module~m_common module~m_io_base->module~m_field iso_fortran_env iso_fortran_env module~m_logger->iso_fortran_env module~m_logger->m_mpi module~m_allocator->module~m_common module~m_allocator->module~m_field module~m_mesh->module~m_common module~m_mesh->module~m_field module~m_mesh->module~m_logger module~m_mesh->m_mpi module~m_mesh_content m_mesh_content module~m_mesh->module~m_mesh_content module~m_poisson_fft->module~m_common module~m_poisson_fft->module~m_field module~m_poisson_fft->module~m_logger module~m_poisson_fft->module~m_mesh module~m_poisson_fft->module~m_tdsops module~m_tdsops->module~m_common module~m_tdsops->module~m_logger module~m_mesh_content->module~m_common module~m_mesh_content->module~m_logger

Variables

Type Visibility Attributes Name Initial
integer, public, parameter :: IO_BACKEND_DUMMY = 0
integer, public, parameter :: IO_BACKEND_ADIOS2 = 1

Functions

public function get_default_backend() result(backend)

Arguments

None

Return Value integer

public function count_steps_up_to(filename, variable_name, limit, comm) result(n)

No file can be read without ADIOS2, so there are no steps to keep

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename
character(len=*), intent(in) :: variable_name
real(kind=dp), intent(in) :: limit
integer, intent(in) :: comm

Return Value integer

public function read_string_attribute(filename, attribute_name, comm) result(value)

No file can be read without ADIOS2, so there is no attribute

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename
character(len=*), intent(in) :: attribute_name
integer, intent(in) :: comm

Return Value character(len=:), allocatable


Subroutines

public subroutine allocate_io_reader(reader)

Arguments

Type IntentOptional Attributes Name
class(io_reader_t), intent(out), allocatable :: reader

public subroutine allocate_io_writer(writer)

Arguments

Type IntentOptional Attributes Name
class(io_writer_t), intent(out), allocatable :: writer