[Wien] Wien Installation

Gavin Abo gsabo at crimson.ua.edu
Mon Jun 22 13:35:31 CEST 2020


Below it looks like the compiler shows you exactly what is wrong:

/usr/bin/ld: cannot find -llibscalapack.a

Most likely either the

SCALAPACK_LIBNAME: libscalapack.a

needs changed to use the dynamic scalapack library

SCALAPACK_LIBNAME: scalapack

to have -lscalapack or you might have to try to leave it blank to use 
the static scalapack library

/home/username/scalapack-2.1.0/libscalapack.a

seen in your output.


On 6/22/2020 3:43 AM, 晨晨 wrote:
>
> Thank you for your reply.
>
> I am installing wien version 19.2 on Linux with gfortran and OpenBlas.
>
> 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)!:”.
>
> In addition, when the settings are as the following, there are some 
> errors.
>
> Settings:
>
> SCALAPACKROOT:/home/username/scalapack-2.1.0/
>
> SCALAPACK_LIBNAME: libscalapack.a
>
> BLACSROOT: /home/username/BLACS/LIB
>
> BLACS_LIBNAME: blacs_MPI-LINUX-0.a
>
> MKL_TARGET_ARCH: /home/username/scalapack-2.1.0/libscalapack.a
>
> Some errors:
>
> -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  /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 
>
> /usr/bin/ld: cannot find -llibscalapack.a
> collect2: error: ld returned 1 exit status
> make[1]: *** [hfc_mpi] Error 1
> make[1]: Leaving directory `/home-yg/users/YG_cheny/Soft/19.2/SRC_hf'
> make: *** [cp] Error 2
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20200622/2bf8faec/attachment.html>


More information about the Wien mailing list