hzhan0607 / cusp-library

Automatically exported from code.google.com/p/cusp-library
Apache License 2.0
0 stars 0 forks source link

missing thrust/system/cuda/detail/arch.h #106

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download CUSP-3.0.1, Examples-0.3, As per Getting Started
2. nvcc -o versions versions.cu
3. cd examples/Solvers; nvcc -o cg cg.cu

What is the expected output? What do you see instead?

Versions:

CUDA   v5.5
Thrust v1.7
Cusp   v0.3

[Solvers]$ nvcc cg.cu -o cg
In file included from 
/usr/local/cuda-5.5/bin/..//include/cusp/detail/device/spmv/coo_flat.h:21,
                 from /usr/local/cuda-5.5/bin/..//include/cusp/detail/device/multiply.h:23,
                 from /usr/local/cuda-5.5/bin/..//include/cusp/detail/dispatch/multiply.h:20,
                 from /usr/local/cuda-5.5/bin/..//include/cusp/detail/multiply.inl:17,
                 from /usr/local/cuda-5.5/bin/..//include/cusp/multiply.h:90,
                 from /usr/local/cuda-5.5/bin/..//include/cusp/krylov/detail/cg.inl:20,
                 from /usr/local/cuda-5.5/bin/..//include/cusp/krylov/cg.h:132,
                 from cg.cu:3:
/usr/local/cuda-5.5/bin/..//include/cusp/detail/device/arch.h:22:44: error: 
thrust/system/cuda/detail/arch.h: No such file or directory

What version of the product are you using? On what operating system?

CentOS 5.5

Please provide any additional information below.

Downloaded CUSP tip (d3618b307dd7) and it is still a problem.

Original issue reported on code.google.com by edward...@gmail.com on 12 Sep 2013 at 4:47

GoogleCodeExporter commented 8 years ago
I guess it is an issue with the new CUDA version (5.5), I downloaded 4.1 and it 
seems to work OK.

Original comment by edward...@gmail.com on 12 Sep 2013 at 5:09

GoogleCodeExporter commented 8 years ago
yes, i also have the same issue, if you've solved that, could you share please

Original comment by ismail_t...@yahoo.com on 24 Oct 2013 at 3:05

GoogleCodeExporter commented 8 years ago
I am having a similar problem. 

My versions are also:
CUDA   v5.5
Thrust v1.7
Cusp   v0.3

and the error message for the cg.cu is nearly identical. 

Original comment by carlpgoo...@gmail.com on 29 Oct 2013 at 6:46

GoogleCodeExporter commented 8 years ago
As indicated, removed CUDA 5.5 and installed CUDA 4.1 and it worked.

Original comment by edward...@gmail.com on 29 Oct 2013 at 6:51

GoogleCodeExporter commented 8 years ago
Thanks for your fast response. I am looking into that but was wondering if 
another solution had been found. I am a guest on another group's gpu cluster 
(and also very new to gpu computing) so I wanted to double check before 
requesting that the admin reinstall cuda. I will contact him now. Thanks again.

Original comment by carlpgoo...@gmail.com on 29 Oct 2013 at 7:04

GoogleCodeExporter commented 8 years ago
Ok, I've solved the problem without changing to an earlier version of CUDA. The 
download link in the CUSP Quick Start Guide sends you to download version 0.3.1 
of CUSP, but there is a newer version (0.4) that can be downloaded directly 
from the github page. CUSP version 0.4 is compatible with CUDA version 5.5 and 
this error goes away.

Original comment by carlpgoo...@gmail.com on 29 Oct 2013 at 9:38

GoogleCodeExporter commented 8 years ago
The problem only occurs with an old version so I'm closing it as invalid.

Original comment by filipe.c...@gmail.com on 29 Oct 2013 at 10:04

GoogleCodeExporter commented 8 years ago
I encounter the same issue but I cannot find the 0.4 version was it removed ?

Original comment by hugo.fla...@gmail.com on 20 Jan 2014 at 1:32

GoogleCodeExporter commented 8 years ago
I also can not find cusp 0.4

Original comment by manobjy...@gmail.com on 28 Jan 2014 at 3:10

GoogleCodeExporter commented 8 years ago
Not sure where to find it on the GitHub website, but I found it here
http://pkgs.org/centos-6/puias-computational-i386/cusplibrary040-0.4.0-1.sdl6.no
arch.rpm.html

Original comment by thalie.k...@gmail.com on 28 Mar 2014 at 10:31