- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hi,
I was trying to run my executable natively on MIC but obtained the following error:
[wzhang80@xpacc-serv-03-mic0 plascomcm]$ ./bin/plascomcm.mic ./bin/plascomcm.mic: error while loading shared libraries: libmpifort.so.12: cannot open shared object file: No such file or directory
I realized that the runtime libraries should be copied to the MIC cards. I did that and added the location of the library to the PATH:
[wzhang80@xpacc-serv-03-mic0 plascomcm]$ echo $PATH /usr/bin:/usr/sbin:/bin:/sbin:/home/wzhang80/impi/5.0.2.044/mic/lib/ [wzhang80@xpacc-serv-03-mic0 plascomcm]$ which libmpifort.so.12 /home/wzhang80/impi/5.0.2.044/mic/lib/libmpifort.so.12
But I still got the same error:
[wzhang80@xpacc-serv-03-mic0 plascomcm]$ ./bin/plascomcm.mic ./bin/plascomcm.mic: error while loading shared libraries: libmpifort.so.12: cannot open shared object file: No such file or directory
Ant suggestions? Thanks!
Best regards,
Wentao
Lien copié
1 Répondre
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
This issue is solved by setting the locations of library in LD_LIBRARY_PATH.
Best regards,
Wentao
Répondre
Options du sujet
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable