<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#333399" bgcolor="#CCCCFF">
    @Paolo,<br>
    <br>
    Thank you, but when I remove it I get tones of "undefined reference"
    related to Intel libraries.<br>
    <br>
    @Rolly,<br>
    <br>
    Thank you, but unfortunately that give rise to many  "undefined
    reference".<br>
    <br>
    @Filippo,<br>
    <br>
    Here is the log I initially got, thanks.<br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 11/16/2015 10:17 AM, Rolly Ng wrote:<br>
    </div>
    <blockquote cite="mid:002701d12014$f85e7630$e91b6290$@gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:宋体;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@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:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@宋体";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:#333399;}
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;}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:297688413;
        mso-list-template-ids:327966012;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:72.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:"Courier New";
        mso-bidi-font-family:"Times New Roman";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:108.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:144.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:180.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:216.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:252.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:288.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:324.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l1
        {mso-list-id:749928981;
        mso-list-template-ids:594693158;}
@list l1:level1
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:72.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:"Courier New";
        mso-bidi-font-family:"Times New Roman";}
@list l1:level3
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:108.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l1:level4
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:144.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l1:level5
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:180.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l1:level6
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:216.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l1:level7
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:252.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l1:level8
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:288.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l1:level9
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:324.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></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]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi
            Eric,<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Please
            try this,<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">./configure
            CC=icc CXX=icpc F90=ifort F77=ifort MPIF90=mpiifort \<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> 
            BLAS_LIBS="-lmkl_intel_lp64 -lmkl_sequential -lmkl_core" \<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> 
            SCALAPACK_LIBS="-lmkl_scalapack_lp64
            -lmkl_blacs_intelmpi_lp64" \<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> 
            FFT_LIBS="-lmkl_intel_lp64 -lmkl_sequential -lmkl_core"<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Rolly<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #B5C4DF
            1.0pt;padding:3.0pt 0cm 0cm 0cm">
            <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">
                <a class="moz-txt-link-abbreviated" href="mailto:pw_forum-bounces@pwscf.org">pw_forum-bounces@pwscf.org</a>
                [<a class="moz-txt-link-freetext" href="mailto:pw_forum-bounces@pwscf.org">mailto:pw_forum-bounces@pwscf.org</a>] <b>On Behalf Of </b>éric
                Germaneau<br>
                <b>Sent:</b> 2015</span><span
                style="font-size:10.0pt;font-family:宋体;color:windowtext"
                lang="ZH-CN">年</span><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">11</span><span
                style="font-size:10.0pt;font-family:宋体;color:windowtext"
                lang="ZH-CN">月</span><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">10</span><span
                style="font-size:10.0pt;font-family:宋体;color:windowtext"
                lang="ZH-CN">日</span><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">
                19:21<br>
                <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:pw_forum@pwscf.org">pw_forum@pwscf.org</a><br>
                <b>Subject:</b> [Pw_forum] 5.2.1 release building issue<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Dear all,<br>
          <br>
          I'm using Intel compiler 15.0,  MKL 11.2, and IMPI 5.0.1 to
          compile QE version 5.2.1 but getting the error bellow:<o:p></o:p></p>
        <p class="MsoNormal"><tt><span
              style="font-size:10.0pt;color:#330099">.....</span></tt><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:#330099"><br>
            <tt>a - iotk_xtox_interf.o</tt><br>
            <tt>ranlib libiotk.a</tt><br>
            <tt>mpiifort -O3 -xhost -openmp -mkl -nomodule -openmp -fpp
              -D__INTEL -D__FFTW -D__MPI -D__PARA -D__OPENMP  
              -I../include  -c iotk_print_kinds.f90</tt><br>
            <tt>make loclib_only</tt><br>
            <tt>make[3]: Entering directory
              `/path/to/QE/5.2.1/espresso-5.2.1/S3DE/iotk/src'</tt><br>
            <tt>make[3]: Nothing to be done for `loclib_only'.</tt><br>
            <tt>make[3]: Leaving directory
              `/path/to/QE/5.2.1/espresso-5.2.1/S3DE/iotk/src'</tt><br>
            <tt>xild -static-intel  -openmp -o iotk_print_kinds.x
              iotk_print_kinds.o libiotk.a   </tt><br>
            <tt>ipo: warning #11016: Warning unknown option
              -static-intel</tt><br>
            <tt>xild: executing 'ld'</tt><br>
            <tt>ld: unrecognized -a option `tic-intel'</tt><br>
            <tt>make[2]: *** [iotk_print_kinds.x] Error 1</tt><br>
            <tt>make[2]: Leaving directory
              `/path/to/QE/5.2.1/espresso-5.2.1/S3DE/iotk/src'</tt><br>
            <tt>make[1]: *** [libiotk] Error 2</tt><br>
            <tt>make[1]: Leaving directory
              `/path/to/QE/5.2.1/espresso-5.2.1/install'</tt><br>
            <tt>make: *** [libiotk] Error 2</tt></span><o:p></o:p></p>
        <p class="MsoNormal">Here is how I proceed:<o:p></o:p></p>
        <p class="MsoNormal"><tt><span style="font-size:10.0pt">export
              CC="icc"</span></tt><span
            style="font-size:10.0pt;font-family:"Courier New""><br>
            <tt>export FC="ifort"</tt><br>
            <tt>export MPIF90="mpiifort"</tt><br>
            <tt>export CFLAGS="-O3 -xhost -openmp -mkl"</tt><br>
            <tt>export FFLAGS="-O3 -xhost -openmp -mkl"</tt><br>
            <tt>./configure --enable-parallel --enable-openmp
              --without-scalapack</tt><br>
            <tt>make pw</tt></span><o:p></o:p></p>
        <p class="MsoNormal" style="margin-bottom:12.0pt">I'm wondering
          if someone else also got this error.<br>
          <br>
          Thank you.<o:p></o:p></p>
        <div>
          <p class="MsoNormal">-- <br>
            Éric Germaneau (<span style="font-family:宋体" lang="ZH-CN">艾海
              克</span>), Specialist<br>
            Center for High Performance Computing<br>
            Shanghai Jiao Tong University<br>
            Room 205 Network Center, 800 Dongchuan Road, Shanghai 200240
            China<br>
            <a moz-do-not-send="true"
              href="mailto:Email:germaneau@sjtu.edu.cn">Email:germaneau@sjtu.edu.cn</a>
            Mobi:+86-136-4161-6480 <a moz-do-not-send="true"
              href="http://hpc.sjtu.edu.cn">http://hpc.sjtu.edu.cn</a> <o:p></o:p></p>
        </div>
        <div id="translator-popup">
          <div id="translator-popup-toolbar">
            <div id="translator-popup-title">
              <div id="translator-popup-source-languages-wrapper">
                <ul type="disc">
                  <li class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0
                    level1 lfo1">Chinese (Simplified) - detected<o:p></o:p></li>
                  <li class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0
                    level1 lfo1">English<o:p></o:p></li>
                  <li class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0
                    level1 lfo1">Chinese (Simplified)<o:p></o:p></li>
                </ul>
              </div>
              <div id="translator-popup-target-languages-wrapper">
                <ul type="disc">
                  <li class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1
                    level1 lfo2">English<o:p></o:p></li>
                  <li class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1
                    level1 lfo2">Chinese (Simplified)<o:p></o:p></li>
                </ul>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Pw_forum mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a>
<a class="moz-txt-link-freetext" href="http://pwscf.org/mailman/listinfo/pw_forum">http://pwscf.org/mailman/listinfo/pw_forum</a></pre>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <font color="#333399">
        Éric Germaneau (艾海克), Specialist<br>
        Center for High Performance Computing<br>
        Shanghai Jiao Tong University<br>
        Room 205 Network Center, 800 Dongchuan Road, Shanghai 200240
        China<br>
        <a class="moz-txt-link-abbreviated" href="mailto:Email:germaneau@sjtu.edu.cn">Email:germaneau@sjtu.edu.cn</a> Mobi:+86-136-4161-6480
        <a class="moz-txt-link-freetext" href="http://hpc.sjtu.edu.cn">http://hpc.sjtu.edu.cn</a>
      </font>
    </div>
  </body>
</html>