Hi Karl,

Karl Rupp <r...@iue.tuwien.ac.at> writes:
> I'm on it. A couple of notes on the setup:
>   * The manual checkouts of external/boost_numpy and 
> external/viennacl-dev don't work for me (git 1.7.9.5). Is this supposed 
> to be automatic? If not, there should be instructions in the README.

Hmm, yes -- the README as it is at the moment was written with the
tarball in mind. I'll add a note on git checkouts and the submodules.

>   * When building, I get the following warning on GCC 4.6:
> cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for 
> Ada/C/ObjC but not for C++ [enabled by default]

Yes, there's not much I can do about that. Python's distutils just
passes it to GCC for all source files.

>   * Also I see -UNDEBUG passed to the compiler. Is this intentional, or 
> a typo?

Yeah, that was left over from some previous work. It should be gone now.

>   * Maybe the following is the reason for the iterative solver failure 
> (at least it breaks compilation on my GCC-4.6 machine):
>
> /home/rupp/development/ViennaCL/pyviennacl/src/_viennacl/sparse_matrix.h:24:23:
>  
> error: ISO C++ forbids initialization of member ‘_places’ [-fpermissive]
> /home/rupp/development/ViennaCL/pyviennacl/src/_viennacl/sparse_matrix.h:24:23:
>  
> error: making ‘_places’ static [-fpermissive]
> /home/rupp/development/ViennaCL/pyviennacl/src/_viennacl/sparse_matrix.h:24:23:
>  
> error: invalid in-class initialization of static data member of 
> non-integral type ‘boost::python::list*’
> ...

Hmm, odd that that builds with GCC 4.8. I've fixed it and tested the
build with GCC 4.4 and 4.6, and it should be OK. But I don't think
that's part of the problem -- that list is only used to represent the
nonzero entries of a sparse matrix, and is only generated if you need
them (without iterating in Python over the whole space); it's computed
for printing the matrix, for instance (so you don't get a load of 0s).

If you need any pointers in the organisation of the source, I'm happy to
help!

Cheers,

Toby



------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
ViennaCL-devel mailing list
ViennaCL-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viennacl-devel

Reply via email to