Clicky

Fortran Wiki
Debugging tools (Rev #11, changes)

Skip the Navigation Links | Home Page | All Pages | Recently Revised | Authors | Feeds | Export |

Showing changes from revision #10 to #11: (追記) Added (追記ここまで) | (削除) Removed (削除ここまで) | (削除) Chan (削除ここまで)(追記) ged (追記ここまで)

Useful compiling options

Unfortunately, compiling options depend on the used compiler

g95

-g -fbounds-check -Wall -ftrace=full

Additional useful environment variables:

On Linux/UNIX with bourne shell:

export G95_FPU_INVALID=1
export G95_FPU_ZERODIV=1
export G95_FPU_OVERFLOW=1
export G95_MEM_INIT=NAN

gfortran

-g -Wall -Wextra -Warray-temporaries -Wconversion -fimplicit-none -fbacktrace -ffree-line-length-0 -fcheck=all -ffpe-trap=zero,overflow,underflow -finit-real=nan

ifort

-g -check all -fpe0 -warn -traceback -debug extended

nag95

-g -C=all -nan

Sun F95

-g -xcheck=%all -fnonstd

lf95

-g --ap --chk

Debuggers

Other tools

Revision from March 30, 2020 22:37:55 by Anonymous Coward
Forward in time (to current) | Back in time (10 more) | See current | Hide changes | History | Rollback | View: Source | Linked from: HomePage, GFortran

AltStyle によって変換されたページ (->オリジナル) /