<p>Dear Paolo</p><p>Thanks for your advise. In fact I have examed line444, however, there is only a summation, and if I use other operation instead, wirte(*,*) for example, the error appeared at the same position, too. I have send a email to the cluster manager. If he find the reason, I will post it.</p><p>Sincerely</p><p>Pang Rui</p><div> </div><div><sign signid="99"><div style="color: rgb(144, 144, 144); font-family: Arial Narrow; font-size: 12px;"><br><br><br><br>------------------</div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px;"><div><div class="logo" style="margin: 20px 0px 0px; width: 305px; height: 35px; line-height: 35px;"><img src="https://exmail.qq.com/cgi-bin/viewfile?type=logo&domain=sustc.edu.cn"></div><div class="c_detail" style="margin: 10px 0px 0px;"><h4 class="name" style="margin: 0px; line-height: 28px; font-size: 14px; font-weight: bold; -ms-zoom: 1;">庞瑞(PANG Rui)</h4><p class="position" style="margin: 0px; color: rgb(160, 160, 160); line-height: 22px;"></p><p class="department" style="margin: 0px; color: rgb(160, 160, 160); line-height: 22px;">South University of Science and Technology of China/Department of Physics</p><p class="department" style="margin: 0px; color: rgb(160, 160, 160); line-height: 22px;">No.1088,Xueyuan Road, Shenzhen,Guangdong<br></p><p class="phone" style="margin: 0px; color: rgb(160, 160, 160); line-height: 22px;"></p></div></div></div></sign></div><div> </div><div><includetail><div> </div><div> </div><div style="color: rgb(0, 0, 0);"><div style="padding: 2px 0px; font-family: Arial Narrow; font-size: 12px;">------------------ Original ------------------</div><div style="background: rgb(239, 239, 239); padding: 8px; font-size: 12px;"><div id="menu_sender"><b>From: </b> "Paolo Giannozzi"<p.giannozzi@gmail.com>;</div><div><b>Date: </b> Sat, Aug 15, 2015 05:16 PM</div><div><b>To: </b> "PWSCF Forum"<pw_forum@pwscf.org>; <wbr></div><div></div><div><b>Subject: </b> Re: [Pw_forum] A problem of parallel excuting pwcond.x</div></div><div> </div><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: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;">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: rgb(144, 144, 144); font-family: Arial Narrow; font-size: 12px;"><br><br><br><br>------------------</div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px;"><div><div style="margin: 20px 0px 0px; width: 305px; line-height: 35px; min-height: 35px;"><img src="https://exmail.qq.com/cgi-bin/viewfile?type=logo&domain=sustc.edu.cn"></div><div style="margin: 10px 0px 0px;"><h4 style="margin: 0px; line-height: 28px; font-size: 14px; font-weight: bold; -ms-zoom: 1;">庞瑞(PANG Rui)</h4><p style="margin: 0px; color: rgb(160, 160, 160); line-height: 22px;"></p><p style="margin: 0px; color: rgb(160, 160, 160); line-height: 22px;">South University of Science and Technology of China/Department of Physics</p><p style="margin: 0px; color: rgb(160, 160, 160); line-height: 22px;">No.1088,Xueyuan Road, Shenzhen,Guangdong<br></p><p style="margin: 0px; color: rgb(160, 160, 160); line-height: 22px;"></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" target="_blank" rel="noreferrer">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 target="_blank" value="+390432558216">+39-0432-558216</a>, fax <a target="_blank" value="+390432558222">+39-0432-558222</a></font></span></span></div></div></div></div>
</div></div></div></div></div>
</div><!--<![endif]--></includetail></div>