Boost logo

Ublas :

From: Preben Hagh Strunge Holm (preben_at_[hidden])
Date: 2007-03-05 15:03:13


Hi everyone

Now, doing optimizations, I wonder if this behavior is normal:

When compiling with -O2 or debugflags the program runs smooth. There's
no problems at all and everything seems to be OK.

But when compiling with -O3 the program segfaults? Is there an error
somewhere in my program or is this behavior normal!

The experienced programmers know that -O3 sometimes break something, but
I have never seen any explanation on what could happen!

Which optimization flags are recommended to use with ublas and lapack?
I have a pentium m (1.6 GHz) (laptop).

Thanks

Best regards,
Preben