[Wien] error while loading shared libraries: libmkl_lapack.so: cannot open shared object file

Laurence Marks L-marks at northwestern.edu
Tue Dec 27 20:21:50 CET 2011


Use -i-static to compile the intel mkl libraries as static not shared
as a simple fix. (You may need to read the ifort man page to check
that this works with this version.) Alternatively you will need to
ensure that the LIBRARY environmental variable or ld.so.conf is setup
correctly which are both "easy" but I would go with static
compilation.

2011/12/27 sufyan <sufeer03 at gmail.com>:
> Dears users,
>  i need your help ,i re-installe   WIEN11.1 on (opensuse, INTEL I5 64) using
> intel Compiler 11.1 064 and  mkl composerxe-2011.4.191 with
> the option "-lmkl_lapack -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core
> -lpthread -lguide" there is no openmp in this version"mkl
> composerxe-2011.4.191"
> but when i run the example of TiC in the user guide    i have:
>
> TiC;run_lapw -ec 0.0001 -NI
>
> /home/sufyan2020/WIENROOT/lapw0: error while loading shared libraries:
> libmkl_lapack.so: cannot open shared object file: No such file or directory
>
>>   stop error
>
> i checked   the environment variables , the path of intel Compiler 11.1 064
> and  mkl composerxe-2011.4.191 and also the libs in mkl
> ~composerxe-2011.4.191/mkl/lib/intel64> ls
> libmkl_avx.so                   libmkl_gf_ilp64.so
> libmkl_pgi_thread.so
> libmkl_blacs_ilp64.a            libmkl_gf_lp64.a         libmkl_rt.so
> libmkl_blacs_intelmpi_ilp64.a   libmkl_gf_lp64.so
> libmkl_scalapack_ilp64.a
> libmkl_blacs_intelmpi_ilp64.so  libmkl_gnu_thread.a
> libmkl_scalapack_ilp64.so
> libmkl_blacs_intelmpi_lp64.a    libmkl_gnu_thread.so
> libmkl_scalapack_lp64.a
> libmkl_blacs_intelmpi_lp64.so   libmkl_intel_ilp64.a
> libmkl_scalapack_lp64.so
> libmkl_blacs_lp64.a             libmkl_intel_ilp64.so    libmkl_sequential.a
> libmkl_blacs_openmpi_ilp64.a    libmkl_intel_lp64.a
> libmkl_sequential.so
> libmkl_blacs_openmpi_lp64.a     libmkl_intel_lp64.so
> libmkl_solver_ilp64.a
> libmkl_blacs_sgimpt_ilp64.a     libmkl_intel_sp2dp.a
> libmkl_solver_ilp64_sequential.a
> libmkl_blacs_sgimpt_lp64.a      libmkl_intel_sp2dp.so
> libmkl_solver_lp64.a
> libmkl_blas95_ilp64.a           libmkl_intel_thread.a
> libmkl_solver_lp64_sequential.a
> libmkl_blas95_lp64.a            libmkl_intel_thread.so   libmkl_vml_avx.so
> libmkl_cdft_core.a              libmkl_lapack95_ilp64.a  libmkl_vml_def.so
> libmkl_cdft_core.so             libmkl_lapack95_lp64.a   libmkl_vml_mc2.so
> libmkl_core.a                   libmkl_mc3.so            libmkl_vml_mc3.so
> libmkl_core.so                  libmkl_mc.so             libmkl_vml_mc.so
> libmkl_def.so                   libmkl_p4n.so            libmkl_vml_p4n.so
> libmkl_gf_ilp64.a               libmkl_pgi_thread.a      locale
>
>   thanks
> sufyan naji
>
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
>



-- 
Professor Laurence Marks
Department of Materials Science and Engineering
Northwestern University
www.numis.northwestern.edu 1-847-491-3996
"Research is to see what everybody else has seen, and to think what
nobody else has thought"
Albert Szent-Gyorgi


More information about the Wien mailing list