Hello all,
I have been having trouble getting hwloc to run natively on the MIC. Specifically, it seems that necessary dependencies (such as libimf.so) are not being found.
First of all, /install is an NFS drive mounted by the MICs. Before beginning, I set my compiler variables, as well as exported the SINK_LD_LIBRARY_PATH as:
# export SINK_LD_LIBRARY_PATH=/opt/intel/compilers_and_libraries_2017.1.132/linux/compiler/lib/mic/
I have downloaded the hwloc git repo, run:
# cd hwloc/
# ./autogen.sh
# ./configure CC="icc --mmic" --host=x86_64-k1om-linux --build=x86_64-unknown-linux-gnu --prefix=/install
When I run make and make install, I get
Link Copied
You can get rid of the need for the shared intel objects by creating your libhwloc.so with -static-intel (if you're using icc to link).
In the second part micnativeloadex can't find libhwloc.so.0 . Did you install that in the compiler lib directory? Or is it somewhere else? If it is somewhere else then you need to add that path to SINK_LD_LIBRARY_PATH .
Did you try to run it truly natively by logging into the card and just setting LD_LIBRARY_PATH to the location on the card?
Thanks
-- Larry
For more complete information about compiler optimizations, see our Optimization Notice.