<div dir="ltr"><div>in theory, well-designed parallel code should work (or cleanly stop) on any number of processors. In practice, if you use a disproportionate number of processors, the code may not be able to deal with it. IN any case: look at what happens at line 444 of PWCOND/src/scatter_forw.f90 aqnd maybe you sill understand what is happening and why<br><br></div><div>Paolo<br></div><div><br></div>Paolo<br><br><div><div><div><div class="gmail_extra"><div class="gmail_quote">On Mon, Aug 10, 2015 at 9:27 AM, 庞瑞(PANG Rui) <span dir="ltr"><<a href="mailto:pang.r@sustc.edu.cn" target="_blank">pang.r@sustc.edu.cn</a>></span> wrote:<br><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">However, I found I could run the example correctly by using only 8 cores. If using 16, 32 and 64 cores, the code will stop at <br>" ngper, shell number = 804 82<br> ngper, n2d = 804 391<br>--- E-Ef = 2.0000000 k = 0.5000000 0.5000000<br>--- ie = 1 ik = 1" <br><br>and showed<br><br><br>"forrtl: severe (174): SIGSEGV, segmentation fault occurred<br>Image PC Routine Line Source <br> <br>pwcond.x 00000000025AD7C9 Unknown Unknown Unknown<br>pwcond.x 00000000025AC140 Unknown Unknown Unknown<br>pwcond.x 000000000255DBC2 Unknown Unknown Unknown<br>pwcond.x 00000000024F15F3 Unknown Unknown Unknown<br>pwcond.x 00000000024F753B Unknown Unknown Unknown<br>libpthread.so.0 0000003F2280F710 Unknown Unknown Unknown<br>pwcond.x 00000000004F9B35 scatter_forw_ 444 scatter_forw.<br>f90<br>pwcond.x 00000000004ADD66 do_cond_ 518 do_cond.f90<br>pwcond.x 00000000004A8B42 MAIN__ 22 condmain.f90<br>pwcond.x 0000000000498036 Unknown Unknown Unknown<br>libc.so.6 0000003F2241ED1D Unknown Unknown Unknown<br>pwcond.x 0000000000497F29 Unknown Unknown Unknown"<br><br>So could anyone tell me how can I fix this error so that I can using more cores to excute pwcond.x? I met this problem in both 5.1.2 and 5.2.<br><br>Thanks very much for any help.<br><br>Sincerely.<br><br>Pang Rui<br><h3> </h3><br><div><u></u><div style="color:#909090;font-family:Arial Narrow;font-size:12px"><br><br><br><br>------------------</div><div style="font-size:14px;font-family:Verdana;color:#000"><div><div style="width:305px;min-height:35px;line-height:35px;margin:20px 0 0 0"><img src="https://exmail.qq.com/cgi-bin/viewfile?type=logo&domain=sustc.edu.cn"></div><div style="margin:10px 0 0 0"><h4 style="margin:0;font-size:14px;font-weight:bold;line-height:28px;zoom:1">庞瑞(PANG Rui)</h4><p style="margin:0;line-height:22px;color:#a0a0a0"></p><p style="margin:0;line-height:22px;color:#a0a0a0">South University of Science and Technology of China/Department of Physics</p><p style="margin:0;line-height:22px;color:#a0a0a0">No.1088,Xueyuan Road, Shenzhen,Guangdong<br></p><p style="margin:0;line-height:22px;color:#a0a0a0"></p></div></div></div><u></u></div><div> </div><div><u></u><u></u></div><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" rel="noreferrer" target="_blank">http://pwscf.org/mailman/listinfo/pw_forum</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span><span><font color="#888888">Paolo Giannozzi, Dept. Chemistry&Physics&Environment,<br>
Univ. Udine, via delle Scienze 208, 33100 Udine, Italy<br>
Phone <a href="tel:%2B39-0432-558216" value="+390432558216" target="_blank">+39-0432-558216</a>, fax <a href="tel:%2B39-0432-558222" value="+390432558222" target="_blank">+39-0432-558222</a></font></span></span></div></div></div></div>
</div></div></div></div></div>