m_errors Module

module~~m_errors~~UsesGraph module~m_errors m_errors module~variablekind variableKind module~variablekind->module~m_errors iso_fortran_env iso_fortran_env iso_fortran_env->module~m_errors iso_fortran_env->module~variablekind
Help

Module contains error handling procedures

Used By

module~~m_errors~~UsedByGraph module~m_errors m_errors module~m_array1d m_array1D module~m_errors->module~m_array1d module~m_strings m_strings module~m_errors->module~m_strings module~m_unittester m_unitTester module~m_errors->module~m_unittester module~ddynamicarray_class dDynamicArray_Class module~m_errors->module~ddynamicarray_class module~m_maths m_maths module~m_errors->module~m_maths module~m_writeline m_writeline module~m_errors->module~m_writeline module~idynamicarray_class iDynamicArray_Class module~m_errors->module~idynamicarray_class module~prng_class Prng_Class module~m_errors->module~prng_class module~m_copy m_copy module~m_errors->module~m_copy module~m_random m_random module~m_errors->module~m_random module~rargdynamicarray_class rArgDynamicArray_Class module~m_errors->module~rargdynamicarray_class module~m_fileio m_fileIO module~m_errors->module~m_fileio module~iddynamicarray_class idDynamicArray_Class module~m_errors->module~iddynamicarray_class module~m_deallocate m_deallocate module~m_errors->module~m_deallocate program~scaletest_coretran scaleTest_coretran module~m_errors->program~scaletest_coretran module~dargdynamicarray_class dArgDynamicArray_Class module~m_errors->module~dargdynamicarray_class module~iargdynamicarray_class iArgDynamicArray_Class module~m_errors->module~iargdynamicarray_class module~m_tests m_tests module~m_errors->module~m_tests module~rdynamicarray_class rDynamicArray_Class module~m_errors->module~rdynamicarray_class module~m_kdtree m_KdTree module~m_errors->module~m_kdtree module~m_readline m_readline module~m_errors->module~m_readline module~m_allocate m_allocate module~m_errors->module~m_allocate module~m_reallocate m_reallocate module~m_errors->module~m_reallocate module~idargdynamicarray_class idArgDynamicArray_Class module~m_errors->module~idargdynamicarray_class module~m_array1d->module~m_maths module~m_array1d->program~scaletest_coretran module~m_array1d->module~m_tests module~m_array1d->module~m_kdtree module~m_strings->module~m_array1d module~m_strings->module~ddynamicarray_class module~m_strings->module~m_writeline module~m_strings->module~idynamicarray_class module~m_strings->module~prng_class module~m_strings->module~m_random module~m_strings->module~rargdynamicarray_class module~m_strings->module~m_fileio module~m_strings->module~iddynamicarray_class module~m_strings->program~scaletest_coretran module~m_strings->module~dargdynamicarray_class module~m_strings->module~iargdynamicarray_class module~m_strings->module~m_tests module~m_strings->module~rdynamicarray_class module~m_strings->module~m_kdtree module~m_strings->module~m_readline module~m_strings->module~idargdynamicarray_class module~stopwatch_class Stopwatch_Class module~m_strings->module~stopwatch_class module~m_debugging m_debugging module~m_strings->module~m_debugging module~m_unittester->module~m_maths module~m_unittester->module~m_random module~m_unittester->module~m_fileio module~m_unittester->module~m_tests module~m_unittester->module~m_allocate program~test_coretran test_coretran module~m_unittester->program~test_coretran module~ddynamicarray_class->module~dargdynamicarray_class module~ddynamicarray_class->module~m_tests module~m_maths->program~scaletest_coretran module~m_maths->module~m_tests module~m_maths->module~m_kdtree module~m_writeline->module~m_fileio module~m_writeline->program~scaletest_coretran module~m_writeline->module~m_tests module~idynamicarray_class->module~rargdynamicarray_class module~idynamicarray_class->module~dargdynamicarray_class module~idynamicarray_class->module~iargdynamicarray_class module~idynamicarray_class->module~m_tests module~idynamicarray_class->module~m_kdtree module~idynamicarray_class->module~idargdynamicarray_class module~prng_class->module~m_random module~prng_class->module~m_tests module~m_copy->program~scaletest_coretran module~m_copy->module~m_tests module~m_random->module~m_array1d module~m_random->program~scaletest_coretran module~m_random->module~m_tests module~m_random->program~test_coretran module~rargdynamicarray_class->module~m_tests module~m_fileio->program~scaletest_coretran module~m_fileio->module~m_tests module~iddynamicarray_class->module~m_tests module~iddynamicarray_class->module~idargdynamicarray_class module~m_deallocate->module~ddynamicarray_class module~m_deallocate->module~m_maths module~m_deallocate->module~idynamicarray_class module~m_deallocate->module~m_random module~m_deallocate->module~iddynamicarray_class module~m_deallocate->module~m_tests module~m_deallocate->module~rdynamicarray_class module~m_deallocate->module~m_kdtree module~dargdynamicarray_class->module~m_tests module~dargdynamicarray_class->module~m_kdtree module~iargdynamicarray_class->module~m_tests module~m_tests->program~test_coretran module~rdynamicarray_class->module~rargdynamicarray_class module~rdynamicarray_class->module~m_tests module~m_kdtree->program~scaletest_coretran module~m_kdtree->module~m_tests module~m_readline->module~m_fileio module~m_readline->program~scaletest_coretran module~m_allocate->module~m_array1d module~m_allocate->module~ddynamicarray_class module~m_allocate->module~m_maths module~m_allocate->module~idynamicarray_class module~m_allocate->module~prng_class module~m_allocate->module~m_copy module~m_allocate->module~m_random module~m_allocate->module~iddynamicarray_class module~m_allocate->program~scaletest_coretran module~m_allocate->module~m_tests module~m_allocate->module~rdynamicarray_class module~m_allocate->module~m_kdtree module~m_allocate->module~m_reallocate module~m_reallocate->module~ddynamicarray_class module~m_reallocate->module~idynamicarray_class module~m_reallocate->module~iddynamicarray_class module~m_reallocate->program~scaletest_coretran module~m_reallocate->module~m_tests module~m_reallocate->module~rdynamicarray_class module~idargdynamicarray_class->module~m_tests module~stopwatch_class->program~scaletest_coretran module~stopwatch_class->module~m_tests module~progressbar_class ProgressBar_Class module~stopwatch_class->module~progressbar_class module~progressbar_class->program~scaletest_coretran module~progressbar_class->module~m_tests
Help


