My own guess is that Raul doesn’t have the required llvm-4.0 development
packages from his distro on the system (if there are any). Anaconda
would come with its own llvm package but sage will have to rely on it
being present at the system level.

François

> On 17/09/2017, at 23:27, Thierry <sage-googlesu...@lma.metelu.net> wrote:
> 
> Hi,
> 
> from a shell, i just tried:
> 
>       sage -pip install numba
> 
> and it worked without problem (with the latest beta, compiled from source).
> 
> Then, from a sage shell:
> 
>       sage: from numba import cuda
> 
> did not produce any error. I do not know what to test then (i never used
> cuda), but apparently there is a problem with your Sage installation since
> it failed earlier.
> 
> You need to provide more info:
> 
> - did you install Sage from the binaries, and which ones ?
> - did you compile Sage yourself ?
> - which commands did you type precisely to get the error ?
> - which error message did you get ?
> 
> By the way, a good place to ask such questions is: 
> 
>       https://ask.sagemath.org/
> 
> Ciao,
> Thierry
> 
> 
> 
> 
> 
> On Sun, Sep 17, 2017 at 01:25:37AM -0700, Raul Ramirez wrote:
>> I am not sure if this posted so I am trying again,
>> 
>> I am trying to parallelize the function `is_interval()`. I have files that 
>> contain trillions of graphs and I am hoping that I can speed up the time to 
>> find the graphs by parallelizing the problem using CUDA. However, the issue 
>> I am having right now is when I have `from numba import cuda` I get an 
>> error in sage saying that `numba` is not a library in sage. Is there a way 
>> to install this or direct it into sage? I have tried `pip install numba` 
>> from the sage shell but that did not work.
>> 
>> Thank you,
>> 
>> Raul Ramirez
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "sage-devel" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to sage-devel+unsubscr...@googlegroups.com.
>> To post to this group, send email to sage-devel@googlegroups.com.
>> Visit this group at https://groups.google.com/group/sage-devel.
>> For more options, visit https://groups.google.com/d/optout.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-devel@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to