------- Comment #14 from jv244 at cam dot ac dot uk  2009-08-15 18:46 -------
(In reply to comment #13)
> > -flto needs about 35min compile time and 10.5Gb RAM.
> 
> Doh.  How does that compare to the all-CP2K in one file builds?

an all-in-one-file-CP2K takes about 2.5Gb and 30min last time I tested. So it
is mostly the memory increase that is really significant. 

BTW, -fwhole-program seems to make the build more expensive. The following
(with consistently compiled objects) requires now 67min:

gfortran -flto -fwhole-file -fwhole-program -O3 -ffast-math -funroll-loops
-march=native -ffree-form *.o [..]


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41069

Reply via email to