Variables

TypeVisibility AttributesNameInitial
integer(kind=i32), public, parameter:: IO_OPEN =1

Constant for file open used by fErr

integer(kind=i32), public, parameter:: IO_READ =2

Constant for file read used by fErr

integer(kind=i32), public, parameter:: IO_WRITE =3

Constant for file write used by fErr

integer(kind=i32), public, parameter:: IO_CLOSE =4

Constant for file close used by fErr


Subroutines

public subroutine mErr(istat, aMsg, alloc, iunit)

Checks for successful (de)allocation. Stops the code.

Arguments

Type IntentOptional AttributesName
integer(kind=i32), intent(in) :: istat

results of stat=istat in (de)allocate

character(len=*), intent(in) :: aMsg

Message associated with the (de)allocate

integer(kind=i32), intent(in) :: alloc

1 = allocate, 2 = deallocate

integer(kind=i32), intent(in), optional :: iunit

Optional file id to write the message to

public subroutine msg(aMsg, iunit)

Write a message

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: aMsg

Message to write

integer(kind=i32), intent(in), optional :: iunit

file id to write the message to

public subroutine wMsg(aMsg, iunit)

Write a Warning message

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: aMsg

Message to write

integer(kind=i32), intent(in), optional :: iunit

file id to write the message to

public subroutine eMsg(aMsg, iunit)

Write an Error message. Stops the code

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: aMsg

Message to write

integer(kind=i32), intent(in), optional :: iunit

file id to write the message to

public subroutine fErr(istat, fname, flg, iunit)

Checks for a file error

Arguments

Type IntentOptional AttributesName
integer(kind=i32), intent(in) :: istat

Result of iostat=istat for open,read,write,close

character(len=*), intent(in) :: fname

Name of the file

integer(kind=i32), intent(in) :: flg

IO_OPEN=Open, IO_READ=Read, IO_WRITE=Write, IO_CLOSE=Close

integer(kind=i32), intent(in), optional :: iunit

file id to write the error to