41 interface sll_allocate
42 module procedure sll_allocate_int_1d, sll_allocate_real_1d, &
43 sll_allocate_complex_1d
65 character(len=*),
intent(in) :: descriptor
66 character(len=*),
intent(in) :: file_name
67 integer,
intent(in) :: line_number
68 if (err_code .ne. 0)
then
69 write (*,
'(a, a, i8)') descriptor,
' Triggered in FILE '//file_name// &
70 ', in LINE: ', line_number
71 stop
'ERROR: sll_s_test_error_code(): exiting program'
Implements the error testing function and other related functionalities.
subroutine, public sll_s_test_error_code(err_code, descriptor, file_name, line_number)
Test if there is an error and write it on the screen.