------- Comment #16 from jv244 at cam dot ac dot uk  2009-08-17 07:39 -------
(In reply to comment #15)

> > > > -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. 
> 
> Ok, that's interesting.  I'm curious if compiling all-in-one CP2K with
> -flto is any different.

-flto wit hthe all-in-one CP2K fails, I guess it enable -fwhole-file
automatically ? Since it looks like the same error:

gfortran -O0 -march=native CP2K_2009-05-01.f90 -L/users/vondele/LAPACK/ 
-llapack_gfortran_4_4 -lblas_gfortran_4_4
Mem ~ 3.5Gb  Time ~ 9m34.187

gfortran -O3 -march=native CP2K_2009-05-01.f90 -L/users/vondele/LAPACK/ 
-llapack_gfortran_4_4 -lblas_gfortran_4_4
Mem ~ 3.5Gb  Time ~ 30m


gfortran -flto -O3 -march=native CP2K_2009-05-01.f90 -L/users/vondele/LAPACK/ 
-llapack_gfortran_4_4 -lblas_gfortran_4_4
ICE on the PR40011 comment #40 (internal compiler error: in
gfc_create_module_variable) thing.


-- 


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

Reply via email to