- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I compiled my code for Xeon PHI but I get this output from :
ldd mycode
I tried laso to export the correct path inside the LD_LIBRARY_PATH but without success
it doesn't find any new libraries
Regards D.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Copy these MIC libraries to the card, or even better, mount the installation directory of the Intel Software Tools on the card.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi I did , I used nfs to mount the /opt/intel on the mic and I also tried to copy the libs 1 by 1,
but it doesn't work and when i try to copy the /opt/lib by nfs on the mic I get the folder but it is empty
any idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In more detail, you must either copy the .so to /lib64 (with sudo privilege) or copy or mount to a folder which you add to LD_LIBRARY_PATH . Then the file command will show if it appears with correct characteristics.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I did all steps but when I try to get libs the folder it is empty I get only the path without anything
inside it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
sudo ssh mic0
mkdir -p /opt/intel; mount -t nfs -o rsize=8192,wsize=8192,intr,nolock host:/opt/intel /opt/intel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Launching from the host system:
source /opt/intel/compilers_and_libraries/linux/bin/compilervars.sh intel64
source /opt/intel/compilers_and_libraries/linux/mpi/intel64/bin/mpivars.sh
export SINK_LD_LIBRARY_PATH=${MIC_LD_LIBRARY_PATH}
mpirun -host mic0 -n 240 ./a.out
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
sudo ssh mic0
mkdir -p /opt/intel; mount -t nfs -o rsize=8192,wsize=8192,intr,nolock host:/opt/intel /opt/intel
I getsource /opt/intel/compilers_and_libraries/linux/bin/compilervars.sh intel64
source /opt/intel/compilers_and_libraries/linux/mpi/intel64/bin/mpivars.sh
export SINK_LD_LIBRARY_PATH=${MIC_LD_LIBRARY_PATH}
mpirun -host mic0 -n 240 ./a.out
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
sudo ssh mic0
mkdir -p /opt/intel; mount -t nfs -o rsize=8192,wsize=8192,intr,nolock host:/opt/intel /opt/intel
I getsource /opt/intel/compilers_and_libraries/linux/bin/compilervars.sh intel64
source /opt/intel/compilers_and_libraries/linux/mpi/intel64/bin/mpivars.sh
export SINK_LD_LIBRARY_PATH=${MIC_LD_LIBRARY_PATH}
mpirun -host mic0 -n 240 ./a.out
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Those run commands rely on the NFS mount and won't work without it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Note that you can also use the utility micctrl to mount a directory (Section B.4.3.4 Adding an NFS mount in the MPSS User's Guide).
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page