Debugging / profiling tools?

Steve Kargl sgk@troutmask.apl.washington.edu
Thu Apr 6 23:43:00 GMT 2006


On Thu, Apr 06, 2006 at 12:47:00PM +0200, Philippe Schaffnit wrote:
> 
> 
> I was wondering what debugging and/or profiling tools can be used with
> GFortran (mostly under Linux): 

Use gdb for debugging and gprof for profiling.  On linux,
valgrind is also handy.

gfortran -g file.f90
gdb a.out

gfortran -pg file.f90
a.out
gprof a.out a.out.gmon

YMMV

-- 
Steve



More information about the Fortran mailing list