<div dir="ltr"><div>Go to Modules/read_input.f90, where routine "open_input_file" is called (should be line 50), and follow what happens later and where the code freezes. Just add some prints: there are smarter ways to figure out where a code is hung, but I don't remember how to do it. Once you find the exact line where it freezes, either you easily find why, or, if there is no obvious reason, it is likely a problem of your compiler/ libraries / mpi.<br><br></div>Paolo<br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 2, 2016 at 4:40 PM, joaquin peralta <span dir="ltr"><<a href="mailto:jperaltac@gmail.com" target="_blank">jperaltac@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear Youssef,<div><br></div><div>I did the compilation as you indicated, however my QE-run frozen with more than one CPU. I have the intel parallel studio 2016 and the impi 5.1. After compile I did :</div><div><br></div><div>mpirun -np 1 /path/to/pw.x -input <a href="http://scf.in" target="_blank">scf.in</a> <-This run perfectly</div><div><br></div><div>However :</div><div><br></div><div>mpirun -np 2 /path/to/pw,x -input <a href="http://scf.in" target="_blank">scf.in</a> <- Doesn't work!!!, It frozen in "Reading input from <a href="http://scf.in" target="_blank">scf.in</a>"</div><div><br></div><div>Do you have any suggestion or hint about what could be the reason because is not working?</div><div><br></div><div>I have all the exports from intel-suite in my bashrc :</div><div><div>source /opt/intel/bin/compilervars.sh intel64</div><div>source /opt/intel/mkl/bin/mklvars.sh intel64</div><div>source /opt/intel/impi/<a href="http://5.1.2.150/bin64/mpivars.sh" target="_blank">5.1.2.150/bin64/mpivars.sh</a></div></div><div><br></div><div>And I also set my stack size to unlimited in the kernel settings. </div><div><br></div><div>Is there a code issue? Or is the intel mpi?</div><div><br></div><div>Thanks in advance,</div><div>Joaquin Peralta</div><div>Assitant Professor,</div><div>Faculty of Physics,</div><div>Exact Science Department,</div><div>Universidad Andres Bello,</div><div>Santaigo, Chile.</div><div><br></div></div><br><div class="gmail_quote"><div><div class="h5"><div dir="ltr">On Tue, Feb 2, 2016 at 9:57 AM Youssef <<a href="mailto:aharbil@gmail.com" target="_blank">aharbil@gmail.com</a>> wrote:<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div text="#000000" bgcolor="#FFFFFF">
Dear
<strong style="font-weight:bold;color:rgb(48,127,0);font-family:verdana;font-size:small;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:18.2px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">Yeonung,<br>
<br>
I used to compile qe-5.30 with intel parallel studio 2016, using
this statements:<br>
<br>
</strong><strong style="font-weight:bold;color:rgb(48,127,0);font-family:verdana;font-size:small;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:18.2px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">export FC=mpiifort<br>
export F90=mpiifort<br>
export F77=mpiifort<br>
export MPIF90=mpiifort<br>
export CC=mpiicc<br>
export CPP="icc -E"<br>
export CFLAGS=$FCFLAGS<br>
export AR=xiar<br>
export BLAS_LIBS=""<br>
export LAPACK_LIBS="-lmkl_blacs_intelmpi_lp64"<br>
export SCALAPACK_LIBS="-lmkl_scalapack_lp64
-lmkl_blacs_intelmpi_lp64"<br>
export FFT_LIBS="-L$MKLROOT/intel64"<br>
./configure --enable-parallel<br>
</strong><br>
you can save it as a bash script, an run it inside qe folder.<br>
<br>
Of course make sure that the intel parallel studio wrapper is in
your path (e.g. : source /opt/intel/bin/compilervars.sh intel64 ),
this invoke all the needed environmental variables.<br>
<br>
<pre style="font-family:courier,'courier new',monospace;font-size:14px;white-space:pre-wrap;word-wrap:break-word;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);line-height:19.6px"><span style="font-family:arial,sans-serif;line-height:normal;color:rgb(34,34,34);background-color:transparent">Youssef Aharbil, </span></pre>
<pre style="font-family:courier,'courier new',monospace;font-size:14px;white-space:pre-wrap;word-wrap:break-word;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);line-height:19.6px"><span style="font-family:arial,sans-serif;line-height:normal;color:rgb(34,34,34)">Laboratory of Physics and Chemistry of Materials</span></pre>
<pre style="font-family:courier,'courier new',monospace;font-size:14px;white-space:pre-wrap;word-wrap:break-word;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);line-height:19.6px"><span style="font-family:arial,sans-serif;line-height:normal;color:rgb(34,34,34)">Faculty of sciences Ben msik, Casablanca</span></pre>
<pre style="font-family:courier,'courier new',monospace;font-size:14px;white-space:pre-wrap;word-wrap:break-word;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);line-height:19.6px"><span style="font-family:arial,sans-serif;line-height:normal;color:rgb(34,34,34)">Morocco</span></pre>
<br>
<br>
</div></div></div>
_______________________________________________<br>
Pw_forum mailing list<br>
<a href="mailto:Pw_forum@pwscf.org" target="_blank">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></blockquote></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"><div>Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,<br>Univ. Udine, via delle Scienze 208, 33100 Udine, Italy<br>Phone +39-0432-558216, fax +39-0432-558222<br><br></div></div></div></div></div>
</div>