[Beowulf] segmentation fault error for large program on beowulf cluster using intel Fortran compiler

Reuti reuti at staff.uni-marburg.de
Fri Jun 17 13:28:24 PDT 2005


for which platform do you want to compile, as I see "-axN -xN".

1. Don't use them, as -tpp7 will optimze already for P4.

2. Try using (only one time) -O0, don't specify it twice.

3. Replace "-ftz -prec_div" with "-mp"

4. If this is working, you can try to use one of "-axN" or "-xN" and check, 
whether there is any speed impact at all.

Cheers - Reuti

Quoting Antonio Parodi  <antonio at cima.unige.it>:

> Hi,
> I am trying to compile a large code on Beowulf cluster using the intel
> fortran compiler 8.1.024 and I am experiencing a problem with stack size
> management since when I try to start the code , it immediately crashes with a
> segmentation fault in spite of my system having 2 GB RAM.
> The compiler options adopted in my makefile are the following 
> OPT          = -I. -O3 -unroll16 -scalar_rep -nowarn -O3 -tpp7 -axN -xN -ftz
> -prec_div -rcd -us -g -debug -check all
> LDFLG        =  -L/opt/intel/lib -Vaxlib  -lm  -static -static-libcxa
> vpp5exe: addmods / $(DATAOBJ) $(PUBLICUTILS) $(UTILOBJ) $(EXTOBJ) $(SRCOBJ)
>         echo linking parallel program
>         ( $(LDPAR) $(LDFLG) -o lmparbin $(DATAOBJ) $(UTILOBJ) $(EXTOBJ)   
> \
>                                    $(PUBLICUTILS) $(SRCOBJ) $(LIB) )
> > the intel release_notes I knew that one of know limitations of the fortran
> compiler is to create segmentation violation with static link to libpthreads
> or similars, but I do not know to exploit this information. 
> I have used different compiler options, but I cannot find out why the
> executable cannot work: no debugging switches help. I cannot understand if
> it's a compiler or system problem. 
> I just know that at smaller size, the program works without problems. For
> bigger size problems, I try to use ulimit –s S unlimited but it does not help
> anymore.
> I hope that someone can help me.
> Thank you
> Antonio
> --
> **************************************************************** 
> Universita' di Genova 
> CIMA   Centro di Ricerca Interuniversitario in Monitoraggio Ambientale 
> Via Cadorna, 7      17100 Savona        Italy 
> Phone: +39 1923027218        Fax: +39 19862612 
> mailto:antonio at cima.unige.it    http://www.cima.unige.it 
> ***************************************************************** 
> --
> _______________________________________________
> Beowulf mailing list, Beowulf at beowulf.org
> To change your subscription (digest mode or unsubscribe) visit
> http://www.beowulf.org/mailman/listinfo/beowulf

More information about the Beowulf mailing list