Skip to content

problem about install scs for gpu  #184

@1359347500cwc

Description

@1359347500cwc

Specifications

  • OS:Linux
  • SCS Version:2.1.4

Description

when i use setup.py -- setup.py install --scs --gpu it give me a fatal error: scs_matrix.h: No such file or directory

Output

GMTracker) cwc@imc-Z9PE-D8-WS:~/GMTracker/scs-python$ 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:
NOT AVAILABLE
blis_info:
NOT AVAILABLE
openblas_info:
libraries = ['openblas', 'openblas']
library_dirs = ['/usr/local/lib']
language = c
define_macros = [('HAVE_CBLAS', None)]
blas_opt_info:
libraries = ['openblas', 'openblas']
library_dirs = ['/usr/local/lib']
language = c
define_macros = [('HAVE_CBLAS', None)]
lapack_mkl_info:
NOT AVAILABLE
openblas_lapack_info:
libraries = ['openblas', 'openblas']
library_dirs = ['/usr/local/lib']
language = c
define_macros = [('HAVE_CBLAS', None)]
lapack_opt_info:
libraries = ['openblas', 'openblas']
library_dirs = ['/usr/local/lib']
language = c
define_macros = [('HAVE_CBLAS', None)]
{'libraries': ['mkl_rt', 'pthread'], 'library_dirs': ['/home/cwc/anaconda3/envs/GMTracker/lib'], 'define_macros': [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)], 'include_dirs': ['/usr/local/include', '/usr/include', '/home/cwc/anaconda3/envs/GMTracker/include']}
{'libraries': ['mkl_rt', 'pthread'], 'library_dirs': ['/home/cwc/anaconda3/envs/GMTracker/lib'], 'define_macros': [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)], 'include_dirs': ['/usr/local/include', '/usr/include', '/home/cwc/anaconda3/envs/GMTracker/include']}
In file included from /home/cwc/anaconda3/envs/GMTracker/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:0,
from /home/cwc/anaconda3/envs/GMTracker/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
from /home/cwc/anaconda3/envs/GMTracker/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from src/scsmodule.c:5:
/home/cwc/anaconda3/envs/GMTracker/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it with "
^~~~~~~
src/scsmodule.c:7:10: fatal error: scs_matrix.h: No such file or directory
#include "scs_matrix.h"
^~~~~~~~~~~~~~
compilation terminated.
error: Command "gcc -pthread -B /home/cwc/anaconda3/envs/GMTracker/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPYTHON -DCTRLC=1 -DCOPYAMATRIX -DUSE_LAPACK -DSCIPY_MKL_H -DHAVE_CBLAS -DSCIPY_MKL_H -DHAVE_CBLAS -Iscs/include -Iscs/linsys -Iscs/linsys/cpu/direct/ -Iscs/linsys/external/amd -Iscs/linsys/external/dqlql -I/home/cwc/anaconda3/envs/GMTracker/lib/python3.6/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I/home/cwc/anaconda3/envs/GMTracker/include -I/usr/local/include -I/usr/include -I/home/cwc/anaconda3/envs/GMTracker/include -I/home/cwc/anaconda3/envs/GMTracker/include/python3.6m -c src/scsmodule.c -o build/temp.linux-x86_64-3.6/src/scsmodule.o -O3" failed with exit status 1

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