<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Dear Peter,<br>
about the speed of gfortran+OpenBLAS and ifort+mkl:<br>
<br>
In my previous message I used the 8-thread processors i7 and xeon, respectively. When the same test is repeated on the same xeon machine, computing time is 132 min and 138 min, respectively.<br>
<br>
An amazing and hopeful result for poor researchers.<br>
<br>
Most of the computing time is consumed in lapw0, lapw1, and lapw2. The following table shows the storage occupied by the corresponding binary files,<br>
<br>
  binary   gfortran+OpenBLAS   ifort+mkl<br>
  lapw0    568 kB              2.2 MB<br>
  lapw1    344 kB              1.9 MB<br>
  lapw2    490 kB              2.2 MB<br>
<br>
The present test seems to indicate that the code refinement of ifort relative to gfortran is counterproductive for WIEN2k. But is the test result generally valid? More WIEN2k experience than mine is required for a response.<br>
<br>
Best regards / John<br>
<br>
</p>
<p><br>
</p>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> Wien <wien-bounces@zeus.theochem.tuwien.ac.at> on behalf of "Niedermayr, Arthur" <a.niedermayr@protonmail.com><br>
<b>Sent:</b> Wednesday, December 7, 2016 2:34 PM<br>
<b>To:</b> A Mailing list for WIEN2k users<br>
<b>Subject:</b> Re: [Wien] WIEN2k and gfortran</font>
<div> </div>
</div>
<div>
<div>Hello Mr. Rundgren,<br>
</div>
<div><br>
</div>
<div>I wanted to ask you, <b>why do I need</b> the link <b>/opt/OpenBLAS/include</b> in linker flags?<br>
</div>
<div>And what about <b>-lgfortran</b>, <b>-lpthread</b> and "<b>-I</b>" option?<u> What are they doing?</u><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>I am also using OpenBLAS with following options (without compilation errors):<br>
</div>
<div>L Linker Flags:         $(FOPT) -L../SRC_lib -L/opt/OpenBLAS/lib<br>
</div>
<div>R R_LIB (LAPACK+BLAS):  -llapack_lapw -lopenblas<br>
</div>
<div><br>
</div>
<div><u><i>Could I improve the calculation time of my program if I use your options?</i></u><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Best regards<br>
</div>
<div>Arthur Niedermayr<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Ps. I thought that the OpenBLAS library only replaces the BLAS library, but not the LAPACK library.<br>
</div>
<div><br>
</div>
<div class="protonmail_signature_block ">
<div class="protonmail_signature_block-user "><br>
</div>
<div class="protonmail_signature_block-proton protonmail_signature_block-empty"><br>
</div>
</div>
<div><br>
</div>
<blockquote type="cite" class="protonmail_quote">
<div>-------- Original Message --------<br>
</div>
<div>Subject: [Wien] WIEN2k and gfortran<br>
</div>
<div>Local Time: 5. Dezember 2016 11:54 AM<br>
</div>
<div>UTC Time: 5. Dezember 2016 10:54<br>
</div>
<div>From: jru@kth.se<br>
</div>
<div>To: wien@zeus.theochem.tuwien.ac.at <wien@zeus.theochem.tuwien.ac.at><br>
</div>
<div><br>
</div>
<div><br>
</div>
<p></p>
<div>Dear WIEN2k team,<br>
</div>
<div><br>
</div>
<div>siteconfig and User's Guide can be updated concerning gfortran and BLAS:<br>
</div>
<div><br>
</div>
<div> L Linker Flags:         $(FOPT) -I /opt/OpenBLAS/include -L/opt/OpenBLAS/lib<br>
</div>
<div> R R_LIB (LAPACK+BLAS):  -lopenblas -lpthread -lgfortran<br>
</div>
<div><br>
</div>
<div>OpenBLAS being available from the sites<br>
</div>
<div><br>
</div>
<div>www.openblas.net and https://github.com/xianyi/OpenBLAS/wiki/Installation-Guide<br>
</div>
<div><br>
</div>
<div>In a test taking 2.5 h/iteration gfortran/ifort time was 1.3. A current test got interesting when one of my disks containing ifort crashed.<br>
</div>
<div><br>
</div>
<div>Regards,<br>
</div>
<div>John Rundgren <span class="size" style="font-size:13px"></span><br>
</div>
<p></p>
<span class="size" style="font-size:13px">
<div class="PlainText"><br>
</div>
</span>
<p><br>
</p>
<div>
<div class="BodyFragment"><br>
</div>
</div>
</blockquote>
<div><br>
</div>
</div>
</div>
</body>
</html>