Hello Jeff and all,

It looks like using:


   - # export
   
SINK_LD_LIBRARY_PATH=/opt/intel/compilers_and_libraries_2017.1.132/linux/compiler/lib/mic/

and

   - # ./configure CC="icc -mmic -static-intel"  --host=x86_64-k1om-linux
   --build=x86_64-unknown-linux-gnu --prefix=/install

Worked! I now have hwloc up and running on my Phis! Thank you all so much
for your help!
Jake

On Tue, Jan 17, 2017 at 2:30 PM, Jeff Hammond <jeff.scie...@gmail.com>
wrote:

> "They need to build libhwloc.so with -static-intel" was the response I got.
>
> If you dislike warnings, you can add "-no-intel-extensions" to silence the
> warning about the Cilk runtime not being statically linkable.
>
> Best,
>
> Jeff
>
>
>
> On Tue, Jan 17, 2017 at 10:32 AM, Jeff Hammond <jeff.scie...@gmail.com>
> wrote:
> >
> > See https://software.intel.com/en-us/articles/building-a-native-
> application-for-intel-xeon-phi-coprocessors where it says "From a
> console, set the SINK_LD_LIBRARY_PATH to the location of the Intel compiler
> runtime libraries for Intel Xeon Phi coprocessors and to the location of
> any other dynamic libraries required by the application."
> >
> > If that page isn't sufficient to resolve, please post on Intel developer
> forum and privately send me a link to your post so I can forward it
> internally.
> >
> > Best,
> >
> > Jeff
> >
> >
> > On Tue, Jan 17, 2017 at 9:45 AM, Samuel Thibault <
> samuel.thiba...@inria.fr> wrote:
> > >
> > > Hello,
> > >
> > > Jacob Peter Caswell, on Tue 17 Jan 2017 11:43:07 -0600, wrote:
> > > > However, I'm still getting some make issues. After running make, I'm
> getting
> > > > the following output:
> > > >
> > > > x86_64-k1om-linux-ld: warning: libimf.so, needed by
> /home/caswell/hwloc/hwloc
> > > > /.libs/libhwloc.so, not found (try using -rpath or -rpath-link)
> > > >
> > > > I tried searching for any resolutions, and saw that it might be from
> an
> > > > improperly configured $LD_LIBRARY_PATH variable.
> > >
> > > Almost :) ld doesn't look at $LD_LIBRARY_PATH, but $LIBRARY_PATH. It'd
> > > ld.so (at runtime) which looks at $LD_LIBRARY_PATH.
> > >
> > > Samuel
> > > _______________________________________________
> > > hwloc-users mailing list
> > > hwloc-users@lists.open-mpi.org
> > > https://rfd.newmexicoconsortium.org/mailman/listinfo/hwloc-users
> >
> >
> >
> >
> > --
> > Jeff Hammond
> > jeff.scie...@gmail.com
> > http://jeffhammond.github.io/
>
>
>
>
> --
> Jeff Hammond
> jeff.scie...@gmail.com
> http://jeffhammond.github.io/
>
_______________________________________________
hwloc-users mailing list
hwloc-users@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/hwloc-users

Reply via email to