igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] mincut of directed graphs


From: Stephen Dixon
Subject: Re: [igraph] mincut of directed graphs
Date: Mon, 5 Dec 2011 09:59:55 -0700

Thank you again.  I have been able to compile the C libraries without any issues, but when compiling the python interface I haven't had success.  I point to the C libraries I compiled, but the python compile is complaining about too few arguments in some function calls.  Is this a known bug or perhaps I am not configured correctly.  The log of what happened is below.
 
python setup.py install --home=/net/sunshine/vol/homes/dixons
Using default include and library paths for compilation
If the compilation fails, please edit the LIBIGRAPH_FALLBACK_*
variables in setup.py or include_dirs and library_dirs in
setup.cfg to point to the correct directories and libraries
where the C core of igraph is installed
()
Include path: /net/sunshine/vol/homes/dixons/igraph-0.6/final/include/igraph /usr/include /usr/local/include
Library path: /net/sunshine/vol/homes/dixons/igraph-0.6/final/lib
/net/sunshine/vol/homes/dixons/Python-2.7.2/Lib/distutils/dist.py:267: UserWarning: Unknown distribution option: 'test_suite'
  warnings.warn(msg)
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/igraph
copying igraph/__init__.py -> build/lib.linux-x86_64-2.7/igraph
copying igraph/summary.py -> build/lib.linux-x86_64-2.7/igraph
copying igraph/utils.py -> build/lib.linux-x86_64-2.7/igraph
copying igraph/configuration.py -> build/lib.linux-x86_64-2.7/igraph
copying igraph/clustering.py -> build/lib.linux-x86_64-2.7/igraph
copying igraph/datatypes.py -> build/lib.linux-x86_64-2.7/igraph
copying igraph/cut.py -> build/lib.linux-x86_64-2.7/igraph
copying igraph/compat.py -> build/lib.linux-x86_64-2.7/igraph
copying igraph/layout.py -> build/lib.linux-x86_64-2.7/igraph
copying igraph/formula.py -> build/lib.linux-x86_64-2.7/igraph
copying igraph/statistics.py -> build/lib.linux-x86_64-2.7/igraph
creating build/lib.linux-x86_64-2.7/igraph/test
copying igraph/test/__init__.py -> build/lib.linux-x86_64-2.7/igraph/test
copying igraph/test/vertexseq.py -> build/lib.linux-x86_64-2.7/igraph/test
copying igraph/test/atlas.py -> build/lib.linux-x86_64-2.7/igraph/test
copying igraph/test/flow.py -> build/lib.linux-x86_64-2.7/igraph/test
copying igraph/test/isomorphism.py -> build/lib.linux-x86_64-2.7/igraph/test
copying igraph/test/cliques.py -> build/lib.linux-x86_64-2.7/igraph/test
copying igraph/test/separators.py -> build/lib.linux-x86_64-2.7/igraph/test
copying igraph/test/rng.py -> build/lib.linux-x86_64-2.7/igraph/test
copying igraph/test/spectral.py -> build/lib.linux-x86_64-2.7/igraph/test
copying igraph/test/attributes.py -> build/lib.linux-x86_64-2.7/igraph/test
copying igraph/test/bipartite.py -> build/lib.linux-x86_64-2.7/igraph/test
copying igraph/test/basic.py -> build/lib.linux-x86_64-2.7/igraph/test
copying igraph/test/foreign.py -> build/lib.linux-x86_64-2.7/igraph/test
copying igraph/test/operators.py -> build/lib.linux-x86_64-2.7/igraph/test
copying igraph/test/colortests.py -> build/lib.linux-x86_64-2.7/igraph/test
copying igraph/test/iterators.py -> build/lib.linux-x86_64-2.7/igraph/test
copying igraph/test/conversion.py -> build/lib.linux-x86_64-2.7/igraph/test
copying igraph/test/structural.py -> build/lib.linux-x86_64-2.7/igraph/test
copying igraph/test/generators.py -> build/lib.linux-x86_64-2.7/igraph/test
copying igraph/test/layouts.py -> build/lib.linux-x86_64-2.7/igraph/test
copying igraph/test/edgeseq.py -> build/lib.linux-x86_64-2.7/igraph/test
copying igraph/test/decomposition.py -> build/lib.linux-x86_64-2.7/igraph/test
copying igraph/test/games.py -> build/lib.linux-x86_64-2.7/igraph/test
copying igraph/test/indexing.py -> build/lib.linux-x86_64-2.7/igraph/test
creating build/lib.linux-x86_64-2.7/igraph/app
copying igraph/app/__init__.py -> build/lib.linux-x86_64-2.7/igraph/app
copying igraph/app/shell.py -> build/lib.linux-x86_64-2.7/igraph/app
creating build/lib.linux-x86_64-2.7/igraph/drawing
copying igraph/drawing/__init__.py -> build/lib.linux-x86_64-2.7/igraph/drawing
copying igraph/drawing/shapes.py -> build/lib.linux-x86_64-2.7/igraph/drawing
copying igraph/drawing/utils.py -> build/lib.linux-x86_64-2.7/igraph/drawing
copying igraph/drawing/baseclasses.py -> build/lib.linux-x86_64-2.7/igraph/drawing
copying igraph/drawing/metamagic.py -> build/lib.linux-x86_64-2.7/igraph/drawing
copying igraph/drawing/edge.py -> build/lib.linux-x86_64-2.7/igraph/drawing
copying igraph/drawing/graph.py -> build/lib.linux-x86_64-2.7/igraph/drawing
copying igraph/drawing/coord.py -> build/lib.linux-x86_64-2.7/igraph/drawing
copying igraph/drawing/colors.py -> build/lib.linux-x86_64-2.7/igraph/drawing
copying igraph/drawing/text.py -> build/lib.linux-x86_64-2.7/igraph/drawing
running build_ext
building 'igraph._igraph' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/src
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/net/sunshine/vol/homes/dixons/igraph-0.6/final/include/igraph -I/usr/include -I/usr/local/include -I../../build/include -I../../include -I/usr/local/include -I/usr/include -I/net/sunshine/vol/homes/dixons/Python-2.7.2/Include -I/net/sunshine/vol/homes/dixons/Python-2.7.2 -c src/error.c -o build/temp.linux-x86_64-2.7/src/error.o
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/net/sunshine/vol/homes/dixons/igraph-0.6/final/include/igraph -I/usr/include -I/usr/local/include -I../../build/include -I../../include -I/usr/local/include -I/usr/include -I/net/sunshine/vol/homes/dixons/Python-2.7.2/Include -I/net/sunshine/vol/homes/dixons/Python-2.7.2 -c src/vertexobject.c -o build/temp.linux-x86_64-2.7/src/vertexobject.o
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/net/sunshine/vol/homes/dixons/igraph-0.6/final/include/igraph -I/usr/include -I/usr/local/include -I../../build/include -I../../include -I/usr/local/include -I/usr/include -I/net/sunshine/vol/homes/dixons/Python-2.7.2/Include -I/net/sunshine/vol/homes/dixons/Python-2.7.2 -c src/convert.c -o build/temp.linux-x86_64-2.7/src/convert.o
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/net/sunshine/vol/homes/dixons/igraph-0.6/final/include/igraph -I/usr/include -I/usr/local/include -I../../build/include -I../../include -I/usr/local/include -I/usr/include -I/net/sunshine/vol/homes/dixons/Python-2.7.2/Include -I/net/sunshine/vol/homes/dixons/Python-2.7.2 -c src/pyhelpers.c -o build/temp.linux-x86_64-2.7/src/pyhelpers.o
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/net/sunshine/vol/homes/dixons/igraph-0.6/final/include/igraph -I/usr/include -I/usr/local/include -I../../build/include -I../../include -I/usr/local/include -I/usr/include -I/net/sunshine/vol/homes/dixons/Python-2.7.2/Include -I/net/sunshine/vol/homes/dixons/Python-2.7.2 -c src/filehandle.c -o build/temp.linux-x86_64-2.7/src/filehandle.o
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/net/sunshine/vol/homes/dixons/igraph-0.6/final/include/igraph -I/usr/include -I/usr/local/include -I../../build/include -I../../include -I/usr/local/include -I/usr/include -I/net/sunshine/vol/homes/dixons/Python-2.7.2/Include -I/net/sunshine/vol/homes/dixons/Python-2.7.2 -c src/bfsiter.c -o build/temp.linux-x86_64-2.7/src/bfsiter.o
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/net/sunshine/vol/homes/dixons/igraph-0.6/final/include/igraph -I/usr/include -I/usr/local/include -I../../build/include -I../../include -I/usr/local/include -I/usr/include -I/net/sunshine/vol/homes/dixons/Python-2.7.2/Include -I/net/sunshine/vol/homes/dixons/Python-2.7.2 -c src/edgeobject.c -o build/temp.linux-x86_64-2.7/src/edgeobject.o
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/net/sunshine/vol/homes/dixons/igraph-0.6/final/include/igraph -I/usr/include -I/usr/local/include -I../../build/include -I../../include -I/usr/local/include -I/usr/include -I/net/sunshine/vol/homes/dixons/Python-2.7.2/Include -I/net/sunshine/vol/homes/dixons/Python-2.7.2 -c src/py2compat.c -o build/temp.linux-x86_64-2.7/src/py2compat.o
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/net/sunshine/vol/homes/dixons/igraph-0.6/final/include/igraph -I/usr/include -I/usr/local/include -I../../build/include -I../../include -I/usr/local/include -I/usr/include -I/net/sunshine/vol/homes/dixons/Python-2.7.2/Include -I/net/sunshine/vol/homes/dixons/Python-2.7.2 -c src/arpackobject.c -o build/temp.linux-x86_64-2.7/src/arpackobject.o
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/net/sunshine/vol/homes/dixons/igraph-0.6/final/include/igraph -I/usr/include -I/usr/local/include -I../../build/include -I../../include -I/usr/local/include -I/usr/include -I/net/sunshine/vol/homes/dixons/Python-2.7.2/Include -I/net/sunshine/vol/homes/dixons/Python-2.7.2 -c src/indexing.c -o build/temp.linux-x86_64-2.7/src/indexing.o
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/net/sunshine/vol/homes/dixons/igraph-0.6/final/include/igraph -I/usr/include -I/usr/local/include -I../../build/include -I../../include -I/usr/local/include -I/usr/include -I/net/sunshine/vol/homes/dixons/Python-2.7.2/Include -I/net/sunshine/vol/homes/dixons/Python-2.7.2 -c src/vertexseqobject.c -o build/temp.linux-x86_64-2.7/src/vertexseqobject.o
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/net/sunshine/vol/homes/dixons/igraph-0.6/final/include/igraph -I/usr/include -I/usr/local/include -I../../build/include -I../../include -I/usr/local/include -I/usr/include -I/net/sunshine/vol/homes/dixons/Python-2.7.2/Include -I/net/sunshine/vol/homes/dixons/Python-2.7.2 -c src/igraphmodule.c -o build/temp.linux-x86_64-2.7/src/igraphmodule.o
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/net/sunshine/vol/homes/dixons/igraph-0.6/final/include/igraph -I/usr/include -I/usr/local/include -I../../build/include -I../../include -I/usr/local/include -I/usr/include -I/net/sunshine/vol/homes/dixons/Python-2.7.2/Include -I/net/sunshine/vol/homes/dixons/Python-2.7.2 -c src/graphobject.c -o build/temp.linux-x86_64-2.7/src/graphobject.o
src/graphobject.c: In function 'igraphmodule_Graph_Weighted_Adjacency':
src/graphobject.c:3016: error: too few arguments to function 'igraph_weighted_adjacency'
src/graphobject.c: In function 'igraphmodule_Graph_layout_kamada_kawai':
src/graphobject.c:5795: error: too few arguments to function 'igraph_layout_kamada_kawai'
src/graphobject.c:5798: error: too few arguments to function 'igraph_layout_kamada_kawai_3d'
src/graphobject.c: In function 'igraphmodule_Graph_layout_kamada_kawai_3d':
src/graphobject.c:5850: error: too few arguments to function 'igraph_layout_kamada_kawai_3d'
src/graphobject.c: In function 'igraphmodule_Graph_layout_fruchterman_reingold':
src/graphobject.c:6033: error: too few arguments to function 'igraph_layout_fruchterman_reingold'
src/graphobject.c:6036: error: too few arguments to function 'igraph_layout_fruchterman_reingold_3d'
src/graphobject.c: In function 'igraphmodule_Graph_laplacian':
src/graphobject.c:6620: warning: passing argument 3 of 'igraph_laplacian' makes pointer from integer without a cast
src/graphobject.c:6620: warning: passing argument 4 of 'igraph_laplacian' makes integer from pointer without a cast
src/graphobject.c:6620: error: too few arguments to function 'igraph_laplacian'
error: command 'gcc' failed with exit status 1


