NCEPLIBS-bufr  12.0.1
bort.f
Go to the documentation of this file.
1 C> @file
2 C> @brief Log one error message and abort application program.
3 C>
4 C> @author J. Woollen @date 1998-07-08
5 
6 C> Log one error message and abort application program.
7 C>
8 C> This subroutine calls subroutine errwrt() to log an error message,
9 C> then calls subroutine bort_exit() to abort the application program.
10 C>
11 C> It is similar to subroutine bort2(), except that bort2() logs
12 C> two error messages instead of one.
13 C>
14 C> @param[in] STR - character*(*): Error message
15 C>
16 C> @author J. Woollen @date 1998-07-08
17  SUBROUTINE bort(STR)
18 
19  use bufrlib
20 
21  CHARACTER*(*) STR
22 
23  CALL errwrt(' ')
24  CALL errwrt('***********BUFR ARCHIVE LIBRARY ABORT**************')
25  CALL errwrt(str)
26  CALL errwrt('***********BUFR ARCHIVE LIBRARY ABORT**************')
27  CALL errwrt(' ')
28 
29  CALL bort_exit_c
30 
31  END
subroutine bort(STR)
Log one error message and abort application program.
Definition: bort.f:18
subroutine errwrt(STR)
This subroutine allows the user to specify a custom location for the logging of error and diagnostic ...
Definition: errwrt.f:36
Wrap C NCEPLIBS-bufr functions so they can be called from within the Fortran part of the library.
Definition: bufrlib.F90:11