- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This issue is solved by setting the locations of library in LD_LIBRARY_PATH.
Best regards,
Wentao

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page