Code Monkey home page Code Monkey logo

bct-cpp's Introduction

bct-cpp's People

Contributors

smailliwcs avatar larryyaeger avatar

Watchers

James Cloos avatar

bct-cpp's Issues

swig fails

What steps will reproduce the problem?
1. get the latest source
2. make all
3. make swig

What is the expected output? What do you see instead?
make swig returns an error (for full error message see attached file)

What version of the product are you using? On what operating system?
r358; Ubuntu 10.04 64bit    




Original issue reported on code.google.com by [email protected] on 16 Aug 2011 at 10:42

Attachments:

latmio_und Segmentation fault

Hi, I cannot seem to get an output from latmio_und() :

What steps will reproduce the problem?
1. loading a weighted undirected matrix m as proposed in the example.cpp file
2. running gsl_matrix* L = latmio_und(m,20);

What is the expected output? What do you see instead?
I expect to receive a new matrix L, but the program just runs for several 
minutes and ends with a Segmentation fault. 
With the same m matrix, the function randmio_und(m,20) correctly executes 
within one second and without warnings.

What version of the product are you using? On what operating system?
Revision 394 on a CentOs Release 6.2

Thanks,
David


Original issue reported on code.google.com by [email protected] on 21 Nov 2012 at 1:15

modularity_louvain hangs on test matrix

hi, i'm trying to test modularity_louvain using the following:

 const double dummy[9 * 9] = {0,1,0,0,0,0,0,1,0,
                              0,0,0,0,0,0,0,1,0,
                              0,0,0,0,1,1,0,0,0,
                              0,0,0,0,0,0,1,0,1,
                              0,0,0,0,0,1,0,0,0,
                              0,0,0,0,0,0,0,0,0,
                              0,0,0,0,0,0,0,0,1,
                              0,0,0,0,0,0,0,0,0,
                              0,0,0,0,0,0,0,0,0};
 gsl_matrix_const_view mv = gsl_matrix_const_view_array(dummy, 9, 9);
 gsl_matrix* m = gsl_matrix_alloc(9, 9);
 gsl_matrix_memcpy(m, &mv.matrix);
 gsl_vector* Ci;
 double Q = bct::modularity_und_louvain(m,&Ci);

it fails the status_check (though i don't know why since it's square, binary 
and undirected), so i ran without safe mode and now it hangs indefinitely. 

any ideas what i might be doing wrong??

thanks!


Original issue reported on code.google.com by [email protected] on 21 Feb 2011 at 7:32

class declaration syntax in bct.h

The following piece of code from bct.h gives compile time errors with my g++

namespace bct {
        class bct_exception;
        class matrix_size_exception : public bct_exception;
        class out_of_memory_exception : public bct_exception;

When changed to:
namespace bct {
    class bct_exception{};
    class matrix_size_exception : public bct_exception{};
    class out_of_memory_exception : public bct_exception{};

it works. By any least bit of chance, does it have anything to do with
linux-specific-g++ness??

Original issue reported on code.google.com by [email protected] on 2 Nov 2009 at 7:40

swig error

What steps will reproduce the problem?
cd ~/src
svn checkout http://bct-cpp.googlecode.com/svn/trunk/ bct-cpp
cd bct-cpp
make
sudo make install
make swig <-here

but error is different from that of "Issue 6"

What is the expected output? What do you see instead?
make swig done.

What version of the product are you using? On what operating system?
MacOSX10.6.

Please provide any additional information below.
error message is attached.

Original issue reported on code.google.com by [email protected] on 29 Sep 2011 at 2:06

Make swig fails with "no input files" after bct_gsl_wrap.cpp

What steps will reproduce the problem?
1. Follow 64 bit instructions in README
2. make all
3. make swig

What is the expected output? What do you see instead?
Make all finishes fine, make swig throws a number of overloaded method warnings 
and ultimately fails with:

bct_py.i:378: Warning(467): Overloaded method 
matlab::to_vector_double(gsl_vector const *) not supported (no type checking 
rule for 'gsl_vector const *').
g++ -Wall -g -fPIC -c -I bct_gsl_wrap.cpp
g++: no input files

What version of the product are you using? On what operating system?
Rev 357

Please provide any additional information below.
Ubuntu 10.10

Original issue reported on code.google.com by [email protected] on 24 Apr 2011 at 11:56

build fails with the error ' clustering_coef_bu.cpp:50: error: ‘gsl_vector_float* bct::clustering_coef_bu(const gsl_matrix_float*)’ should have been declared inside ‘bct’ make: *** [clustering_coef_bu.o] Error 1'

What steps will reproduce the problem?
1. checkout the latest source
2. create Makefile.vars
3. run make or make all

What is the expected output? What do you see instead?
The make stops unexpectedly.

What version of the product are you using? On what operating system?
RHEL5

Please provide any additional information below.

Checking out revision 358 (the latest) does not work, however, version 349 from 
Dec 2010 works. I suspect it is one of the changes to clustering_coef_bu and 
degrees_und since then.  Here are the two errors: 
clustering_coef_bu.cpp:50: error: ‘gsl_vector_float* 
bct::clustering_coef_bu(const gsl_matrix_float*)’ should have been declared 
inside ‘bct’
make: *** [clustering_coef_bu.o] Error 1
degrees_und.cpp:26: error: ‘gsl_vector_float* bct::degrees_und(const 
gsl_matrix_float*)’ should have been declared inside ‘bct’
make: *** [degrees_und.o] Error 1

Original issue reported on code.google.com by [email protected] on 9 May 2011 at 3:14

download

How  can I download all this function by once?

Original issue reported on code.google.com by [email protected] on 4 Aug 2011 at 3:12

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.