Hi Andreas,
I was curious to see how hedge performs on cuda, and so I tried
running the maxwell 2D example with the --feature=cuda option, but I
ran into an error, detailed below.
I have run the latest version of hedge from the git repository (also
all associated tools are at the latest version as well). I am able to
run pycuda examples with no problems so I think my cuda setup should
be fine.
regards
David
/home/dap124/tiker_src/hedge/hedge/mesh/generator.py:536: UserWarning:
make_conformal_mesh is deprecated. Use make_conformal_mesh_ext
instead.
boundary_tagger)
Traceback (most recent call last):
File "maxwell-2d.py", line 142, in <module>
main()
File "maxwell-2d.py", line 57, in main
discr = rcon.make_discretization(mesh_data, order=order)
File "/home/dap124/tiker_src/hedge/hedge/backends/__init__.py", line
114, in make_discretization
return self.discr_class(mesh_data, *args, **kwargs)
File "/home/dap124/tiker_src/hedge/hedge/backends/__init__.py", line
138, in discr_class
from hedge.backends.cuda import Discretization
File "/home/dap124/tiker_src/hedge/hedge/backends/cuda/__init__.py",
line 244, in <module>
class Discretization(hedge.discretization.Discretization):
File "/home/dap124/tiker_src/hedge/hedge/backends/cuda/__init__.py",
line 245, in Discretization
from hedge.backends.cuda.execute import ExecutionMapper \
File "/home/dap124/tiker_src/hedge/hedge/backends/cuda/execute.py",
line 386, in <module>
class OperatorCompiler(OperatorCompilerBase):
File "/home/dap124/tiker_src/hedge/hedge/backends/cuda/execute.py",
line 387, in OperatorCompiler
from hedge.backends.cuda.optemplate import \
File "/home/dap124/tiker_src/hedge/hedge/backends/cuda/optemplate.py",
line 74, in <module>
class BoundaryCombiner(CSECachingMapperMixin,
hedge.optemplate.IdentityMapper):
File "/home/dap124/tiker_src/hedge/hedge/backends/cuda/optemplate.py",
line 83, in BoundaryCombiner
hedge.optemplate.LiftingFluxOperator)
AttributeError: 'module' object has no attribute 'LiftingFluxOperator'