Hi all,
Problem solved thanks to Jorge Navaza's suggestion: remove all
compilation flags but only have -Wall as a compilation flag.
There is no run time error any more and there is no error at compilation
time. The program runs fine.
Thanks to Thomas Jens, Harry Powell, Ian Tickle, Ian
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
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