[Beowulf] Re: ifort and gfortran

David Mathog mathog at caltech.edu
Mon Feb 23 13:13:29 PST 2009

 Mark Hahn <hahn at mcmaster.ca> wrote

> > When gfortran is used, then we get
> > "segmentation fault" in the middle/during the
> > parameter setting stage of the computation.
> > I would be grateful if you
> > have any idea on how to treat this problem.
> compile with gfortran and add -g.  then run inside gdb.
> when compiled, are there any warning messages?

After compiling with -g run the program in valgrind.  The run will be
very slow, but will tell you exactly where the memory error occurs.


David Mathog
mathog at caltech.edu
Manager, Sequence Analysis Facility, Biology Division, Caltech

More information about the Beowulf mailing list