Clicky

Fortran Wiki
Debugging tools (changes)

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

Showing changes from revision #11 to #12: (追記) 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 (削除ここまで)(追記) -ffpe-trap=invalid,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

Revised on June 11, 2020 17:28:14 by phil-blain? (192.222.216.4) (1188 characters / 0.0 pages)
Edit | Back in time (11 revisions) | Hide changes | History | Views: Print | TeX | Source | Linked from: HomePage, GFortran

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