<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>As far as I know, you cannot mix libraries compiled with ifort or
      with GNU compilers. At least in previous times, the objects would
      have one or 2 "_" in their reference and it would not fit
      together.</p>
    <p>Maybe there are some options to fix this, but I do not know.</p>
    <p><br>
    </p>
    <p>My recommendations is therefore:   choose either Intel or GNU
      compilers.</p>
    <p><br>
    </p>
    <p>For Intel you have to compile FFTW3 and ELPA yourself (see also
      the instructions in the UG, these are always only 3 commands and
      it is not so difficult) and can use the mkl for the rest.</p>
    <p><br>
    </p>
    <p>For GNU you can use the Openblas and the corresponding Linux
      packages (if they exist) or you compile yourself with GNU. I don't
      know (but doubt) if you can link the mkl-blas,... with GNU, but
      you don't need mkl, because openblas is (almost) as good as mkl
      and "GNU-scalapack" comes with Linux.   <br>
    </p>
    <p><br>
    </p>
    <p>When using Intel, you can use either Intelmpi or Openmpi, but the
      name of the mkl blacks-library is different for the 2 mpi
      versions.</p>
    <p><br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">Am 05.06.2023 um 10:45 schrieb Ilias
      Miroslav, doc. RNDr., PhD.:<br>
    </div>
    <blockquote type="cite"
cite="mid:VI1PR0702MB35661214E1499BC60C47B194F74DA@VI1PR0702MB3566.eurprd07.prod.outlook.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof
        ContentPasted0">
        Ad: <a
href="https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg22466.html"
          id="LPlnk412195" moz-do-not-send="true"
          class="moz-txt-link-freetext">
https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg22466.html</a>
        <br>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof
        ContentPasted0">
        <br>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof
        ContentPasted0">
        Dear Professor Blaha, <br>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof
        ContentPasted0">
        <br>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof
        ContentPasted0">
        thanks for your answer. So to get Wien2k compiled with intel
        compilers, one needs FFTW3 and ELPA compiled with Intel
        compilers.</div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof
        ContentPasted0">
        <br>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof
        ContentPasted0">
        Now the question is : if I use  OpenMPI with FFTW3 and ELPA
        libraries compiled with GNU compilers, will the MKL libraries -
        blas,lapack, plus  scalapack and blacs work, right  ?</div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof
        ContentPasted0">
        <br>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof
        ContentPasted0">
        Best, Miro<br>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Wien mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Wien@zeus.theochem.tuwien.ac.at">Wien@zeus.theochem.tuwien.ac.at</a>
<a class="moz-txt-link-freetext" href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a>
SEARCH the MAILING-LIST at:  <a class="moz-txt-link-freetext" href="http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html">http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
-----------------------------------------------------------------------
Peter Blaha,  Inst. f. Materials Chemistry, TU Vienna, A-1060 Vienna
Phone: +43-158801165300
Email: <a class="moz-txt-link-abbreviated" href="mailto:peter.blaha@tuwien.ac.at">peter.blaha@tuwien.ac.at</a>          
WWW:   <a class="moz-txt-link-freetext" href="http://www.imc.tuwien.ac.at">http://www.imc.tuwien.ac.at</a>      WIEN2k: <a class="moz-txt-link-freetext" href="http://www.wien2k.at">http://www.wien2k.at</a>
-------------------------------------------------------------------------</pre>
  </body>
</html>