-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Win10 install scs-gpu #216
Comments
This is comlete mistake news |
pls give me a advice thanks ! |
Sorry, I can't read those error messages so I can't tell what's happening. In many cases the GPU solver is actually slower than the CPU solver, so I would advise starting with that first. |
Please read this first
If you are have a problem that SCS struggles with you can pass a string to the
write_data_filename
argument and SCS will dump a file containing the problemto disk. Zip the file and send it to us or attach it to this bug report for easy
reproduction of the issue.
A common cause of issues is not linking BLAS/LAPACK libraries correctly. If you
are having this issue please search for resources on installing and linking
these libraries first. You can try openblas if you need a BLAS library.
Specifications
Description
Try to install scs -gpu in win10 /gtx 1650
In my computer finish to install vs2019 (all) and cuda 10.1
set cuda
CUDA_PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1
CUDA_PATH_V10_1=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1
nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Fri_Feb__8_19:08:26_Pacific_Standard_Time_2019
Cuda compilation tools, release 10.1, V10.1.105
How to reproduce
git clne https://github.com/bodono/scs-python.git(3.0.0)
cd scs-python
git clone git clone https://github.com/cvxgrp/scs.git
python setup.py install --scs --gpu
Additional information
I use the conda env
conda list:
atomicwrites 1.4.0 pypi_0 pypi
attrs 21.4.0 pypi_0 pypi
blas 1.0 mkl https://mirrors.ustc.edu.cn/anaconda/pkgs/main
certifi 2020.6.20 pyhd3eb1b0_3 https://mirrors.ustc.edu.cn/anaconda/pkgs/main
charset-normalizer 2.0.12 pypi_0 pypi
colorama 0.4.4 pypi_0 pypi
cvxpy 1.1.11 pypi_0 pypi
decorator 4.4.2 pypi_0 pypi
easydict 1.9 pypi_0 pypi
ecos 2.0.10 pypi_0 pypi
flake8 4.0.1 pypi_0 pypi
flake8-import-order 0.18.1 pypi_0 pypi
future 0.18.2 pypi_0 pypi
googledrivedownloader 0.4 pypi_0 pypi
idna 3.3 pypi_0 pypi
importlib-metadata 4.2.0 pypi_0 pypi
importlib-resources 5.4.0 pypi_0 pypi
iniconfig 1.1.1 pypi_0 pypi
isodate 0.6.1 pypi_0 pypi
jinja2 3.0.3 pypi_0 pypi
markupsafe 2.0.1 pypi_0 pypi
mccabe 0.6.1 pypi_0 pypi
mkl 2017.0.3 0 https://mirrors.ustc.edu.cn/anaconda/pkgs/free
motmetrics 1.2.0 pypi_0 pypi
networkx 2.5.1 pypi_0 pypi
numpy 1.19.5 pypi_0 pypi
opencv-python 4.5.5.62 pypi_0 pypi
osqp 0.6.2.post5 pypi_0 pypi
packaging 21.3 pypi_0 pypi
pandas 1.1.5 pypi_0 pypi
pillow 8.4.0 pypi_0 pypi
pip 21.2.2 py36haa95532_0 https://mirrors.ustc.edu.cn/anaconda/pkgs/main
pluggy 1.0.0 pypi_0 pypi
py 1.11.0 pypi_0 pypi
py-cpuinfo 8.0.0 pypi_0 pypi
pycodestyle 2.8.0 pypi_0 pypi
pyflakes 2.4.0 pypi_0 pypi
pyparsing 3.0.7 pypi_0 pypi
pytest 7.0.1 pypi_0 pypi
pytest-benchmark 3.4.1 pypi_0 pypi
python 3.6.2 0 https://mirrors.ustc.edu.cn/anaconda/pkgs/free
python-dateutil 2.8.2 pypi_0 pypi
pytz 2021.3 pypi_0 pypi
pyyaml 6.0 pypi_0 pypi
qdldl 0.1.5.post0 pypi_0 pypi
qpth 0.0.15 dev_0
rdflib 5.0.0 pypi_0 pypi
requests 2.27.1 pypi_0 pypi
scikit-learn 0.19.0 pypi_0 pypi
scipy 1.4.1 pypi_0 pypi
setuptools 58.0.4 py36haa95532_0 https://mirrors.ustc.edu.cn/anaconda/pkgs/main
six 1.16.0 pypi_0 pypi
tomli 1.2.3 pypi_0 pypi
torch 1.5.0+cu101 pypi_0 pypi
torch-geometric 2.0.3 pypi_0 pypi
torchvision 0.6.0+cu101 pypi_0 pypi
tqdm 4.63.0 pypi_0 pypi
typing-extensions 4.1.1 pypi_0 pypi
urllib3 1.26.8 pypi_0 pypi
vc 14 0 https://mirrors.ustc.edu.cn/anaconda/pkgs/free
vs2015_runtime 14.27.29016 h5e58377_2 https://mirrors.ustc.edu.cn/anaconda/pkgs/main
wheel 0.37.1 pyhd3eb1b0_0 https://mirrors.ustc.edu.cn/anaconda/pkgs/main
wincertstore 0.2 py36h7fe50ca_0 https://mirrors.ustc.edu.cn/anaconda/pkgs/main
xmltodict 0.12.0 pypi_0 pypi
yacs 0.1.8 pypi_0 pypi
zipp 3.6.0 pypi_0 pypi
Output
error: Command "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DPYTHON -DCTRLC=1 -DGPU_TRANSPOSE_MAT=1 -DPY_GPU -DINDIRECT=1 -Iscs/include -Iscs/linsys -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1/include" -Iscs/linsys/gpu/ -Iscs/linsys/gpu/indirect -ID:\ANACONDA\envs\gmt\lib\site-packages\numpy\core\include -ID:\ANACONDA\envs\gmt\include -ID:\ANACONDA\envs\gmt\include -I"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\ATLMFC\include" -I"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include" -I"C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" /Tcscs/linsys/gpu\gpu.c /Fobuild\temp.win-amd64-3.6\Release\scs/linsys/gpu\gpu.obj -O3" failed with exit status 2
The text was updated successfully, but these errors were encountered: