<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">undefined reference to `ssteqr_' =>
      I believe that is a lapack function.  I don't see the lapack
      library (-lmkl_lapack95_lp64) in the mpif90 line of your post.<br>
      <br>
      In siteconfig, the -lmkl_lapack95_lp64 should be in your serial
      R_LIB settings.  Then, $(R_LIBS) should be in your parallel RP_LIB
      settings similar to what you see in the post at:<br>
      <br>
<a class="moz-txt-link-freetext" href="http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg07331.html">http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg07331.html</a><br>
      <br>
      On 2/28/2017 9:49 AM, ahmed amine wrote:<br>
    </div>
    <blockquote
cite="mid:DM2PR0201MB10860999C65F8D36DBAFB359F0560@DM2PR0201MB1086.namprd02.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
      <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;"
        dir="ltr">
        <div>
          <p>Hello, <br>
          </p>
          <p><br>
          </p>
          <p><span>I'm trying to compile Wien2k16.1 on cluster with </span></p>
          <div>intel/icc-12.1.3<br>
            intel/ifort-12.1.0 <br>
            <span>openmpi/2.0</span><br>
          </div>
          <span>fftw/3.3.5</span>
          <p><br>
            <b> <tt>I get the following </tt><tt>error</tt></b></p>
          <p><br>
          </p>
          mpif90 -o dstart_mpi module.o W2kinit.o  atom_read.o 
          atom_write.o atom_superpos.o charge.o cputim.o cub_xc_back.o
          deter.o dstart.o errclr.o errflg.o getfft.o gpoint.o gtfnam.o
          init.o integrn.o inter_superpos.o inter_write.o kapp.o
          kdelta.o ifflim.o make_inter.o make_neigh_list.o
          make_spheres.o normal.o old_dstart.o outerr.o recpr.o rgen.o
          rotate.o rotdef.o setn.o somm1.o somm2.o stern.o somm.o
          sortag.o suml.o sumfac.o SymmRot.o W2kutils.o ylm.o zfft3d.o 
          -O1 -FR -mp1 -w -prec_div -pc80 -pad -ip -DINTEL_VML
          -traceback -assume buffered_io
-I/opt/intel/composer_xe_2011_sp1.7.256/mkl:/opt/intel/composer_xe_2011_sp1.9.293/mkl/include
          -DFFTW3 -I/usr/lib64/fftw-3.3.5-mpi/include    
-L/opt/intel/composer_xe_2011_sp1.7.256/mkl:/opt/intel/composer_xe_2011_sp1.9.293/mkl/lib/
          -pthread  -lfftw3_mpi -lmkl_scalapack_lp64
          -lmkl_blacs_openmpi_lp64 <br>
          W2kinit.o: In function `w2kinit_':<br>
          W2kinit.F:(.text+0x517): undefined reference to `vmlsetmode_'<br>
          normal.o: In function `normal_':<br>
          normal.f:(.text+0x1cf): undefined reference to `zdscal_'<br>
/opt/intel/composer_xe_2011_sp1.9.293/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.a(blacs_extended.o):
          In function `MKL_BLACS_Deallocate':<br>
          _blacs_extended.c:(.text+0x702): undefined reference to
          `mkl_serv_deallocate'<br>
/opt/intel/composer_xe_2011_sp1.9.293/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.a(blacs_extended.o):
          In function `MKL_BLACS_ALLOCATE':<br>
          _blacs_extended.c:(.text+0x72e): undefined reference to
          `mkl_serv_allocate'<br>
/opt/intel/composer_xe_2011_sp1.9.293/mkl/lib/intel64/libmkl_scalapack_lp64.so:
          undefined reference to `ssteqr_'<br>
/opt/intel/composer_xe_2011_sp1.9.293/mkl/lib/intel64/libmkl_scalapack_lp64.so:
          undefined reference to `dsyr2k_'<br>
/opt/intel/composer_xe_2011_sp1.9.293/mkl/lib/intel64/libmkl_scalapack_lp64.so:
          undefined reference to `cscal_'</div>
      </div>
    </blockquote>
    <br>
  </body>
</html>