Cyril would know better but he's currently on vacation. I don't think
the required scotch release is already officially publicly available online.

I am not sure what problem you're trying to solve here. This feature
isn't really useful if you only have two nodes. It was rather designed
for process placement on large clusters (by the way, you'll need
something to build a communication pattern of your MPI application as a
communication matrix).

Regarding configure, once the right scotch release is installed, there's
no configure options if I remember correctly, you just need to point
your compiler to scotch include and lib directories. Something like this
may help:
export C_INCLUDE_PATH=/opt/scotch-6/include
export LD_LIBRARY_PATH=/opt/scotch-6/lib
export LIBRARY_PATH=/opt/scotch-6/lib

Brice



Le 22/02/2017 13:38, Михаил Халилов a écrit :
> I tried to configure hwloc with scotch, but I still haven't success
> with that case. I read Chapter 18 in doxygen and chapters about Netloc
> and installation, but not found about anything about Scotch configure.
> So, Scotch installed in /opt/scotch-6/ folder, and I want to install
> hwloc with netloc in /opt/hwloc/ . Which options should I use to give
> ./configure script information about Scotch?
>
> Best regards,
> Mikhail
>
> 2017-02-20 11:50 GMT+03:00 Brice Goglin <brice.gog...@inria.fr
> <mailto:brice.gog...@inria.fr>>:
>
>     Inside the tarball that you downloaded, there's a
>     doc/doxygen-doc/hwloc-a4.pdf with chapter 18 about Netloc with Scotch.
>     Beware that this code is still under development.
>
>     Brice
>
>
>
>
>     Le 19/02/2017 20:20, Михаил Халилов a écrit :
>>     Okay, but what configure options for Scotch should I use? I
>>     didn't found any information about it in docs and readme
>>
>>
>>
>>     2017-02-19 20:52 GMT+03:00 Brice Goglin <brice.gog...@inria.fr
>>     <mailto:brice.gog...@inria.fr>>:
>>
>>         The only publicly-installed netloc API is currently specific
>>         to the scotch partitioner for process placement. It takes a
>>         network topology and a communication pattern between a set of
>>         process and it generates a topology-aware placement for these
>>         processes.
>>         This API only gets installed if you have scotch installed
>>         (and tell configure where it is). That's why you don't get
>>         any netloc API installed for now.
>>
>>         We initially exposed the entire graph that netloc uses
>>         internally (it's still true in v0.5 but not anymore in hwloc
>>         2.0) but there wasn't a clear list of what users want to do
>>         with it. We didn't want to expose a random API without much
>>         user feedback first. There are many ways to expose a graph
>>         API, it was too risky. So it's not publicly installed anymore.
>>
>>         You can use internal headers such as private/netloc.h for now
>>         (you'll see edges, nodes, etc) and we'll make things public
>>         once we know what you and others would like to do.
>>
>>         Brice
>>
>>
>>
>>
>>         Le 19/02/2017 17:29, Михаил Халилов a écrit :
>>>         Hi again!
>>>
>>>         Can I ask you, how can I use netloc API for my C programs?
>>>         I configured hwloc only with --prefix=/opt/hwloc option. So,
>>>         there are no netloc header files in /opt/hwloc/include
>>>         directory. Also, I didn't understand how to use
>>>         netloc_draw.html, because I found it only in extracted
>>>         tarball. May be i should configure netloc with some other
>>>         options?
>>>
>>>         Best regards,
>>>         Mikhail Khalilov
>>>
>>>
>>>
>>>         _______________________________________________
>>>         hwloc-users mailing list
>>>         hwloc-users@lists.open-mpi.org
>>>         <mailto:hwloc-users@lists.open-mpi.org>
>>>         https://rfd.newmexicoconsortium.org/mailman/listinfo/hwloc-users
>>>         <https://rfd.newmexicoconsortium.org/mailman/listinfo/hwloc-users>
>>         _______________________________________________ hwloc-users
>>         mailing list hwloc-users@lists.open-mpi.org
>>         <mailto:hwloc-users@lists.open-mpi.org>
>>         https://rfd.newmexicoconsortium.org/mailman/listinfo/hwloc-users
>>         <https://rfd.newmexicoconsortium.org/mailman/listinfo/hwloc-users>
>>
>>
>>     _______________________________________________
>>     hwloc-users mailing list
>>     hwloc-users@lists.open-mpi.org
>>     <mailto:hwloc-users@lists.open-mpi.org>
>>     https://rfd.newmexicoconsortium.org/mailman/listinfo/hwloc-users
>>     <https://rfd.newmexicoconsortium.org/mailman/listinfo/hwloc-users>
>     _______________________________________________ hwloc-users
>     mailing list hwloc-users@lists.open-mpi.org
>     <mailto:hwloc-users@lists.open-mpi.org>
>     https://rfd.newmexicoconsortium.org/mailman/listinfo/hwloc-users
>     <https://rfd.newmexicoconsortium.org/mailman/listinfo/hwloc-users> 
>
> _______________________________________________
> hwloc-users mailing list
> hwloc-users@lists.open-mpi.org
> https://rfd.newmexicoconsortium.org/mailman/listinfo/hwloc-users
_______________________________________________
hwloc-users mailing list
hwloc-users@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/hwloc-users

Reply via email to