<div dir="ltr">Thank you.<div>Meanwhile I'm continue to get strange errors. RAM seems ok. Apparently I'm getting error only if I use the "-ni 8" option in ph.x. But it's random. Here is the last error:</div><div><br></div><div><div>Program received signal SIGSEGV: Segmentation fault - invalid memory reference.</div><div><br></div><div>Backtrace for this error:</div><div><br></div><div>Program received signal SIGSEGV: Segmentation fault - invalid memory reference.</div><div><br></div><div>Backtrace for this error:</div><div>#0  0x2AF4EE34C78F</div><div>#1  0x2AF4EE34CD84</div><div>#2  0x2AF4EEFEBE6F</div><div>#3  0x2AF4EF032058</div><div>#4  0x51C509 in cgsolve_all_</div><div>#5  0x4E0486 in solve_linter_</div><div>#6  0x4BD7F6 in phqscf_</div><div>#7  0x45B666 in do_phonon_</div><div>#8  0x45758F in MAIN__ at phonon.f90:0</div></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-02-20 10:06 GMT+01:00 Andrea Dal Corso <span dir="ltr"><<a href="mailto:dalcorso@sissa.it" target="_blank">dalcorso@sissa.it</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Fri, 2015-02-20 at 09:19 +0100, Carlo Nervi wrote:<br>
> Dear QE developers,<br>
> I would like to have your opinion on the procedure I followed in doing<br>
> phonon calculations.<br>
> I found that the use of nimages on my machine (8 numa zones) greatly<br>
> improves the speed of some calculations, but the first (initialization?)<br>
> part of the calculation (epsil=.true., i.e. the Electric Fields<br>
> Calculation) is much faster when performed without the use of "-ni 8"<br>
> switch in ph.x<br>
><br>
> So, I tested the following procedure and apparently worked for a small test<br>
> crystal:<br>
><br>
> 1) pw.x (vc-relax optimization) without using "-ni"<br>
> 2) scf on the optimized structure containing "wf_collect=.true." and using<br>
> "-ni 8"<br>
<br>
</span>pw.x has no image parallelization, so step 2 should be done without<br>
images. The rest should be ok.<br>
<br>
HTH,<br>
<br>
Andrea<br>
<span class=""><br>
<br>
> 3) ph.x containing "only_init = .true." and without using "-ni"<br>
>  This calculate the electric fields<br>
> 4) duplicate the directory _ph0 and copied to _ph1 ... _ph7 (in output<br>
> directory)<br>
> 5) ph.x containing "recover = .true." and using "-ni 8"<br>
>   This is the part where I get most of the speedup<br>
> 6) ph.x of the input used in 5), but now without using "-ni"<br>
>   This is to collect the partial data and produce the final .out<br>
><br>
> I would greatly appreciate any comments in understanding if this procedure<br>
> is correct.<br>
> On a small crystal was working, but on a bigger crystal gave error.<br>
> Either the procedure is not completely correct or I have to start to look<br>
> for a problem in the RAM...<br>
><br>
> Thank you,<br>
><br>
>  Carlo<br>
><br>
</span>> _______________________________________________<br>
> Pw_forum mailing list<br>
> <a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
> <a href="http://pwscf.org/mailman/listinfo/pw_forum" target="_blank">http://pwscf.org/mailman/listinfo/pw_forum</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Andrea Dal Corso                    Tel. 0039-040-3787428<br>
SISSA, Via Bonomea 265              Fax. 0039-040-3787249<br>
I-34136 Trieste (Italy)             e-mail: <a href="mailto:dalcorso@sissa.it">dalcorso@sissa.it</a><br>
<br>
<br>
_______________________________________________<br>
Pw_forum mailing list<br>
<a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
<a href="http://pwscf.org/mailman/listinfo/pw_forum" target="_blank">http://pwscf.org/mailman/listinfo/pw_forum</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><pre>------------------------------------------------------------
Prof. Carlo Nervi <a href="mailto:carlo.nervi@unito.it" target="_blank">carlo.nervi@unito.it</a>  <a>Tel:+39</a> 0116707507/8
Fax: +39 0116707855      -      Dipartimento di Chimica, via
P. Giuria 7, 10125 Torino, Italy.    <a href="http://lem.ch.unito.it/" target="_blank">http://lem.ch.unito.it/</a><br></pre></div></div>
</div>