[Q-e-developers] compilation error with gfortran 4.6 (Mac OSX) + Makefile glitch

Lorenzo Paulatto Lorenzo.Paulatto at impmc.upmc.fr
Tue Apr 12 10:46:04 CEST 2011

On Mon, 11 Apr 2011 19:57:41 +0200, Riccardo Di Meo <dimeo at democritos.it>  
> I have solved the problem on my own by replacing rho%of_g(1,1) and
> rho%kin_g(1,1) with rho%of_g and rho%kin_g, respectively (however, due
> to my low proficiency with Fortran and despite I tested the binary, I'm
> not entirely sure they actually do the same thing :D).

Dear Riccardo,
your solution is perfectly fine, actually as long as the arguments are  
passed by address the two variants should make no difference, but gfortran  
can be quite picky.

thank you for reporting

Lorenzo Paulatto (IdR)
IMPMC - CNRS UMR 7590 & Université P&M Curie
T23-C23/24-4e16 - 4 place Jussieu - 75252 Paris Cedex5
phone: +33 (0)144 27 5211
www:   http://www-int.impmc.upmc.fr/~paulatto/

More information about the developers mailing list