<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.75in; TEXT-INDENT: -0.75in"><font face="Times New Roman">Thank you very much for your answers. I tried the following commands in root terminal and then recompiled the code:</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.75in; TEXT-INDENT: -0.75in"><font face="Times New Roman"><span style="mso-spacerun: yes"> </span><span style="FONT-SIZE: 11pt">export<span style="mso-spacerun: yes"> </span>LDLIBRARY_PATH=$LDLIBRARY_PATH:/opt/intel/mkl/9.1/lib</span></font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.75in; TEXT-INDENT: -0.75in"><span style="FONT-SIZE: 11pt"><font face="Times New Roman"><span style="mso-spacerun: yes"> </span>export<span style="mso-spacerun: yes"> </span>INCLUDE=$INCLUDE:/opt/intel/mkl/9.1/lib</font></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.75in; TEXT-INDENT: -0.75in"><font face="Times New Roman"> </font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.75in; TEXT-INDENT: -0.75in"><font face="Times New Roman">( and also</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.75in; TEXT-INDENT: -0.75in"><font face="Times New Roman"><span style="mso-spacerun: yes"> </span><span style="FONT-SIZE: 11pt">export<span style="mso-spacerun: yes"> </span><span style="mso-spacerun: yes"> </span>LDLIBRARY_PATH=$LDLIBRARY_PATH:/opt/intel/mkl/9.1/tools/environment/mklvarsem64t.sh</span></font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.75in; TEXT-INDENT: -0.75in"><span style="FONT-SIZE: 11pt"><font face="Times New Roman"><span style="mso-spacerun: yes"> </span>export<span style="mso-spacerun: yes"> </span>INCLUDE=$INCLUDE:/opt/intel/mkl/9.1/ tools/environment/mklvarsem64t.sh</font></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.75in; TEXT-INDENT: -0.75in"><font face="Times New Roman"><span style="FONT-SIZE: 11pt"><span style="mso-spacerun: yes"> </span>source<span style="mso-spacerun: yes"> </span>INCLUDE=$INCLUDE:/opt/intel/mkl/9.1/ tools/environment/mklvarsem64t.sh</span> )</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.75in; TEXT-INDENT: -0.75in"><font face="Times New Roman"> </font></p>
<div class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.75in; TEXT-INDENT: -0.75in"><font face="Times New Roman">But yet the problem exists </font></div>
<div class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.75in; TEXT-INDENT: -0.75in"><font face="Times New Roman"><span style="mso-spacerun: yes"> </span><span style="FONT-SIZE: 11pt">" /usr/local/wien2k8/lapw1 : libmkl_lapack.so : cannot open shared object file :</span></font></div>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.75in; TEXT-INDENT: -0.75in"><span style="FONT-SIZE: 11pt"><font face="Times New Roman"><span style="mso-spacerun: yes"> </span>no such file or directory".</font></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.75in; TEXT-INDENT: -0.75in"><font face="Times New Roman">and nothing was added to <strong>"bashrc"</strong> by these commands.</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.75in; TEXT-INDENT: -0.75in"><font face="Times New Roman"> </font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.75in; TEXT-INDENT: -0.75in"><font face="Times New Roman">So sorry but can you please write me a bit in more detail how to add the path to bashrc?</font></p>