Hi ,
I installed cuda 13.0. It works. Cuda samples 13.0 were compiled.
My nvidia card ist detectet correctly.
NVIDIA-SMI 580.65.06 Driver Version: 580.65.06 CUDA Version: 13.0
python -q -X faulthandler stl_work_1_4_0oe_1_n_3070.py
Found 1 CUDA devices
id 0 b’NVIDIA GeForce RTX 3070 Ti’ [SUPPORTED]
Compute Capability: 8.6
PCI Device ID: 0
PCI Bus ID: 1
Watchdog: Enabled
FP32/FP64 Performance Ratio: 64
Summary:
1/1 devices are supported
current_device: <CUDA device 0 ‘b’NVIDIA GeForce RTX 3070 Ti’'>
GPU compute capability: (8, 6)
GPU total number of SMs: 48
total cores: 6144
free memory: 6485
except active
but then I get s segmentation fault as can be seen in faulthandler log below.
The same code executed with cuda 12.9 runs without any problems and delivers file with data that can be shown in blender and can be printed in 3d printer. The created items are as expected.
NVIDIA-SMI 575.64.03 Driver Version: 575.64.03 CUDA Version: 12.9
Fatal Python error: Segmentation fault coming from line 702 in my code.
here the above mentioned line:
@cuda.jit(‘Tuple((float64,float64))(float64, float64)’, device=True)
def top_2_bottom(a, b):
….
Any idea what can be the reason of this behavior?
Current thread 0x00007f8456c37640 (most recent call first):
File “/home/me/anaconda3/envs/cuda130/lib/python3.13/site-packages/numba/cuda/cudadrv/driver.py”, line 326 in safe_cuda_api_call
File “/home/me/anaconda3/envs/cuda130/lib/python3.13/site-packages/numba/cuda/cudadrv/driver.py”, line 505 in enter
File “/home/me/anaconda3/envs/cuda130/lib/python3.13/site-packages/numba/cuda/cudadrv/devices.py”, line 153 in _get_or_create_context_uncached
File “/home/me/anaconda3/envs/cuda130/lib/python3.13/site-packages/numba/cuda/cudadrv/devices.py”, line 138 in get_or_create_context
File “/home/me/anaconda3/envs/cuda130/lib/python3.13/site-packages/numba/cuda/cudadrv/devices.py”, line 220 in get_context
File “/home/me/anaconda3/envs/cuda130/lib/python3.13/site-packages/numba/cuda/api.py”, line 443 in get_current_device
File “/home/me/anaconda3/envs/cuda130/lib/python3.13/site-packages/numba/cuda/dispatcher.py”, line 882 in compile_device
File “/home/me/anaconda3/envs/cuda130/lib/python3.13/site-packages/numba/cuda/decorators.py”, line 131 in _jit
File “/home/me/dev_sdb2/home/me/python/x_cuda/stl_work_1_4_0oe_1_n_3070.py”, line 702 in
Extension modules: numpy._core._multiarray_umath, numpy.linalg._umath_linalg, numba.core.typeconv._typeconv, numpy.random._common, numpy.random.bit_generator, numpy.random._bounded_integers, numpy.random._mt19937, numpy.random.mtrand, numpy.random._philox, numpy.random._pcg64, numpy.random._sfc64, numpy.random._generator, numba._helperlib, numba._dynfunc, numba._dispatcher, numba.core.typing.builtins.itertools, numba.cpython.builtins.math, numba.core.runtime._nrt_python, numba.np.ufunc._internal, numba.experimental.jitclass._box, numba.mviewbuf, numba.core.typing.cmathdecl.cmath, PIL._imaging, kiwisolver._cext, pandas._libs.tslibs.ccalendar, pandas._libs.tslibs.np_datetime, pandas._libs.tslibs.dtypes, pandas._libs.tslibs.base, pandas._libs.tslibs.nattype, pandas._libs.tslibs.timezones, pandas._libs.tslibs.fields, pandas._libs.tslibs.timedeltas, pandas._libs.tslibs.tzconversion, pandas._libs.tslibs.timestamps, pandas._libs.properties, pandas._libs.tslibs.offsets, pandas._libs.tslibs.strptime, pandas._libs.tslibs.parsing, pandas._libs.tslibs.conversion, pandas._libs.tslibs.period, pandas._libs.tslibs.vectorized, pandas._libs.ops_dispatch, pandas._libs.missing, pandas._libs.hashtable, pandas._libs.algos, pandas._libs.interval, pandas._libs.lib, pandas._libs.ops, numexpr.interpreter, bottleneck.move, bottleneck.nonreduce, bottleneck.nonreduce_axis, bottleneck.reduce, pandas._libs.hashing, pandas._libs.arrays, pandas._libs.tslib, pandas._libs.sparse, pandas._libs.internals, pandas._libs.indexing, pandas._libs.index, pandas._libs.writers, pandas._libs.join, pandas._libs.window.aggregations, pandas._libs.window.indexers, pandas._libs.reshape, pandas._libs.groupby, pandas._libs.json, pandas._libs.parsers, pandas._libs.testing (total: 69)
Segmentation fault (core dumped)