<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Comic Sans MS";
        panose-1:3 15 7 2 3 3 2 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal>Baris, Joerg, Paolo and Axel:  I apologize for the commotion&#8230;the
entire issue was due to a blunder on my part.  I had mistakenly &#8220;source-d&#8221;
instead of &#8220;export-ed&#8221; the path to the QE binaries in .bashrc!  Grrr. 
When I tried to execute the QE binaries in the bin directory, bash reported it
couldn&#8217;t find the files.  That&#8217;s when I saw the executables had the
&#8220;l&#8221; attribute set and got thoroughly confused by the nomenclature&#8230;which
I still don&#8217;t completely understand why the &#8220;make&#8221; routine
does this&#8230;the &#8220;link&#8221; seems somewhat &#8220;recursive&#8221;
(incestuous?) in that the executable code is buried in what seems to be a &#8220;link.&#8221; 
In Windows, a .lnk really does point to a separate file.  BTW, Axel, if you do
a &#8220;cp pw.x xpw.x&#8221;, xpw.x loses the &#8220;l&#8221; attribute and actually
does &#8220;look and feel like&#8221; an executable in ls &#8211;l and a KDE
file manager&#8230;and it does run when you have the pathing right.  For
newbies the best advice is to run example01 if they think they&#8217;ve got a
successful build&#8230;the run_example scripts &#8220;look around&#8221; and
make sure everything is found and pathed and more or less ignores .bashrc. 
Incidentally, whoever wrote the &#8220;configure&#8221; script deserves a case&#8230;or
two&#8230;of pinot grigio from the QE development staff.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>I did take Axel&#8217;s advice and ran &#8220;file&#8221;
against both pw.x and xpw.x and got the following (respectively):<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>pw.x:  symbolic link to &#8216;../PW/pw.x&#8217;  (Weird&#8230;my
comment&#8230;do they really mean &#8216;..PW/pw.o&#8217;?)<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>xpw.x:  ELF 32-bit LSB executable, Intel 80386, version 1
(SYSV), for GNU/Linux 2.6.8, dynamically linked (uses shared libs), not
stripped.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>OK, now on to agonies with the Intel compiler and (K)Ubuntu
7.10.  Axel, please go to the following posting: <a
href="http://ubuntuforums.org/showthread.php?p=3603521">http://ubuntuforums.org/showthread.php?p=3603521</a>. 
This is exactly the error that occurred with me on attempting an install of 10.0.023. 
You can see from the responses that apparently someone was able with a tour de
force effort to hack a fix.  (BTW, the Intel install complained as usual it
couldn&#8217;t find g++ and I had to go get the distro for that first.).  I
then tried backing off to 9.1.045 and got the same error message at a different
line in ./install.sh.  So Axel, you may be right&#8230;the problem could be in
the new Ubuntu  distro.  Incidentally, the install docs for the Intel Fortran
compiler do not mention Ubuntu as a tested platform&#8230;nor Debian, which is
really wild&#8230;only Red Hat and SUSE derivatives.  Re glibc, I don&#8217;t
really know where it sits in the directory structure (this is a issue I&#8217;ve
always had with Unix-derived OS&#8217;s vis-à-vis DOS/Windows, and the location
seems to change with the distro).  The Ubuntu repository doc lists it as
2.6.1-1ubuntu9.  Gcc and g++ seem to be around the GNU 4.2 level.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>I&#8217;ve had success on several of my machines using
openSUSE with Intel Fortran and the LAPACK/BLAS distributed with QE.  More
about that in a separate post.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Given all this new grief with Intel Fortran and Ubuntu
(which I will post to the respective user groups), I decided to try one of the
GNU distributions.  My understanding is that a &#8220;divorce&#8221; or &#8220;forking&#8221;
occurred several years ago between g95 and gfortran and the latter became the &#8220;official&#8221;
GNU release (I have no idea which of the three&#8230;ifort, g95 or gfortran&#8230;is
&#8220;best&#8221; for QE&#8230;can someone out there advise?).  Since I was
changing compilers, I thought I would also change math libraries (there is a
very cryptic remark in the QE UG that &#8220;&#8230;vendor-optimized libraries
can be used:  this often yields huge gains.&#8221;  Axel, I think you&#8217;re
the keeper of the libraries&#8230;which one(s) give the &#8220;hugest gains.&#8221;)
.  Because Intel Fortran install bombed, I was leery of trying Intel MLK.  I
did notice the Ubuntu repositories contained a package called lapack3 and refblas3,
so I downloaded and installed them.  I don&#8217;t think configure found them,
though, since a quick scan on config.log only picked up the flib .a archives
for lapack and blas.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>If I can figure out how to point configure to the lapack3
and refblas3 libs, I&#8217;ll test them against my favorite QE benchmark&#8230;example07.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><b><i><span style='font-size:13.5pt;font-family:"Comic Sans MS"'>Paul
M. Grant, PhD</span></i></b><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Principal,
W2AGZ Technologies</span></b><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Visiting
Scholar, Applied Physics, Stanford University</span></b><span style='font-size:
12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>EPRI
Science Fellow (Retired)</span></b><span style='font-size:12.0pt;font-family:
"Times New Roman","serif"'><o:p></o:p></span></p>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>IBM
Research Staff Member Emeritus</span></b><span style='font-size:12.0pt;
font-family:"Times New Roman","serif"'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><a
href="mailto:w2agz@pacbell.net"><b><span style='color:windowtext;text-decoration:
none'>w2agz@pacbell.net</span></b></a></span><span style='font-size:12.0pt;
font-family:"Times New Roman","serif"'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><a
href="http://www.w2agz.com/"><b><span style='color:windowtext;text-decoration:
none'>http://www.w2agz.com</span></b></a></span><span style='font-size:12.0pt;
font-family:"Times New Roman","serif"'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>&nbsp;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>&nbsp;<o:p></o:p></span></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>