Hi HTH,

Thanks for your reply. However, that's not the key. Before posting this question, I've tested what you said and it gave same errors.

Bests
Fang


< Lorenzo Paulatto> 2015-09-12 20:31:48 wrote:

You must not put the ".a" in library names

HTH

Lorenzo Paulatto - Paris

On 12 Sep 2015 2:23 pm, "Yue-Wen Fang" <[email protected]> wrote:
Dear all,

I moved to a new HPC, hence need install QE from scratch. 

In configuration step, the MKL lib that I need  was found successfully as shown below:

The following libraries have been found:
  BLAS_LIBS=-L/opt/intel/mkl/10.2.5.035/lib/em64t -lmkl_blas95_lp64.a -lmkl_core.a -lmkl_sequential.a
  LAPACK_LIBS=-L/opt/intel/mkl/10.2.5.035/lib/em64t -lmkl_lapack95_lp64.a
  SCALAPACK_LIBS=-L/opt/intel/mkl/10.2.5.035/lib/em64t -lmkl_scalapack_lp64.a
  FFT_LIBS=
Please check if this is what you expect.

The second step followed as make all. However, it gave some errors about scalapack.

           pwscf.o  libpw.a ../../Modules/libqemod.a ../../flib/ptools.a ../../flib/flib.a ../../clib/clib.a ../../iotk/src/libiotk.a -L/opt/intel/mkl/10.2.5.035/lib/em64t -lmkl_scalapack_lp64.a -L/opt/intel/mkl/10.2.5.035/lib/em64t -lmkl_lapack95_lp64.a  -L/opt/intel/mkl/10.2.5.035/lib/em64t -lmkl_blas95_lp64.a -lmkl_core.a -lmkl_sequential.a
ld: cannot find -lmkl_scalapack_lp64.a
make[2]: *** [pw.x] Error 1
make[2]: Leaving directory `/home/user/pwscf/espresso-5.0.2/PW/src'
make[1]: *** [pw] Error 2
make[1]: Leaving directory `/home/user/pwscf/espresso-5.0.2/PW'
make: *** [pw] Error 2

I am very sure that there are libmkl_scalapack_lp64.a, libmkl_scalapack_lp64.so files in this directory and they can work for other programs.

Has anyone encountered with this error before? I googled this error but hasn't get a solution. Hope to get some advice here.

Thank you!

Bests
Fang
--
------------------------------------------------------------------------------------------------------------

_______________________________________________
Pw_forum mailing list
[email protected]
http://pwscf.org/mailman/listinfo/pw_forum
_______________________________________________
Pw_forum mailing list
[email protected]
http://pwscf.org/mailman/listinfo/pw_forum

Reply via email to