Enforce logical assertions that can be toggled on/off at compile-time To turn off assertions, building with the flag -DUSE_ASSERTIONS=.false.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
logical, | private, | parameter | :: | enforce_assertions | = | .true. |
Error terminate on .false. assertion with the stop code given by description With IBM XL Fortran, the stop code is an integer due to character stop codes being unsupported.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
logical, | intent(in) | :: | assertion | |||
character(len=*), | intent(in) | :: | description |