[graph-tool] Way to get vertex ids that belong to a group

2016-12-05 Thread COMEGETME
After running an inference method such as:
graph_tool.inference.minimize_blockmodel_dl()
I get back a graph_tool.inference.BlockState,
which provides a PropertyMap on the vertices
which i can use to tell which group a vertex is in.
However, if i need to find out all the other members
of the same group, (suppose i need to find out who/what
else is in the same group as a particular vertex, is there
a way to list the groups members other than looping though all
vertices and querying their group in the Propertymap?
As a bonus, i have a bit of a background in scientific application
support as a scientist+sysadmin, so here are Fedora 23/24
graph_tool packages for the Fedora users out there, made with love using the 
opensuse OBS.
http://download.opensuse.org/repositories/home:/theusprom1/Fedora_23/
http://download.opensuse.org/repositories/home:/theusprom1/Fedora_24/
For more info look here:
https://build.opensuse.org/package/show/home:theusprom1/graph-tool
I second your advise to use the prebuilt packages that the project has already 
provided,
the compile time resources needed are non trivial 
:(https://build.opensuse.org/package/statistics/home:theusprom1/graph-tool?arch=x86_64=Fedora_24).
I have used these packages (im just getting started though), so YMMV.

Best.
Theos.___
graph-tool mailing list
graph-tool@skewed.de
https://lists.skewed.de/mailman/listinfo/graph-tool


Re: [graph-tool] RedHat Installation Assistance

2016-12-05 Thread Tiago de Paula Peixoto
On 05.12.2016 17:58, bloodymeli wrote:
> Thanks! I'll ask the manager to update the numpy installation. However, he
> might be reluctant to do so due to breaking other dependencies. I guess this
> is the reason he tried to link with the local numpy-1.8.1-2. It's there a
> way to link/compile with the epd copy ( at
>   usr/local/epd/lib/python2.7/site-packages/numpy)  rather than the system
> numpy?

Yes, you have to specify its directory with the option --with-numpy=DIR
passed to ./configure.

Best,
Tiago

-- 
Tiago de Paula Peixoto 



signature.asc
Description: OpenPGP digital signature
___
graph-tool mailing list
graph-tool@skewed.de
https://lists.skewed.de/mailman/listinfo/graph-tool


Re: [graph-tool] RedHat Installation Assistance

2016-12-05 Thread bloodymeli
Thanks! I'll ask the manager to update the numpy installation. However, he
might be reluctant to do so due to breaking other dependencies. I guess
this is the reason he tried to link with the local numpy-1.8.1-2. It's
there a way to link/compile with the epd copy ( at
usr/local/epd/lib/python2.7/site-packages/numpy)  rather than the system
numpy?

On 5 Dec 2016 17:44, "Tiago Peixoto [via Main discussion list for the
graph-tool project]"  wrote:

On 05.12.2016 16:16, bloodymeli wrote:
> Via the RedHat rpm - numpy-1.4.1-9 is installed.

This is the problem. graph-tool requires numpy version 1.7 or above.

Numpy 1.4 is already over 6 years old.

-- 
Tiago de Paula Peixoto <[hidden email]
>
___
graph-tool mailing list
[hidden email] 
https://lists.skewed.de/mailman/listinfo/graph-tool
-- 
Tiago de Paula Peixoto 


--
If you reply to this email, your message will be added to the discussion
below:
http://main-discussion-list-for-the-graph-tool-project.
982480.n3.nabble.com/RedHat-Installation-Assistance-tp4026892p4026897.html
To unsubscribe from RedHat Installation Assistance, click here

.
NAML





--
View this message in context: 
http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/RedHat-Installation-Assistance-tp4026892p4026898.html
Sent from the Main discussion list for the graph-tool project mailing list 
archive at Nabble.com.___
graph-tool mailing list
graph-tool@skewed.de
https://lists.skewed.de/mailman/listinfo/graph-tool


Re: [graph-tool] RedHat Installation Assistance

2016-12-05 Thread Tiago de Paula Peixoto
On 05.12.2016 16:16, bloodymeli wrote:
> Via the RedHat rpm - numpy-1.4.1-9 is installed.

This is the problem. graph-tool requires numpy version 1.7 or above.

Numpy 1.4 is already over 6 years old.

-- 
Tiago de Paula Peixoto 
___
graph-tool mailing list
graph-tool@skewed.de
https://lists.skewed.de/mailman/listinfo/graph-tool


Re: [graph-tool] RedHat Installation Assistance

2016-12-05 Thread bloodymeli
Hi,

Here's the IT manager response :
Via the RedHat rpm - numpy-1.4.1-9 is installed.
Also under the local installation of python2.7,  numpy-1.8.1-2 is installed.
Regarding folders :

/usr/lib64/python2.6/site-packages/numpy

/usr/local/epd/lib/python2.7/site-packages/numpy

Once again, thanks for your help!

On 5 Dec 2016 15:46, "Tiago Peixoto [via Main discussion list for the
graph-tool project]"  wrote:

