<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;color:#000000">You MUST read your files yourself FIRST, and use some logic.</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#000000"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#000000">The files for lapw0/lapw1 you include indicate that you used ifort/icc for the non-parallel parts. However, the parallel parts uses mpif90 which on your system points to gfortran. You need to use the parallel version of ifort, which is probably mpiifort (and mpiic), but may not be. You have to look.</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#000000"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#000000">I do not know if that is your problem because your email is long and confusing (perhaps confused). Please keep it simple (KISS). <span style="color:rgba(0,0,0,0);font-family:monospace;font-size:16.6px;white-space:pre">mpif90</span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 19, 2021 at 2:13 PM leila mollabashi <<a href="mailto:le.mollabashi@gmail.com" target="_blank">le.mollabashi@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear all wien2k users,<div>Thankyou for your reply and guides.</div><div> > You need to link with the blacs library for openmpi. </div><div>I unsuccessfully recompiled wien2k by linking with the blacs library for openmpias “mkl_blacs_openmpi_lp64” due to gfortran errors. The video of this recompile is uploaded to a website which is available from: <u><font color="#0000ff"><a href="https://urldefense.com/v3/__https://files.fm/u/zzwhjjj5q__;!!Dq0X2DkFhyF93HkjWTBQKhk!AduEFeykF0ZeU4nMinZQqgGBUELDwJAo-Js9rRaimp_GI43yZzxiUL01UV7nLt3PkZFzPQ$" target="_blank">https://files.fm/u/zzwhjjj5q</a></font></u> link. The SRC_lapw0/lapw1 compile.msg files are uploaded to: <u><font color="#0000ff"><a href="https://urldefense.com/v3/__https://files.fm/u/zuwukxy8x__;!!Dq0X2DkFhyF93HkjWTBQKhk!AduEFeykF0ZeU4nMinZQqgGBUELDwJAo-Js9rRaimp_GI43yZzxiUL01UV7nLt0_8uP9QQ$" target="_blank">https://files.fm/u/zuwukxy8x</a></font></u>,<u><font color="#0000ff"> <a href="https://urldefense.com/v3/__https://files.fm/u/cep4pvnvd__;!!Dq0X2DkFhyF93HkjWTBQKhk!AduEFeykF0ZeU4nMinZQqgGBUELDwJAo-Js9rRaimp_GI43yZzxiUL01UV7nLt1dGNCPLw$" target="_blank">https://files.fm/u/cep4pvnvd</a></font></u>.</div><div>The openmpi and fftw of the cluster are compiled with gfortran. So I have also installed openmpi 4.1.0 and fftw3.3.9 in my home directory after loading ifort and icc with the following commands:</div><div>./configure--prefix=/home/users/mollabashi/expands/openmpi CC=icc F77=ifort FC=ifort--with-slurm --with-pmix --enable-shared --with-hwloc=internal </div><div>./configure--prefix=/home/users/mollabashi/expands/fftw MPICC=mpicc CC=icc F77=ifort --enable-mpi --enable-openmp  --enable-shared </div><div>By this way, Wien2k compiled correctly as shown in the video in <u><font color="#0000ff"><a href="https://urldefense.com/v3/__https://files.fm/u/rk3vfqv5g__;!!Dq0X2DkFhyF93HkjWTBQKhk!AduEFeykF0ZeU4nMinZQqgGBUELDwJAo-Js9rRaimp_GI43yZzxiUL01UV7nLt3f-oLO0g$" target="_blank">https://files.fm/u/rk3vfqv5g</a></font></u> link. But mpi run does not run due to the error about openmpi as in: <u><font color="#0000ff"><a href="https://urldefense.com/v3/__https://files.fm/u/tcz2fvwpg__;!!Dq0X2DkFhyF93HkjWTBQKhk!AduEFeykF0ZeU4nMinZQqgGBUELDwJAo-Js9rRaimp_GI43yZzxiUL01UV7nLt107mI0Og$" target="_blank">https://files.fm/u/tcz2fvwpg</a></font></u>. The .bashrc, submit.sh and slurm.out filesare in <u><font color="#0000ff"><a href="https://urldefense.com/v3/__https://files.fm/u/dnrrwqguy__;!!Dq0X2DkFhyF93HkjWTBQKhk!AduEFeykF0ZeU4nMinZQqgGBUELDwJAo-Js9rRaimp_GI43yZzxiUL01UV7nLt0vfsNB5A$" target="_blank">https://files.fm/u/dnrrwqguy</a></font></u> link.</div><div>Would you please guide me how to solve the gfortran errors?<br>Should I install openmpi with another configuration to solve the slurm error of mpi calculation?<br>Sincerely yours, </div><div>Leila<br></div></div></blockquote></div><div><br></div>-- <br><div dir="ltr"><div dir="ltr">Professor Laurence Marks<br>Department of Materials Science and Engineering<br>Northwestern University<br><a href="http://www.numis.northwestern.edu/" target="_blank">www.numis.northwestern.edu</a><div>"Research is to see what everybody else has seen, and to think what nobody else has thought" Albert <span style="font-family:Arial,Helvetica,sans-serif;font-size:12.8px">Szent-</span><span style="font-family:Arial,Helvetica,sans-serif;font-size:small;color:rgb(34,34,34)">Györgyi</span></div></div></div>
</div>