The error message shows the system is looking in the system library
directories for cblas. When you changed the join statement, and probably
when you started working in a different directory, the build script no
longer knows how to find the cblas library. So you need to make the join
statement contain sufficient information to locate where the cblas library
can be found.
HTH,
Bruce
On Sun, Apr 27, 2014 at 10:39 AM, Manoj Kumar <
manojkumarsivaraj...@gmail.com> wrote:
> I wanted to reproduce the behaviour of ddot outside the scikit-learn
> directory, so that I can actually see what is happening.
>
> This is what I did.
>
> 1. Copied the cblas files from sklearn/src to a directory called
> CyPractise
> 2. I looked at the setup.py file over here (
> https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/linear_model/setup.py)
> to see how things are being done and simplified it a bit. I changed the
> join(.., 'src', 'cblas') to just ('cblas')
> That is the code above (in my first mail)
>
> I run a ubuntu 12.04 on my machine, if that helps.
>
> Thanks for the quick replies.
>
>
>
> On Sun, Apr 27, 2014 at 10:54 PM, Lars Buitinck <larsm...@gmail.com>wrote:
>
>> 2014-04-27 18:53 GMT+02:00 Sturla Molden <sturla.mol...@gmail.com>:
>> > Unlike the NumPy _dotblas module, SciPy uses an f2py wrapper that
>> actually
>> > exports a function poiinter.
>> >
>> > Using this scheme to code a fake cblas layer is not difficult either.
>>
>> I think this question comes about because Manoj is trying to optimize
>> some Cython code. But the question "do you have the exact same
>> library" is valid.
>>
>> Also, which OS are we talking about?
>>
>>
>> ------------------------------------------------------------------------------
>> Start Your Social Network Today - Download eXo Platform
>> Build your Enterprise Intranet with eXo Platform Software
>> Java Based Open Source Intranet - Social, Extensible, Cloud Ready
>> Get Started Now And Turn Your Intranet Into A Collaboration Platform
>> http://p.sf.net/sfu/ExoPlatform
>> _______________________________________________
>> Scikit-learn-general mailing list
>> Scikit-learn-general@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>>
>
>
>
> --
> Regards,
> Manoj Kumar,
> Mech Undergrad
> http://manojbits.wordpress.com
>
>
> ------------------------------------------------------------------------------
> Start Your Social Network Today - Download eXo Platform
> Build your Enterprise Intranet with eXo Platform Software
> Java Based Open Source Intranet - Social, Extensible, Cloud Ready
> Get Started Now And Turn Your Intranet Into A Collaboration Platform
> http://p.sf.net/sfu/ExoPlatform
> _______________________________________________
> Scikit-learn-general mailing list
> Scikit-learn-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
>
--
Co-discoverer of KBO:
IH-X-694190<http://www.icehunters.org/object.php?id=694190>
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general