load_mm Interface

public interface load_mm

Load a matrix from a Matrix Market file (Specification)


Subroutines

private module subroutine load_mm_coo_cdp(filename, index, data, iostat, iomsg)

Arguments

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

Name of the Matrix Market file to load from

integer, intent(out), allocatable :: index(:,:)

Matrix indices to be read from the Matrix Market file

complex(kind=dp), intent(out), allocatable :: data(:)

Matrix data to be read from the Matrix Market file

integer, intent(out), optional :: iostat

Error status of loading, zero on success

character(len=:), intent(out), optional, allocatable :: iomsg

Associated error message in case of non-zero status code

private module subroutine load_mm_coo_csp(filename, index, data, iostat, iomsg)

Arguments

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

Name of the Matrix Market file to load from

integer, intent(out), allocatable :: index(:,:)

Matrix indices to be read from the Matrix Market file

complex(kind=sp), intent(out), allocatable :: data(:)

Matrix data to be read from the Matrix Market file

integer, intent(out), optional :: iostat

Error status of loading, zero on success

character(len=:), intent(out), optional, allocatable :: iomsg

Associated error message in case of non-zero status code

private module subroutine load_mm_coo_dp(filename, index, data, iostat, iomsg)

Arguments

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

Name of the Matrix Market file to load from

integer, intent(out), allocatable :: index(:,:)

Matrix indices to be read from the Matrix Market file

real(kind=dp), intent(out), allocatable :: data(:)

Matrix data to be read from the Matrix Market file

integer, intent(out), optional :: iostat

Error status of loading, zero on success

character(len=:), intent(out), optional, allocatable :: iomsg

Associated error message in case of non-zero status code

private module subroutine load_mm_coo_int16(filename, index, data, iostat, iomsg)

Arguments

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

Name of the Matrix Market file to load from

integer, intent(out), allocatable :: index(:,:)

Matrix indices to be read from the Matrix Market file

integer(kind=int16), intent(out), allocatable :: data(:)

Matrix data to be read from the Matrix Market file

integer, intent(out), optional :: iostat

Error status of loading, zero on success

character(len=:), intent(out), optional, allocatable :: iomsg

Associated error message in case of non-zero status code

private module subroutine load_mm_coo_int32(filename, index, data, iostat, iomsg)

Arguments

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

Name of the Matrix Market file to load from

integer, intent(out), allocatable :: index(:,:)

Matrix indices to be read from the Matrix Market file

integer(kind=int32), intent(out), allocatable :: data(:)

Matrix data to be read from the Matrix Market file

integer, intent(out), optional :: iostat

Error status of loading, zero on success

character(len=:), intent(out), optional, allocatable :: iomsg

Associated error message in case of non-zero status code

private module subroutine load_mm_coo_int64(filename, index, data, iostat, iomsg)

Arguments

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

Name of the Matrix Market file to load from

integer, intent(out), allocatable :: index(:,:)

Matrix indices to be read from the Matrix Market file

integer(kind=int64), intent(out), allocatable :: data(:)

Matrix data to be read from the Matrix Market file

integer, intent(out), optional :: iostat

Error status of loading, zero on success

character(len=:), intent(out), optional, allocatable :: iomsg

Associated error message in case of non-zero status code

private module subroutine load_mm_coo_int8(filename, index, data, iostat, iomsg)

Arguments

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

Name of the Matrix Market file to load from

integer, intent(out), allocatable :: index(:,:)

Matrix indices to be read from the Matrix Market file

integer(kind=int8), intent(out), allocatable :: data(:)

Matrix data to be read from the Matrix Market file

integer, intent(out), optional :: iostat

Error status of loading, zero on success

character(len=:), intent(out), optional, allocatable :: iomsg

Associated error message in case of non-zero status code

private module subroutine load_mm_coo_sp(filename, index, data, iostat, iomsg)

Arguments

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

