Hi again Ian and "list",
The following flags seem to work fine:
gfortran -o ../bin/$1 -std=legacy -ffixed-format -Wno-globals -w -O3
-funroll-loops -ffast-math -fno-second-underscore $1.f (followed by the
library or libraries, compiled with the same flags).
Problem solved as far as I am concerned (until there is yet another
compiler I guess, next Linux box down the road).
Fred.
On 06/03/13 13:55, Ian Tickle wrote:
> Fred, OK I just noticed I didn't have the -malign-double flag. With
> that it compiles but on running I get:
>
> Program received signal SIGSEGV: Segmentation fault - invalid memory
> reference.
>
> Backtrace for this error:
> #0 0x12244B
> #1 0x122A9C
> #2 0x473907
> #3 0x1BD238
> #4 0x1CB4BF
> #5 0x80486E2 in MAIN__
> Segmentation fault
>
> Without that flag it compiles & runs without error. So you may want
> to try it just without that flag.
>
> Cheers
>
> -- Ian
>
--
Fred. Vellieux (B.Sc., Ph.D., hdr)
ouvrier de la recherche
IBS / ELMA
41 rue Jules Horowitz
F-38027 Grenoble Cedex 01
Tel: +33 438789605
Fax: +33 438785494
|