Skip to content

pycuda version 2022 not supported #42

Description

@arielzn

If it is used pycuda with the latest version as of today (2022.2.2 ) we get this error

Traceback (most recent call last):                                                                                                                                                                                                                                                          
  File "/home/users/a/l/insta_env/bin/instagraal", line 5, in <module>                                                                                                                                                                                                              
    from instagraal.instagraal import main                                                                                                                                                                                                                                                  
  File "/home/users/a/l/insta_env/lib/python3.7/site-packages/instagraal/instagraal.py", line 72, in <module>                                                                                                                                                                       
    from instagraal.simu_single import simulation                                                                                                                                                                                                                                           
  File "/home/users/a/l/insta_env/lib/python3.7/site-packages/instagraal/simu_single.py", line 12, in <module>                                                                                                                                                                      
    from instagraal.cuda_lib_gl_single import sampler as sampler_lib                                                                                                                                                                                                                        
  File "/home/users/a/l/insta_env/lib/python3.7/site-packages/instagraal/cuda_lib_gl_single.py", line 11, in <module>                                                                                                                                                               
    from pycuda import gpuarray as ga                                                                                                                                                                                                                                                       
  File "/home/users/a/l/insta_env/lib/python3.7/site-packages/pycuda-2022.2.2-py3.7-linux-x86_64.egg/pycuda/gpuarray.py", line 2206                                                                                                                                                 
    def logical_and(x1, x2, /, out=None, *, allocator=None):                                                                                                                                                                                                                                
                            ^                                                                                                                                                                                                                                                               
SyntaxError: invalid syntax                                                                                                                                                                                                                                                                 

i tested with a version close to the instagraal 0.1.6 release and it worked fine

The README instructions should be updated to propose to pull pycuda like e.g.:

git clone --recurse-submodules  --depth 1 --branch v2019.1.2 https://github.com/inducer/pycuda.git

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions