The Fortran compiler supports several kinds of floating-point exceptions; a summary of their masked (or default) responses is given below: The -fpen option allows some control over the results of floating-point exceptions. -fpe0 restricts floating-point exceptions as follows: Enables the overflow, the divide-by-zero, and the invalid floating-point exceptions. The program will print an error message [...]
Posts Tagged ‘Fortran’
Floating Point Exception Handling (-fpe)
Posted in Debian, tagged Fortran, linux on April 6, 2010 | Leave a Comment »
Frequently Used Switches and Options for Intel Compilers
Posted in Debian, tagged Fortran, linux on March 26, 2010 | Leave a Comment »
Debug -g Compile with debugging symbols (does not affect optimization level in the Intel compilers). -traceback (ifort only) produce traceback information at runtime if the code terminates abnormally. Optimization -O0 Turn off optimizer. -O[1-3] Turn on optimizer, level 1-3 aggressiveness (default is -O2; O1 and O2 are equivalent). -no-prefetch Disable software prefetching (prefetching is turned [...]