[Q-e-developers] wrong library dependence

mersadkhan mersadkhan at gmail.com
Sun Jan 8 11:26:09 CET 2017


Dear

I know that this is unusual and as a GNU/Linux  fun and also 2 years 
work with QE it was so strange for me too but fro making it clear my 
commands come in below.



|$uname -a $Linux test62.nhpcc.iut.ac.ir 2.6.32-504.16.2.el6.x86_64 #1 
SMP Wed Apr 22 06:48:29 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux $module 
load intel/compiler intel/mpi #this line load intel parallel studio 2015 |

|$./configure FC=mpiifort CC=mpiicc F77=mpiifort MPIF90=mpiifort 
CPP="mpiicpc -E" --prefix=/opt/QuantumEspresso/5.4.0i 
--with-scalapack=intel --enable-openmp $make install |

now if I command  "ldd pw.x" in the bin directory which is in source the 
result is below and everything is ok:

    linux-vdso.so.1 =>  (0x00007fff35fff000)
     libmkl_scalapack_lp64.so => 
/opt/intel/composer_xe_2015.0.090/mkl/lib/intel64/libmkl_scalapack_lp64.so 
(0x00007fb07ad64000)
     libmkl_blacs_intelmpi_lp64.so => 
/opt/intel/composer_xe_2015.0.090/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so 
(0x00007fb07ab28000)
     libmkl_intel_lp64.so => 
/opt/intel/composer_xe_2015.0.090/mkl/lib/intel64/libmkl_intel_lp64.so 
(0x00007fb07a21b000)
     libmkl_intel_thread.so => 
/opt/intel/composer_xe_2015.0.090/mkl/lib/intel64/libmkl_intel_thread.so 
(0x00007fb078e80000)
     libmkl_core.so => 
/opt/intel/composer_xe_2015.0.090/mkl/lib/intel64/libmkl_core.so 
(0x00007fb0773db000)
     libmpifort.so.12 => 
/opt/intel/impi/5.0.1.035/intel64/lib/libmpifort.so.12 (0x00007fb07714e000)
     libmpi_mt.so.12 => 
/opt/intel/impi/5.0.1.035/intel64/lib/libmpi_mt.so.12 (0x00007fb076a03000)
     libdl.so.2 => /lib64/libdl.so.2 (0x0000003d13c00000)
     librt.so.1 => /lib64/librt.so.1 (0x0000003d14400000)
     libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003d14000000)
     libm.so.6 => /lib64/libm.so.6 (0x0000003d13800000)
     libc.so.6 => /lib64/libc.so.6 (0x0000003d13400000)
     libgcc_s.so.1 => /opt/gcc/4.8.4/lib64/libgcc_s.so.1 
(0x00007fb0767d5000)
     /lib64/ld-linux-x86-64.so.2 (0x0000003d13000000)
but if do same in the |/opt/QuantumEspresso/5.4.0i| result is below:
     linux-vdso.so.1 =>  (0x00007fff81194000)
     libmkl_scalapack_lp64.so => 
/opt/intel/composer_xe_2015.0.090/mkl/lib/intel64/libmkl_scalapack_lp64.so 
(0x00007f98ee9c9000)
     libmkl_intel_lp64.so => 
/opt/intel/composer_xe_2015.0.090/mkl/lib/intel64/libmkl_intel_lp64.so 
(0x00007f98ee0bd000)
     libmkl_intel_thread.so => 
/opt/intel/composer_xe_2015.0.090/mkl/lib/intel64/libmkl_intel_thread.so 
(0x00007f98ecd21000)
     libmkl_core.so => 
/opt/intel/composer_xe_2015.0.090/mkl/lib/intel64/libmkl_core.so 
(0x00007f98eb27c000)
     libmpi_usempif08.so.11 => not found
     libmpi_usempi_ignore_tkr.so.6 => not found
     libmpi_mpifh.so.12 => not found
     libmpi.so.12 => /opt/intel/impi/5.0.1.035/intel64/lib/libmpi.so.12 
(0x00007f98eab34000)
     libm.so.6 => /lib64/libm.so.6 (0x0000003d13800000)
     libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003d14000000)
     libc.so.6 => /lib64/libc.so.6 (0x0000003d13400000)
     libgcc_s.so.1 => /opt/gcc/4.8.4/lib64/libgcc_s.so.1 
(0x00007f98ea91c000)
     libdl.so.2 => /lib64/libdl.so.2 (0x0000003d13c00000)
     librt.so.1 => /lib64/librt.so.1 (0x0000003d14400000)
     /lib64/ld-linux-x86-64.so.2 (0x0000003d13000000)
As you see  some library not found because I have not had them at all!!


On 01/08/2017 12:51 PM, Filippo Spiga wrote:
> Dear Mersad,
>
> On 8 Jan 2017, at 04:37, mersadkhan <mersadkhan at gmail.com> wrote:
>> In version 5.4 If we use prefix for the path which we want install QE and compile it by INTEL parallel studio the binaries file in source is correct but when you command "make install" the binaries in prefix path will be depended on some library which there is not on system at all. I think this is a bug.
> What you describe sounds very odd. The "make install" is a simple copy of binaries into a different location.
>
> I am quite sure the problem is not related to QE. Can you provide evidence of what you just described?
>
> Regards
>
> -- FS
>
> _______________________________________________
> Q-e-developers mailing list
> Q-e-developers at qe-forge.org
> http://qe-forge.org/mailman/listinfo/q-e-developers

-- 
- no title specified
Best regards
Mersad Mostaghimi

IRAN-Isfahan University of Technology

Quantum Simulation Of Matter Laboratory - Physics Department

National High Performance Computation Center

Mail:mersadkhan at gmail.com <mailto:Mail%3Amersadkhan at gmail.com>

Website:http://mmostaghimi.physics.iut.ac.ir/

Phone:+98-913-269-0903

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/developers/attachments/20170108/9ce17d39/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ionblojkgijfjlof.
Type: image/*
Size: 7285 bytes
Desc: not available
URL: <http://lists.quantum-espresso.org/pipermail/developers/attachments/20170108/9ce17d39/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: haiboklmffalkjep.
Type: image/*
Size: 5897 bytes
Desc: not available
URL: <http://lists.quantum-espresso.org/pipermail/developers/attachments/20170108/9ce17d39/attachment-0001.bin>


More information about the developers mailing list