On Mon, Dec 5, 2011 at 8:57 AM, Tamas Nepusz <address@hidden> wrote:
Yes, you are right, you have to download and compile the C core first and
then you can move on to compiling the Python interface.

--
Tamas

On 12/05/2011 04:54 PM, Stephen Dixon wrote:
> Thank you for you help.  Excuse my ignorance, but when looking at the builds
> for the 0.6 version the python-igraph builds seem much smaller than the
> other build.  Do I need to download the C library and build it and then
> build the python source?
>
>
>
> On Sun, Dec 4, 2011 at 1:52 PM, Tamás Nepusz <address@hidden
> <mailto:address@hidden>> wrote:
>
>     Dear Stephen,
>
>     If you are using igraph 0.5.x, then this is not possible at the moment;
>     igraph 0.5.x contains the min-cut algorithm for undirected graphs only.
>     igraph 0.6 will contain an implementation of the min-cut calculation for
>     directed graphs as well, so if you are willing to put up with the
>     bleeding-edge development version of igraph, try one of our nightly
>     builds from here:
>
>     http://code.google.com/p/igraph/downloads/list
>
>     --
>     Tamas
>
>     On 4 Dec 2011, at 01:10, Stephen Dixon wrote:
>
>     > <Mail Attachment>_______________________________________________
>     > igraph-help mailing list
>     > address@hidden <mailto:address@hidden>
>     > https://lists.nongnu.org/mailman/listinfo/igraph-help
>
>
>     _______________________________________________
>     igraph-help mailing list
>     address@hidden <mailto:address@hidden>
>     https://lists.nongnu.org/mailman/listinfo/igraph-help
>
>
>
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help

_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help


reply via email to

[Prev in Thread] Current Thread [Next in Thread]