Changeset 3614 for palm/trunk/UTIL/inifor/src/inifor_control.f90
- Timestamp:
- Dec 10, 2018 7:05:46 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/UTIL/inifor/src/inifor_control.f90
r3557 r3614 26 26 ! ----------------- 27 27 ! $Id$ 28 ! abort renamed inifor_abort to avoid intrinsic problem in Fortran 29 ! 30 ! 3557 2018-11-22 16:01:22Z eckhard 28 31 ! Updated documentation 29 32 ! … … 78 81 !> You can use this routine to log events across INIFOR's code to log. For 79 82 !> warnings and abort messages, you may use the dedicated routines warn() and 80 !> abort() in this module. Both use report() and add specific behaviour to it. 83 !> inifor_abort() in this module. Both use report() and add specific behaviour 84 !> to it. 81 85 !------------------------------------------------------------------------------! 82 86 SUBROUTINE report(routine, message, debug) … … 138 142 ! ------------ 139 143 !> 140 !> abort() prepends "ERROR:" the given 'message' and prints the result to the141 !> terminal, writes it to the INIFOR logfile, and exits INIFOR.144 !> inifor_abort() prepends "ERROR:" the given 'message' and prints the result to 145 !> stdout, writes it to the INIFOR logfile, and exits INIFOR. 142 146 !> 143 147 !> You can use this routine for messaging issues, that are critical and prevent 144 148 !> INIFOR from continueing. 145 149 !------------------------------------------------------------------------------! 146 SUBROUTINE abort(routine, message)150 SUBROUTINE inifor_abort(routine, message) 147 151 148 152 CHARACTER(LEN=*), INTENT(IN) :: routine !< name of calling subroutine or function … … 152 156 STOP 153 157 154 END SUBROUTINE abort158 END SUBROUTINE inifor_abort 155 159 156 160 … … 218 222 219 223 CASE DEFAULT 220 CALL abort('run_control', "Time Budget '" // TRIM(mode) // "' is not supported.")224 CALL inifor_abort('run_control', "Time Budget '" // TRIM(mode) // "' is not supported.") 221 225 222 226 END SELECT … … 248 252 249 253 CASE DEFAULT 250 CALL abort('run_control', "Mode '" // TRIM(mode) // "' is not supported.")254 CALL inifor_abort('run_control', "Mode '" // TRIM(mode) // "' is not supported.") 251 255 252 256 END SELECT
Note: See TracChangeset
for help on using the changeset viewer.