Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

field overflow on output

blwiland
Beginner
501 Views
I have a program in which certain combinations of inputoccassionally cause a formattedoutput field (e.g., F8.2) to overflow due to the larger size of the number. Sometimes it prints asterisks across the field (which is what I want to happen whenan overflow occurs). Other times,the overflowhalts the program and gives a run-time error: "error (63): output conversion error". I'm not sure why asterisks are printed sometimes and a run-time error occurs other times. Is there a compiler or linker switch that will prevent this particular run-time error and always allow asterisks to be printed across the field when the overflow occurs?
0 Kudos
1 Reply
Steven_L_Intel1
Employee
501 Views
I believe that you had to ask for this behavior by specifying /check:output_conversion as a compiler option. The default is to not issue the error.
0 Kudos
Reply