[Q-e-developers] Massive memory leak caused by intel 2017.1
Paolo Giannozzi
p.giannozzi at gmail.com
Tue Feb 21 14:59:33 CET 2017
This is what is running on Marconi:
$ ifort -V
Intel(R) Fortran Intel(R) 64 Compiler for applications running on
Intel(R) 64, Version 17.0.1.132 Build 20161005
I am not aware of memory leaks with it
Paolo
On Tue, Feb 21, 2017 at 2:35 PM, Lorenzo Paulatto
<lorenzo.paulatto at impmc.upmc.fr> wrote:
> Hello,
>
> I'm experiencing a massive memory leak in pw.x when compiled with the very
> last ifort:
>
> ifort (IFORT) 17.0.1 20161005
>
> I could track the source of the leak to PW/src/addusdens.f90, and more
> precisely to the line
>
> ALLOCATE ( skk(ngm,nab), tbecsum(nij,nab,nspin_mag), aux2(ngm,nij) )
>
> which allocates 3 variable that should be freed further down (line 135) but
> for some bug (?) aren't.
>
>
>
> I tried to change the subroutine around, and even to comment almost all of
> it out, in case some of the instructions between ALLOCATE and DEALLOCATE
> corrupts the stack and render the deallocation impossible. The problem
> persisted. Also compiling the subroutine without optimization had no effect.
>
>
>
> Can anybody with access to this compiler verify if they have the same
> problem?
>
>
>
> Of course this is an intel problem, not a QE one, but considered that ifort
> is the most popular compiler, and that this bug affects the latest version
> I'm afraid it would be better to fix this issue, one way or another, before
> releasing QE 6.1, or risk being submerged by complaints.
>
>
>
> I found this problem to occur with both 2017.0 and 2017.1 versions, but not
> with version 14.0.1.
>
>
>
> bye
>
>
>
> --
>
> Dr. Lorenzo Paulatto
>
> IdR @ IMPMC -- CNRS & Université Paris 6
>
> phone: +33 (0)1 442 79822 / skype: paulatz
>
> www: http://www-int.impmc.upmc.fr/~paulatto/
>
> mail: 23-24/423 Boîte courrier 115, 4 place Jussieu 75252 Paris Cédex 05
>
>
> _______________________________________________
> Q-e-developers mailing list
> Q-e-developers at qe-forge.org
> http://qe-forge.org/mailman/listinfo/q-e-developers
>
--
Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,
Univ. Udine, via delle Scienze 208, 33100 Udine, Italy
Phone +39-0432-558216, fax +39-0432-558222
More information about the developers
mailing list