[Pw_forum] How to estimate the memory requirement of ph.x?
lfhuang
lfhuang at theory.issp.ac.cn
Sat Dec 11 08:32:18 CET 2010
Dear prof. P. Giannozzi:
Thank you very much for your helpful and clear response! I appreciate very much!
Best Wishes!
Yours Sincerely
L. F. Huang
> Date: Fri, 10 Dec 2010 12:33:20 +0100
> From: Paolo Giannozzi
>
> lfhuang wrote:
>
> > it is understandable that ph.x requires more memory than pw.x.
> > But how to estimate it to be qualitatively precise?
>
> sum the size of large arrays. I do not know any other way. If the
> code runs, a call to "memstat" returns the size of dynamically
> allocated memory (on operating systems that support it). Not sure
> how much of the total memory is reported, though. Apparently the
> question "how much memory does a process use" has become difficult
> to answer in modern operating systems.
>
> > How can a 3GB processor breaks down when doing a ph.x job, when the
> > requirement of it pw.x job is just 500MB?
>
> the phonon code uses more arrays and distributes less of them across
> processors.
>
> > By the way, is it better to assign the N_pr to be m**2 (m=2,3,4...) than
> > other values (e.g. 6, 10, 11, 14...) if I want to divide the R-&G-space
> > in parallelization?
>
> I think it depends upon the specific communication hardware and
> MPI implementation. Not sure though.
>
> Paolo
> --
> Paolo Giannozzi, Democritos and University of Udine, Italy
------
======================================================================
L.F.Huang(黄良锋) DFT and phonon physics
======================================================================
Add: Research Laboratory for Computational Materials Sciences,
Instutue of Solid State Physics,the Chinese Academy of Sciences,
P.O.Box 1129, Hefei 230031, P.R.China
Tel: 86-551-5591464-326(office)
Fax: 86-551-5591434
Our group: http://theory.issp.ac.cn
======================================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.democritos.it/pipermail/pw_forum/attachments/20101211/afe689a2/attachment.htm
More information about the Pw_forum
mailing list