Hi everyone. I’m new to PyFR, and trying to run examples after installing the program. But the three examples (2d-euler-vortex, 2d-inc-cylinder, 2d-couette-flow) give me back this error:
Traceback (most recent call last):
File "/home/jylim0415/.ssh/libxsmm/pyfr-venv/bin/pyfr", line 8, in <module>
sys.exit(main())
File "/home/jylim0415/.ssh/libxsmm/pyfr-venv/lib/python3.10/site-packages/pyfr/__main__.py", line 118, in main
args.process(args)
File "/home/jylim0415/.ssh/libxsmm/pyfr-venv/lib/python3.10/site-packages/pyfr/__main__.py", line 251, in process_run
_process_common(
File "/home/jylim0415/.ssh/libxsmm/pyfr-venv/lib/python3.10/site-packages/pyfr/__main__.py", line 230, in _process_common
backend = get_backend(args.backend, cfg)
File "/home/jylim0415/.ssh/libxsmm/pyfr-venv/lib/python3.10/site-packages/pyfr/backends/__init__.py", line 12, in get_backend
return subclass_where(BaseBackend, name=name.lower())(cfg)
File "/home/jylim0415/.ssh/libxsmm/pyfr-venv/lib/python3.10/site-packages/pyfr/backends/cuda/base.py", line 20, in __init__
self.cuda = CUDA()
File "/home/jylim0415/.ssh/libxsmm/pyfr-venv/lib/python3.10/site-packages/pyfr/backends/cuda/driver.py", line 445, in __init__
self.lib.cuInit(0)
File "/home/jylim0415/.ssh/libxsmm/pyfr-venv/lib/python3.10/site-packages/pyfr/ctypesutil.py", line 35, in _errcheck
raise self._statuses['*'] from None
pyfr.backends.cuda.driver.CUDAError
I’m using wsl ubuntu 22.04 and cuda 12.2, $ nvidia-smi and $ nvcc -V commands are working well.