Name of the Matrix Market file to load from

integer, intent(out), allocatable :: index(:,:)

Matrix indices to be read from the Matrix Market file

real(kind=sp), intent(out), allocatable :: data(:)

Matrix data to be read from the Matrix Market file

integer, intent(out), optional :: iostat

Error status of loading, zero on success

character(len=:), intent(out), optional, allocatable :: iomsg

Associated error message in case of non-zero status code

private module subroutine load_mm_dense_cdp(filename, matrix, iostat, iomsg)

Arguments

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

Name of the Matrix Market file to load from

complex(kind=dp), intent(out), allocatable :: matrix(:,:)

Matrix to be loaded from the Matrix Market file

integer, intent(out), optional :: iostat

Error status of loading, zero on success

character(len=:), intent(out), optional, allocatable :: iomsg

Associated error message in case of non-zero status code

private module subroutine load_mm_dense_csp(filename, matrix, iostat, iomsg)

Arguments

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

Name of the Matrix Market file to load from

complex(kind=sp), intent(out), allocatable :: matrix(:,:)

Matrix to be loaded from the Matrix Market file

integer, intent(out), optional :: iostat

Error status of loading, zero on success

character(len=:), intent(out), optional, allocatable :: iomsg

Associated error message in case of non-zero status code

private module subroutine load_mm_dense_dp(filename, matrix, iostat, iomsg)

Arguments

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

Name of the Matrix Market file to load from

real(kind=dp), intent(out), allocatable :: matrix(:,:)

Matrix to be loaded from the Matrix Market file

integer, intent(out), optional :: iostat

Error status of loading, zero on success

character(len=:), intent(out), optional, allocatable :: iomsg

Associated error message in case of non-zero status code

private module subroutine load_mm_dense_int16(filename, matrix, iostat, iomsg)

Arguments

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

Name of the Matrix Market file to load from

integer(kind=int16), intent(out), allocatable :: matrix(:,:)

Matrix to be loaded from the Matrix Market file

integer, intent(out), optional :: iostat

Error status of loading, zero on success

character(len=:), intent(out), optional, allocatable :: iomsg

Associated error message in case of non-zero status code

private module subroutine load_mm_dense_int32(filename, matrix, iostat, iomsg)

Arguments

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

Name of the Matrix Market file to load from

integer(kind=int32), intent(out), allocatable :: matrix(:,:)

Matrix to be loaded from the Matrix Market file

integer, intent(out), optional :: iostat

Error status of loading, zero on success

character(len=:), intent(out), optional, allocatable :: iomsg

Associated error message in case of non-zero status code

private module subroutine load_mm_dense_int64(filename, matrix, iostat, iomsg)

Arguments

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

Name of the Matrix Market file to load from

integer(kind=int64), intent(out), allocatable :: matrix(:,:)

Matrix to be loaded from the Matrix Market file

integer, intent(out), optional :: iostat

Error status of loading, zero on success

character(len=:), intent(out), optional, allocatable :: iomsg

Associated error message in case of non-zero status code

private module subroutine load_mm_dense_int8(filename, matrix, iostat, iomsg)

Arguments

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

Name of the Matrix Market file to load from

integer(kind=int8), intent(out), allocatable :: matrix(:,:)

Matrix to be loaded from the Matrix Market file

integer, intent(out), optional :: iostat

Error status of loading, zero on success

character(len=:), intent(out), optional, allocatable :: iomsg

Associated error message in case of non-zero status code

private module subroutine load_mm_dense_sp(filename, matrix, iostat, iomsg)

Arguments

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

Name of the Matrix Market file to load from

real(kind=sp), intent(out), allocatable :: matrix(:,:)

Matrix to be loaded from the Matrix Market file

integer, intent(out), optional :: iostat

Error status of loading, zero on success

character(len=:), intent(out), optional, allocatable :: iomsg

Associated error message in case of non-zero status code