Module ppm_module_error

This module provides the error routines.

Defined Types

name description

no types

Defined Module Interfaces

name description

ppm_error

Defined Module Subroutines

name description

no subroutines

Interface ppm_error

Subroutines contained in this interface:

name description

ppm_error

This routine is called whenever an error occurs. It prints the error

Subroutine ppm_error

This routine is called whenever an error occurs. It prints the error message, writes a log entry and terminates the program if the error was fatal.

[Note]Note

Line number is only included in error message if debug level > 0. Warnings and Notices are not printed to stderr (but only to the log file) unless debug level is > 0 or > 1, respectively.

Arguments

name type dimension intent optional description

errno

integer

(IN)

Error number

caller

character

(IN)

Name of calling subroutine

mesg

character

(IN)

Error message

line

integer

(IN)

Line number of error

info

integer

(INOUT)

On entry: error severity level.

errno

integer, , (IN)

Error number

caller

character, , (IN)

Name of calling subroutine

mesg

character, , (IN)

Error message

line

integer, , (IN)

Line number of error

info

integer, , (INOUT)

On entry: error severity level.

  • ppm_error_fatal
  • ppm_error_error
  • ppm_error_warning
  • ppm_error_notice

On exit: new error level (maybe different from entry level if this routine had additional errors.)

Used Modules

ppm_module_data, ppm_module_write, ppm_module_log

Defined Module Variables

ppm_err_alloc

integer,

ppm_err_argument

integer,

ppm_err_bad_mesh

integer,

ppm_err_bad_meshop

integer,

ppm_err_bad_schko

integer,

ppm_err_bad_sum

integer,

ppm_err_buffer_empt

integer,

ppm_err_close

integer,

ppm_err_converge

integer,

ppm_err_data_miss

integer,

ppm_err_dealloc

integer,

ppm_err_delete

integer,

ppm_err_div_zero

integer,

ppm_err_few_subs

integer,

ppm_err_file

integer,

ppm_err_index_corr

integer,

ppm_err_io

integer,

ppm_err_io_data

integer,

ppm_err_map_incomp

integer,

ppm_err_mat_singul

integer,

ppm_err_mesg

character array, (1100)

ppm_err_mesh_miss

integer,

ppm_err_mpi_fail

integer,

ppm_err_mpi_term

integer,

ppm_err_multipleinit

integer,

ppm_err_no_data

integer,

ppm_err_no_subs

integer,

ppm_err_no_topo

integer,

ppm_err_no_unit

integer,

ppm_err_node_number

integer,

ppm_err_nofftw

integer,

ppm_err_nofishpack

integer,

ppm_err_nohypre

integer,

ppm_err_nomap

integer,

ppm_err_nomathkeisan

integer,

ppm_err_nometis

integer,

ppm_err_nompi

integer,

ppm_err_notready

integer,

ppm_err_open

integer,

ppm_err_outof_units

integer,

ppm_err_part_lost

integer,

ppm_err_part_range

integer,

ppm_err_part_unass

integer,

ppm_err_ppm_noinit

integer,

ppm_err_read_eor

integer,

ppm_err_rev_time

integer,

ppm_err_rhs_compat

integer,

ppm_err_sqrt_neg

integer,

ppm_err_sub_failed

integer,

ppm_err_subs_incomp

integer,

ppm_err_subs_map

integer,

ppm_err_test_fail

integer,

ppm_err_tol_warn

integer,

ppm_err_topo_missm

integer,

ppm_err_unit_open

integer,

ppm_err_wrong_dim

integer,

ppm_err_wrong_prec

integer,

ppm_err_wrong_type

integer,

Used Modules

has no uses