Thanks for the answer Tiago! Have a great week!
____ *Rogelio Basurto Flores* Laboratorio de Sistemas Complejos *Unidad Profesional Interdisciplinaria en Ingeniería y * *Tecnologías Avanzadas,* *Instituto Politécnico Nacional,* *Av. IPN # 2580, Col. Laguna Ticoman,* *Mexico D. F., 07340, Mexico* *Mobile Phone: 33 1551 3665* *E-Mail: [email protected] <[email protected]>* On Sun, May 29, 2016 at 5:00 AM, <[email protected]> wrote: > Send graph-tool mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.skewed.de/mailman/listinfo/graph-tool > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of graph-tool digest..." > > > Today's Topics: > > 1. Re: About the blocks from the minimize_nested_blockmodel_dl > (Tiago de Paula Peixoto) > 2. Graph-tool configure error: Boost::Iostreams library is > available but no usable boost::iostreams is found (Bretsky) > 3. Re: Graph-tool configure error: Boost::Iostreams library is > available but no usable boost::iostreams is found (Frank Takes) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 28 May 2016 13:49:35 +0200 > From: Tiago de Paula Peixoto <[email protected]> > To: Main discussion list for the graph-tool project > <[email protected]> > Subject: Re: [graph-tool] About the blocks from the > minimize_nested_blockmodel_dl > Message-ID: <[email protected]> > Content-Type: text/plain; charset="utf-8" > > On 26.05.2016 04:22, Rogelio Basurto wrote: > > I am reading a bipartite network from a graphml file, then I do some > > filtering and finally I construct the minimize_nested_blockmodel_dl as > > in the example. Then I draw it, just like in the example, and it looks > > great. I manage to draw it with the node names and they are fine. > > > > Then, I would like to check the names of the nodes in the different > > blocks, by the levels they are arranged from the stochastic nested > > block model. But I do not know how to do that. > > > > I found the function get_bstack() for the NestedBlockState object, but > > the index in those vertices are from 0 to N, where N is the number of > > vertices per level (of the model, not from my graph, I think), then > > how do I associate my original vertex index (which has its name) to > > those graphs from the different levels? > > The partition of nodes in the first level is obtained via: > > b = state.levels[0].get_blocks() > > This is a vertex property map that says to which block a node of your > network belongs. For example: > > >>> print(b[10]) > 3 > > The above means that vertex 10 belongs to group 3. The same can be done > for the higher levels of the hierarchy, i.e. > > >>> b = state.levels[1].get_blocks() > >>> print(b[3]) > 5 > > The group number 3 in the first level, belongs to group number 5 in the > second level. An so on. > > Best, > Tiago > > -- > Tiago de Paula Peixoto <[email protected]> > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: signature.asc > Type: application/pgp-signature > Size: 819 bytes > Desc: OpenPGP digital signature > URL: < > https://lists.skewed.de/pipermail/graph-tool/attachments/20160528/5d190a79/attachment-0001.asc > > > > ------------------------------ > > Message: 2 > Date: Sat, 28 May 2016 21:58:31 -0700 (MST) > From: Bretsky <[email protected]> > To: [email protected] > Subject: [graph-tool] Graph-tool configure error: Boost::Iostreams > library is available but no usable boost::iostreams is found > Message-ID: <[email protected]> > Content-Type: text/plain; charset=us-ascii > > Disclaimer: I am a Linux noob and I don't know anything about C++. > > I'm trying to configure graph-tool on Ubuntu 16.04 with Python 3.5.1. I > have > installed all of the prerequisites, and I ran Everything worked up until I > got this error: > > I tried using the fix suggested here > < > http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/Compiling-v1-13-dev-configure-error-No-usable-boost-iostreams-found-td4026438.html#a4026443 > > > , but I got the same error when I ran > which is the path I got from my Boost installation > > > I am not sure how to fix this and would really appreciate if someone who > knows more about Linux and graph-tool could help me. > > > > -- > View this message in context: > http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/Graph-tool-configure-error-Boost-Iostreams-library-is-available-but-no-usable-boost-iostreams-is-foud-tp4026585.html > Sent from the Main discussion list for the graph-tool project mailing list > archive at Nabble.com. > > > ------------------------------ > > Message: 3 > Date: Sun, 29 May 2016 10:11:02 +0200 > From: Frank Takes <[email protected]> > To: Main discussion list for the graph-tool project > <[email protected]> > Subject: Re: [graph-tool] Graph-tool configure error: Boost::Iostreams > library is available but no usable boost::iostreams is found > Message-ID: > < > caoutdx-6kt5dn7vn6janc8a4ccopyt8fezkmvu+qrbme5se...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Assuming you installed boost yourself cf. > > http://www.boost.org/doc/libs/1_61_0/more/getting_started/unix-variants.html > , > after running bootstrap.sh, you would run > > ./b2 install > > This is not enough for graph-tool, and to install iostreams as well, you > would run > > ./b2 install --with-iostreams > > When installing graph-tool on CentOS 7, after this I also had to install > --with-coroutine, and a few more (which I do not remember). > > The above answer is somewhat generic, but seeing that you use Ubuntu, it > may be that your package manager allows you to do this more easily, for > example using a command like > > sudo apt-get install libboost-all-dev > > Good luck! > > > Frank > > > 2016-05-29 6:58 GMT+02:00 Bretsky <[email protected]>: > > > Disclaimer: I am a Linux noob and I don't know anything about C++. > > > > I'm trying to configure graph-tool on Ubuntu 16.04 with Python 3.5.1. I > > have > > installed all of the prerequisites, and I ran Everything worked up > until I > > got this error: > > > > I tried using the fix suggested here > > < > > > http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/Compiling-v1-13-dev-configure-error-No-usable-boost-iostreams-found-td4026438.html#a4026443 > > > > > , but I got the same error when I ran > > which is the path I got from my Boost installation > > > > > > I am not sure how to fix this and would really appreciate if someone who > > knows more about Linux and graph-tool could help me. > > > > > > > > -- > > View this message in context: > > > http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/Graph-tool-configure-error-Boost-Iostreams-library-is-available-but-no-usable-boost-iostreams-is-foud-tp4026585.html > > Sent from the Main discussion list for the graph-tool project mailing > list > > archive at Nabble.com. > > _______________________________________________ > > graph-tool mailing list > > [email protected] > > https://lists.skewed.de/mailman/listinfo/graph-tool > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > https://lists.skewed.de/pipermail/graph-tool/attachments/20160529/d53daf47/attachment-0001.html > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > graph-tool mailing list > [email protected] > https://lists.skewed.de/mailman/listinfo/graph-tool > > > ------------------------------ > > End of graph-tool Digest, Vol 100, Issue 10 > ******************************************* >
_______________________________________________ graph-tool mailing list [email protected] https://lists.skewed.de/mailman/listinfo/graph-tool
