Skip to content

error in rtx 3090 cuda 11.4 #54

Description

@UsersNGT

root@09acf0732b67:/app/scs# python setup.py install --scs --gpu
Namespace(blas64=False, extraverbose=False, float32=False, gpu=True, gpu_atrans=True, int32=False, scs=True)
running install
running bdist_egg
running egg_info
writing scs.egg-info/PKG-INFO
writing dependency_links to scs.egg-info/dependency_links.txt
writing requirements to scs.egg-info/requires.txt
writing top-level names to scs.egg-info/top_level.txt
blas_mkl_info:
libraries = ['mkl_rt', 'pthread']
library_dirs = ['/opt/conda/lib']
define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
include_dirs = ['/opt/conda/include']
blas_opt_info:
libraries = ['mkl_rt', 'pthread']
library_dirs = ['/opt/conda/lib']
define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
include_dirs = ['/opt/conda/include']
lapack_mkl_info:
libraries = ['mkl_rt', 'pthread']
library_dirs = ['/opt/conda/lib']
define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
include_dirs = ['/opt/conda/include']
lapack_opt_info:
libraries = ['mkl_rt', 'pthread']
library_dirs = ['/opt/conda/lib']
define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
include_dirs = ['/opt/conda/include']
Supported SIMD extensions in this NumPy install:
baseline = SSE,SSE2,SSE3
found = SSSE3,SSE41,POPCNT,SSE42,AVX,F16C,FMA3,AVX2,AVX512F,AVX512CD,AVX512_SKX
not found = AVX512_KNL,AVX512_KNM,AVX512_CNL
{'libraries': ['mkl_rt', 'pthread'], 'library_dirs': ['/opt/conda/lib'], 'define_macros': [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)], 'include_dirs': ['/opt/conda/include']}
{'libraries': ['mkl_rt', 'pthread'], 'library_dirs': ['/opt/conda/lib'], 'define_macros': [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)], 'include_dirs': ['/opt/conda/include']}
Adding scs 2.1.2 to easy-install.pth file

Installed /opt/conda/lib/python3.7/site-packages/scs-2.1.2-py3.7-linux-x86_64.egg
Processing dependencies for scs==2.1.2
Searching for scipy==1.6.3
Best match: scipy 1.6.3
Adding scipy 1.6.3 to easy-install.pth file

Using /opt/conda/lib/python3.7/site-packages
Searching for numpy==1.21.2
Best match: numpy 1.21.2
Adding numpy 1.21.2 to easy-install.pth file
Installing f2py script to /opt/conda/bin
Installing f2py3 script to /opt/conda/bin
Installing f2py3.7 script to /opt/conda/bin

Using /opt/conda/lib/python3.7/site-packages
Finished processing dependencies for scs==2.1.2


Traceback (most recent call last):
File "gmtracker_app.py", line 205, in
run( sequence_dir, npy,outfile, 100,1, 0.6, check,seq)
File "gmtracker_app.py", line 174, in run
frame_callback(frame_idx*4 +1)
File "gmtracker_app.py", line 160, in frame_callback
tracker.update(detections, seq_name, frame_idx, checkpoint_dir)
File "/app/train_b2_cut/infer/utils/tracker.py", line 119, in update
self._match(detections,video,frame,checkpoint_dir)
File "/app/train_b2_cut/infer/utils/tracker.py", line 149, in _match
self.max_age, self.tracks, detections, confirmed_tracks,reid_thr=self.reid_thr,seq_name=video,ckp_dir=checkpoint_dir)
File "/app/train_b2_cut/infer/GMMOT/assignment.py", line 144, in graph_matching
track_indices_l, unmatched_detections,reid_thr,seq_name,ckp_dir)
File "/app/train_b2_cut/infer/GMMOT/assignment.py", line 98, in quadratic_matching
indices, thr_flag = graphnet.forward(data2, data1, kf_gate.T, reid_thr, iou.t(), start_tgt, end_tgt, start_src, end_src, seq_name, inverse_flag=True)
File "/app/train_b2_cut/infer/GMMOT/gmatching.py", line 92, in forward
prob.solve(solver=cp.SCS, gpu=True, use_indirect=True)
File "/opt/conda/lib/python3.7/site-packages/cvxpy/problems/problem.py", line 472, in solve
return solve_func(self, *args, **kwargs)
File "/opt/conda/lib/python3.7/site-packages/cvxpy/problems/problem.py", line 975, in _solve
self, data, warm_start, verbose, kwargs)
File "/opt/conda/lib/python3.7/site-packages/cvxpy/reductions/solvers/solving_chain.py", line 344, in solve_via_data
solver_opts, problem._solver_cache)
File "/opt/conda/lib/python3.7/site-packages/cvxpy/reductions/solvers/conic_solvers/scs_conif.py", line 293, in solve_via_data
results = scs.solve(args, cones, verbose=verbose, **solver_opts)
File "/opt/conda/lib/python3.7/site-packages/scs-2.1.2-py3.7-linux-x86_64.egg/scs/init.py", line 73, in solve
import _scs_gpu
ImportError: /opt/conda/lib/python3.7/site-packages/scs-2.1.2-py3.7-linux-x86_64.egg/_scs_gpu.cpython-37m-x86_64-linux-gnu.so: undefined symbol: cusparseDcsrmv


Specifications

  • OS:ubuntu 18.04
  • SCS version:2.1.2
  • Python version:3.7
  • Numpy version:1.21.2
  • Scipy version:1.6.3

The above is the installation information and the following is the error information,please help me solve it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions