<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>See the Intel MKL Link Line Advisor:<br>
    </p>
    <p><a class="moz-txt-link-freetext" href="https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor">https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor</a><br>
    </p>
    In the "Select dynamic or static linking" drop down box, you could
    select "Static" instead of "Dynamic".<br>
    <br>
    <div class="moz-cite-prefix">On 10/10/2017 10:20 AM, Nacir GUECHI
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:2099015724.8886858.1507652445706@mail.yahoo.com">
      <div style="font-family:times new roman, new york, times,
        serif;font-size:16px;">
        <div>
          <div>Dear wien2k users,</div>
          <div class="">I want to install wien2k-17 version with static
            linking of all libraries. so, how set <b>compiler options</b>,
            <b>Linker Flags</b>, <b>Preprocessor flags</b> and <b>R_LIBS
              (</b><g class="gr_ gr_165 gr-alert gr_gramm
              gr_inline_cards gr_run_anim Style multiReplace" id="165"
              data-gr-id="165"><b>LAPACK+BLAS</b>) ?</g></div>
        </div>
        <div>-----------------------------</div>
        <div class=""><g class="gr_ gr_241 gr-alert gr_tiny gr_spell
            gr_inline_cards gr_run_anim ContextualSpelling multiReplace"
            id="241" data-gr-id="241">i</g> used for dynamic compilation
          <g class="gr_ gr_396 gr-alert gr_spell gr_inline_cards
            gr_run_anim ContextualSpelling" id="396" data-gr-id="396">ifort</g>
          and <g class="gr_ gr_395 gr-alert gr_spell gr_inline_cards
            gr_run_anim ContextualSpelling ins-del multiReplace"
            id="395" data-gr-id="395">icc</g>  (version 15) with the
          following settings:</div>
        <div class=""><br>
        </div>
        <div class=""><b>O   Compiler options</b>:    <font size="2">-O1
            -FR -mp1 -w -prec_div -pc80 -pad -<g class="gr_ gr_657
              gr-alert gr_spell gr_inline_cards gr_run_anim
              ContextualSpelling ins-del multiReplace" id="657"
              data-gr-id="657">ip</g> -DINTEL_VML -traceback -assume
            buffered_io -I$(MKLROOT)/include</font><br>
           <b> L   Linker Flags</b>:     <font size="2"> $(FOPT)
            -L$(MKLROOT)/lib/$(MKL_TARGET_ARCH) -pthread</font><br>
            <b>P   Preprocessor flags</b>       <font size="2">'-DParallel'</font><br>
          <div>  <b>R   R_LIBS (LAPACK+BLAS)</b>:   <font size="2">
              -lmkl_lapack95_lp64 -lmkl_intel_lp64 -lmkl_intel_thread
              -lmkl_core -openmp -lpthread</font></div>
          <div><font size="2">---------------------------------<br>
            </font></div>
          <div><font size="2"><br>
            </font></div>
          <div><font class="" size="3">Best regards;</font></div>
          <div><font size="3">N. GUECHI<br>
            </font></div>
        </div>
      </div>
    </blockquote>
  </body>
</html>