[Pw_forum] memory allocation failed

Paolo Giannozzi giannozz at nest.sns.it
Wed Mar 8 11:45:53 CET 2006


On Monday 06 March 2006 11:23, gmonaco at unisa.it wrote:

> At line 172 of file add_for_charges.F90 [...]
> Operating system error: Cannot allocate memory

...of course the presence in PH/add_for_charges.f90 of a line
  allocate (aux1( npwx, npwx))
instead of the correct one, that is:
  allocate (aux1( npwx, nbnd))
doesn't help: the number of plane waves (npwx) is much larger 
than the number of states (nbnd) ...

P.

-- 
Paolo Giannozzi             e-mail:  giannozz at nest.sns.it
Scuola Normale Superiore    Phone:   +39/050-509876, Fax:-563513 
Piazza dei Cavalieri 7      I-56126 Pisa, Italy



More information about the users mailing list