On 29/08/2008, at 9:29 AM, Simon Beaumont wrote:

> On Aug 28, 11:22 pm, David Philp <[EMAIL PROTECTED]> wrote:
>> On 29/08/2008, at 7:56 AM, mabshoff wrote:
>>
>>> David Philip has been playing with building PyCuDA against Sage's
>>> Python on OSX.
>>
>> No!!!  I'd love to do it but I haven't got time for CUDA.  I've been
>> using boost.python, for the sake of /other/ C++ code of mine.  I
>> originally tried to sort of bodgy them together, but didn't have much
>> luck.
>>
>> But I think you will pretty much need the framework build as per the
>> trac ticket Michael linked.  You then build boost python against
>> that---but to build boost python against a non-system python on a  
>> mac,
>> you need to patch boost build.  
>> Seehttp://svn.boost.org/trac/boost/changeset/48322
>>
>> I hope you can use CUDA with all that... thus we continue towards
>> SageOS... The alternative I suppose is to redirect the rest of sage  
>> to
>> use system python, which is conceivably necessary for CUDA.
>>
>> D
>
> Phew! nothing simple on OS X eh?  I might just get a 8800 for my linux
> box ;-)  took me about ten minutes to do this on gentoo...
> boost seems a real pain on OS X - i'll try and build against the
> standard framework based python for a starter and take it from there.

Well, it's all in the pipeline so the future is a bit rosier.  The  
boost patch won't appear till 1.37 AIUI, and the sage/python/framework  
won't appear till Michael Abshoff is happy with it.

There are also a couple of bugs in the version of cvxopt that ships  
with sage.  Those appear to be fixed in the latest version of cvxopt,  
so they are also in the pipeline (assuming that sage will upgrade to  
cvxopt 1.0 and/or make cxvopt optional, there doesn't seem to be a lot  
of point bothering with a sage-specific patch to cvxopt-0.9.)  But if  
you want my (hacked & untested but compiling) cvxopt spkg, let me know.

D


==================================
David J Philp
Postdoctoral Fellow
National Centre for Epidemiology and Population Health
Building 62, cnr Mills Rd & Eggleston Rd
The Australian National University
Canberra ACT 0200 Australia

T: +61 2 6125 8260
F: +61 2 6125 0740
M: 0423 535 397
W: http://nceph.anu.edu.au/

CRICOS Provider #00120C





--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to