> On 05.12.2016 13:40, bloodymeli wrote:
> > I'm attaching the corresponding information and filed I have received
> from
> > out IT manager.
>
> Thanks, but I still don't know what numpy version you have installed.
>
> --
> Tiago de Paula Peixoto <[hidden email]
> >
> ___
> graph-tool mailing list
> [hidden email] 
> https://lists.skewed.de/mailman/listinfo/graph-tool
> --
> Tiago de Paula Peixoto 
>
>
> --
> If you reply to this email, your message will be added to the discussion
> below:
> http://main-discussion-list-for-the-graph-tool-project.
> 982480.n3.nabble.com/RedHat-Installation-Assistance-tp4026892p4026895.html
> To unsubscribe from RedHat Installation Assistance, click here
> 
> .
> NAML
> 
>




--
View this message in context: 
http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/RedHat-Installation-Assistance-tp4026892p4026896.html
Sent from the Main discussion list for the graph-tool project mailing list 
archive at Nabble.com.___
graph-tool mailing list
graph-tool@skewed.de
https://lists.skewed.de/mailman/listinfo/graph-tool


Re: [graph-tool] RedHat Installation Assistance

2016-12-05 Thread bloodymeli
Thanks.
I'm attaching the corresponding information and filed I have received from
out IT manager. 

The system info is :

# uname -a
Linux admin 2.6.32-431.5.1.el6.x86_64 #1 SMP Fri Jan 10 14:46:43 EST 2014
x86_64 x86_64 x86_64 GNU/Linux
# cat /etc/issue
Red Hat Enterprise Linux Server release 6.5 (Santiago)
Kernel \r on an \m


Setup before the configure :

export CAIROMM_CFLAGS=-O
export CAIROMM_LIBS=/usr/lib64/libcairomm-1.0.so
export PYCAIRO_HEADER=/usr/include/pycairo
source /usr/local/gcc5.3/setup.sh

where :
# cat  /usr/local/gcc5.3/setup.sh

#!/bin/sh
# Setup for GCC 5.3

export DIR=/usr/local/gcc5.3
export PATH=$DIR/bin:$PATH
export LD_LIBRARY_PATH=$DIR/lib64:$DIR/lib:$LD_LIBRARY_PATH
export LD_RUN_PATH=$LD_LIBRARY_PATH

The log files are in the attached zip file. 

Thanks ahead! logsofgraphtool2_19installation.zip

  




--
View this message in context: 
http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/RedHat-Installation-Assistance-tp4026892p4026894.html
Sent from the Main discussion list for the graph-tool project mailing list 
archive at Nabble.com.
___
graph-tool mailing list
graph-tool@skewed.de
https://lists.skewed.de/mailman/listinfo/graph-tool


Re: [graph-tool] RedHat Installation Assistance

2016-12-05 Thread Tiago de Paula Peixoto
On 05.12.2016 08:08, bloodymeli wrote:
> I have requested out IT manager to install graph-tool on our local cluster
> (based on RedHat).
> He changed the "configure" link to point to the corresponding directories,
> and the "configure" operation seemed to completed successfully. 
> However, the make operation failed with the corresponding message:

What numpy version do you have installed?

Please note that when troubleshooting compilation problems, it is always
important to have the _full_ outputs of ./configure and make, as well the
entire contents of the config.log file.

Best,
Tiago

-- 
Tiago de Paula Peixoto 



signature.asc
Description: OpenPGP digital signature
___
graph-tool mailing list
graph-tool@skewed.de
https://lists.skewed.de/mailman/listinfo/graph-tool