mtazzari / galario

Gpu Accelerated Library for Analysing Radio Interferometer Observations
https://mtazzari.github.io/galario/
GNU Lesser General Public License v3.0
31 stars 15 forks source link

python import problem #86

Closed fredRos closed 7 years ago

fredRos commented 7 years ago

by email

One other question- I also get the following error when trying to use the GPU routines, even though the tests after compilation seemed to go fine (both with and without the GPU flags).

In [144]: from galario.double_cuda import sampleImage
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-144-ee2f01adc0c4> in <module>()
----> 1 from galario.double_cuda import sampleImage

/Users/tdavis/anaconda/lib/python3.5/site-packages/galario/double_cuda/__init__.py in <module>()
----> 1 from .libcommon import *
      2 
      3 _init()
      4 
      5 import atexit

ImportError: No module named 'galario.double_cuda.libcommon'
fredRos commented 7 years ago

I'm wondering why the installation didn't succeed. Are the libraries copied or picked up correctly? We had been working in the build directory but not much testing happened after installation

fredRos commented 7 years ago

Turns out the cuda libraries simply were not built, it was not due to an installation problem.