<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb18030">
  </head>
  <body>
    <p>Below it looks like the compiler shows you exactly what is wrong:<br>
    </p>
    <p>/usr/bin/ld: cannot find -l<font color="#ff0000">libscalapack.a</font></p>
    <p>Most likely either the<br>
    </p>
    <p>SCALAPACK_LIBNAME: libscalapack.a<br>
    </p>
    <p>needs changed to use the dynamic scalapack library<br>
    </p>
    <p>SCALAPACK_LIBNAME: scalapack</p>
    <p>to have -lscalapack or you might have to try to leave it blank to
      use the static scalapack library<br>
    </p>
    <p>/home/username/scalapack-2.1.0/libscalapack.a<br>
    </p>
    <p>seen in your output.<br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 6/22/2020 3:43 AM, 晨晨 wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:tencent_02141AC21F6266C49FF8029516E271D50C06@qq.com">
      <meta http-equiv="Content-Type" content="text/html;
        charset=gb18030">
      <div>
        <p class="MsoNormal"><span lang="EN-US">Thank you for your
            reply.<o:p></o:p></span></p>
        <p class="MsoNormal">I am installing wien version 19.2 on Linux
          with gfortran and OpenBlas.</p>
        <p class="MsoNormal">In the “Specify ScaLAPACK settings”, I
          would like to know how to set the part of “Please specify the
          target
          architecture of your ScaLAPACK libraries (e.g. intel64)!:”.</p>
        <p class="MsoNormal"><span lang="EN-US">In addition, when the
            settings are as the
            following, there are some errors.<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">Settings:<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">SCALAPACKROOT:/home/username/scalapack-2.1.0/<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">SCALAPACK_LIBNAME:
            libscalapack.a<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">BLACSROOT:
            /home/username/BLACS/LIB<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">BLACS_LIBNAME:
            blacs_MPI-LINUX-0.a<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">MKL_TARGET_ARCH:
            /home/username/scalapack-2.1.0/libscalapack.a<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">Some errors:<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">-ftree-vectorize
            -march=native
            -ffree-line-length-none -ffpe-summary=none -DFFTW3
            -I/home-yg/users/YG_cheny/Soft/fftw-3.3.6-pl2/gcc820/include
            -fopenmp
            -L../SRC_lib
            -L/home-yg/users/YG_cheny/Soft/fftw-3.3.6-pl2/gcc820/lib
            -lfftw3</span>  /home-yw/soft/packagedir/Openblas-0.39/gcc820/lib/libopenblas.so
-L/home-yg/users/YG_cheny/Soft/scalapack-2.1.0//home-yg/users/YG_cheny/Soft/scalapack-2.1.0/libscalapack.a
          -llibscalapack.a
-L/home-yg/users/YG_cheny/Soft/BLACS/LIB//home-yg/users/YG_cheny/Soft/scalapack-2.1.0/libscalapack.a-lblacs_MPI-LINUX-0.a  <br>
          /usr/bin/ld: cannot find -llibscalapack.a<br>
          collect2: error: ld returned 1 exit status<br>
          make[1]: *** [hfc_mpi] Error 1<br>
          make[1]: Leaving directory
          `/home-yg/users/YG_cheny/Soft/19.2/SRC_hf'<br>
          make: *** [cp] Error 2</p>
      </div>
    </blockquote>
    <blockquote type="cite"
      cite="mid:tencent_02141AC21F6266C49FF8029516E271D50C06@qq.com">
    </blockquote>
  </body>
</html>