Probleme avec Lapack en fortran 90
matthieuabristol
-
salma fawaze -
salma fawaze -
Bonjour,
Je compile un programme pour diagonaliser une matrice en fortran 90, j'utilise la sub routine zheev de Lapack, sa compile tres bien mais apres quand je veux executer l,executable a.out j,ai un message d'erreur du type : a.out: error while loading shared libraries: libmkl_lapack.so: cannot open shared object file: No such file or directory.
Je comprend pas car libmkl_lapack.so est avec toute les autres librairie Lapack.
Merci de votre aide,
Matthieu
Je compile un programme pour diagonaliser une matrice en fortran 90, j'utilise la sub routine zheev de Lapack, sa compile tres bien mais apres quand je veux executer l,executable a.out j,ai un message d'erreur du type : a.out: error while loading shared libraries: libmkl_lapack.so: cannot open shared object file: No such file or directory.
Je comprend pas car libmkl_lapack.so est avec toute les autres librairie Lapack.
Merci de votre aide,
Matthieu
A voir également:
- Probleme avec Lapack en fortran 90
- Fortran 90 download - Forum Programmation
- Tableau de combinaison loto 5/90 - Forum Logiciels
- Je voudrai avoir toutes les combinaisons possibles du 5/90 merci - Forum Excel
- Na nananana nananana nanana nanana musique 90 ✓ - Forum Musique / Radio / Clip
- Cherche vieille techno retro: nana nananana nana let's on crazy ✓ - Forum Musique / Radio / Clip
10 réponses
hello
en exécutant ldd a.out le chemin de la librairie est correct ?
la variable LD_LIBRARY_PATH est correct ?
en exécutant ldd a.out le chemin de la librairie est correct ?
la variable LD_LIBRARY_PATH est correct ?
merci pour ta reponce, mais sa ne marche pas je pence que c'est un probleme de PATH car j'obtient le message suivant: matthieu@theo1-pc8:~/Desktop/Factorisation/prog> ldd a.out
libmkl_lapack.so => not found
libguide.so => /opt/intel/fce/10.0.025/lib/libguide.so (0x00002ad43a7b6000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00002ad43a98b000)
libm.so.6 => /lib64/libm.so.6 (0x00002ad43aba7000)
libc.so.6 => /lib64/libc.so.6 (0x00002ad43adfd000)
/lib64/ld-linux-x86-64.so.2 (0x00002ad43a76d000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00002ad43b13f000)
libdl.so.2 => /lib64/libdl.so.2 (0x00002ad43b34e000)
Dois je changer le PATH dans le bachrc et si oui comment ?
j'ai encore une autre question : sa fait quoi la commande ldd ?
Merci d'avence pour ta reponce,
Matthieu
libmkl_lapack.so => not found
libguide.so => /opt/intel/fce/10.0.025/lib/libguide.so (0x00002ad43a7b6000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00002ad43a98b000)
libm.so.6 => /lib64/libm.so.6 (0x00002ad43aba7000)
libc.so.6 => /lib64/libc.so.6 (0x00002ad43adfd000)
/lib64/ld-linux-x86-64.so.2 (0x00002ad43a76d000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00002ad43b13f000)
libdl.so.2 => /lib64/libdl.so.2 (0x00002ad43b34e000)
Dois je changer le PATH dans le bachrc et si oui comment ?
j'ai encore une autre question : sa fait quoi la commande ldd ?
Merci d'avence pour ta reponce,
Matthieu
ldd - print shared library dependencies
ldd affiche les librairies dont a besoin un exécutable.
c'est la variable LD_LIBRARY_PATH qui définit la location des librairies.
en bash: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path de libmkl_lapack.so
ldd affiche les librairies dont a besoin un exécutable.
c'est la variable LD_LIBRARY_PATH qui définit la location des librairies.
en bash: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path de libmkl_lapack.so
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question
Bonjour,
Pour echos... sa repond :
/opt/intel/fce/10.0.025/lib:/opt/intel/cce/10.0.025/lib:/opt/intel/fce/10.0.025/lib:/opt/intel/cce/10.0.025/lib:/net/software/pgi_5.2/linux86-64/5.2/lib::/net/software/lf9562/lib:/usr/lib64/gcc/x86_64-suse-linux/4.0.2:/opt/intel/mkl/9.1/lib/em64t/libmkl_lapack.so:/opt/intel/idbe/10.0.025/bin:/opt/intel/fce/10.0.025/bin:/opt/intel/cce/10.0.025/bin:.:/home/matthieu/bin:/opt/intel/fc/10.0.025/bin:/opt/intel/idbe/10.0.025/bin:/opt/intel/fce/10.0.025/bin:/opt/intel/cce/10.0.025/bin:.:/home/matthieu/bin:/opt/intel/fc/10.0.025/bin:/net/software/pgi_5.2/linux86-64/5.2/bin:./:/home/matthieu/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib64/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/lib/qt3/bin:/net/software/mpich-1.2.6/bin:/net/software/maple4/bin:/net/software/maple5/bin:/net/software/maple6/bin:/net/software/maple7/bin:/net/software/maple8/bin:/net/software/maple9/bin:/net/software/maple9.5/bin:/net/software/maple10/bin:/net/software/lf9562/bin:/net/software/nedit-5.4-linux-x86:/net/software/gOpenMol-2.32/bin:/net/software/matlab/bin:/net/software/intel/64bit/bin
...
je comprend pas car j'ai verifier la librairie est bien a cet endroi
pour ldconfig j'ai pas trouver libmkl dans la liste
Pour echos... sa repond :
/opt/intel/fce/10.0.025/lib:/opt/intel/cce/10.0.025/lib:/opt/intel/fce/10.0.025/lib:/opt/intel/cce/10.0.025/lib:/net/software/pgi_5.2/linux86-64/5.2/lib::/net/software/lf9562/lib:/usr/lib64/gcc/x86_64-suse-linux/4.0.2:/opt/intel/mkl/9.1/lib/em64t/libmkl_lapack.so:/opt/intel/idbe/10.0.025/bin:/opt/intel/fce/10.0.025/bin:/opt/intel/cce/10.0.025/bin:.:/home/matthieu/bin:/opt/intel/fc/10.0.025/bin:/opt/intel/idbe/10.0.025/bin:/opt/intel/fce/10.0.025/bin:/opt/intel/cce/10.0.025/bin:.:/home/matthieu/bin:/opt/intel/fc/10.0.025/bin:/net/software/pgi_5.2/linux86-64/5.2/bin:./:/home/matthieu/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib64/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/lib/qt3/bin:/net/software/mpich-1.2.6/bin:/net/software/maple4/bin:/net/software/maple5/bin:/net/software/maple6/bin:/net/software/maple7/bin:/net/software/maple8/bin:/net/software/maple9/bin:/net/software/maple9.5/bin:/net/software/maple10/bin:/net/software/lf9562/bin:/net/software/nedit-5.4-linux-x86:/net/software/gOpenMol-2.32/bin:/net/software/matlab/bin:/net/software/intel/64bit/bin
...
je comprend pas car j'ai verifier la librairie est bien a cet endroi
pour ldconfig j'ai pas trouver libmkl dans la liste
que répond ls -l /opt/intel/mkl/9.1/lib/em64t/libmkl_lapack.so
ldconfig permet de gérer la liste des lib à charger, comme avec LD_LIBRARY_PATH
que répond file .a.out ?
que répond ldd a.out avec le bon LD_LIBRARY_PATH
mais il y a un mélange dans LD_LIBRARY_PATH , il ya des bin de PATH, c'est pas bon
changer /opt/intel/mkl/9.1/lib/em64t/libmkl_lapack.so par /opt/intel/mkl/9.1/lib/em64t/
LD_LIBRARY_PATH est un liste de répértoires pas de fichiers
ldconfig permet de gérer la liste des lib à charger, comme avec LD_LIBRARY_PATH
que répond file .a.out ?
que répond ldd a.out avec le bon LD_LIBRARY_PATH
mais il y a un mélange dans LD_LIBRARY_PATH , il ya des bin de PATH, c'est pas bon
changer /opt/intel/mkl/9.1/lib/em64t/libmkl_lapack.so par /opt/intel/mkl/9.1/lib/em64t/
LD_LIBRARY_PATH est un liste de répértoires pas de fichiers
Bonjour,
a.out repond :
matthieu@theo1-pc8:~/Desktop/Factorisation/prog> ifort diago.f90 -L/opt/intel/mkl/9.1/lib/em64t -lmkl_lapack -lmkl_em64t -lguide -lpthread
matthieu@theo1-pc8:~/Desktop/Factorisation/prog> a.out
a.out: error while loading shared libraries: libmkl_lapack.so: cannot open share d object file: No such file or directory
matthieu@theo1-pc8:~/Desktop/Factorisation/prog> ldd a.out
libmkl_lapack.so => not found
libguide.so => /opt/intel/fce/10.0.025/lib/libguide.so (0x00002b8f4f02c0 00)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b8f4f200000)
libm.so.6 => /lib64/libm.so.6 (0x00002b8f4f41b000)
libc.so.6 => /lib64/libc.so.6 (0x00002b8f4f672000)
/lib64/ld-linux-x86-64.so.2 (0x00002b8f4efe2000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00002b8f4f9b4000)
libdl.so.2 => /lib64/libdl.so.2 (0x00002b8f4fbc2000)
file a.out repond :
matthieu@theo1-pc8:~/Desktop/Factorisation/prog> file a.out
a.out: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.4, dynamically linked (uses shared libs), for GNU/Linux 2.6.4, not stripped
et ls-l/opt/...:
matthieu@theo1-pc8:/> ls -l/opt/intel/mkl/9.1/lib/em64t/libmkl_lapack.so
ls: invalid option -- /
Merci encore pour t'occuper de mon probleme
a.out repond :
matthieu@theo1-pc8:~/Desktop/Factorisation/prog> ifort diago.f90 -L/opt/intel/mkl/9.1/lib/em64t -lmkl_lapack -lmkl_em64t -lguide -lpthread
matthieu@theo1-pc8:~/Desktop/Factorisation/prog> a.out
a.out: error while loading shared libraries: libmkl_lapack.so: cannot open share d object file: No such file or directory
matthieu@theo1-pc8:~/Desktop/Factorisation/prog> ldd a.out
libmkl_lapack.so => not found
libguide.so => /opt/intel/fce/10.0.025/lib/libguide.so (0x00002b8f4f02c0 00)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b8f4f200000)
libm.so.6 => /lib64/libm.so.6 (0x00002b8f4f41b000)
libc.so.6 => /lib64/libc.so.6 (0x00002b8f4f672000)
/lib64/ld-linux-x86-64.so.2 (0x00002b8f4efe2000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00002b8f4f9b4000)
libdl.so.2 => /lib64/libdl.so.2 (0x00002b8f4fbc2000)
file a.out repond :
matthieu@theo1-pc8:~/Desktop/Factorisation/prog> file a.out
a.out: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.4, dynamically linked (uses shared libs), for GNU/Linux 2.6.4, not stripped
et ls-l/opt/...:
matthieu@theo1-pc8:/> ls -l/opt/intel/mkl/9.1/lib/em64t/libmkl_lapack.so
ls: invalid option -- /
Merci encore pour t'occuper de mon probleme