keops: FileNotFoundError: [Errno 2] No such file or directory: '/.cache/pykeops-1.5-cpython-36//KeOps_formula.o
Hi All, I’m trying to get pykeops version 1.5 running. we have CUDA 10.1.240 and gcc, g++ 7.5. However, when I try to install pykeops and run a sample test code on my gpu notebook, i run into the following error
Can you please help here?
!pip install cmake
!pip install pykeops
import numpy as np
import pykeops
pykeops.clean_pykeops() # just in case old build files are still present
print(pykeops.config.bin_folder)
pykeops.config.verbose = True
from pykeops.numpy import Genred
x = np.arange(1, 10).reshape(-1, 3).astype('float32')
y = np.arange(3, 9 ).reshape(-1, 3).astype('float32')
my_conv = Genred('-SqNorm2(x-y)', ['x = Vi(3)', 'y = Vj(3)'])
print(my_conv(x, y))

About this issue
- Original URL
- State: open
- Created 3 years ago
- Reactions: 1
- Comments: 19 (5 by maintainers)
Hi @Celia0971 ,
We are currently in the process of releasing KeOps 2.0, which has an entirely different (and much simple) compilation pipeline. There is a good chance that this new engine will have more luck locating CUDA on your machine. Could you try to install it with:
And let us know if the problem is still there?
Best regards, Jean
Hi,
Same error. so how to solve this?