Discussion:
[CUDPP][1115] cmake fails with v2.2 on Linux Mint 17.2 (i.e. Ubuntu 14.04)
'wxChap' via CUDPP
2015-09-15 09:45:20 UTC
Permalink
Hi,
I've tried building cudpp both from the zip file for 2.2 as well as the
latest master branch, but both fail, complaining with a missing file from
the source tree:

#### Begin ####
$ cmake .
-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found CUDA: /usr/local/cuda (found version "7.5")
-- Configuring done
CMake Error at /usr/share/cmake-2.8/Modules/FindCUDA.cmake:1441
(add_library):
Cannot find source file:

/home/wenxen/packages/cudpp-master/ext/moderngpu/src/mgpuutil.cpp

Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx
Call Stack (most recent call first):
src/cudpp/CMakeLists.txt:183 (cuda_add_library)


-- Build files have been written to: /home/wenxen/packages/cudpp-master
#### End ####

The card is a new-ish GeForce 630, and can run simple CUDA programs fine.
The directory ext/moderngpu is empty. Thanks for any help.
--
You received this message because you are subscribed to the Google Groups "CUDPP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cudpp+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/cudpp.
For more options, visit https://groups.google.com/d/optout.
John Owens
2015-09-15 12:57:13 UTC
Permalink
When you fetch CUDPP from git, make sure to get the submodules. I usually do this with




git clone --recursive https://github.com/cudpp/cudpp.git




Anyway, your ext/moderngpu and ext/cub directories need to be filled with the moderngpu and cub distributions, respectively.




JDO

On Tue, Sep 15, 2015 at 5:53 AM, 'wxChap' via CUDPP
Post by 'wxChap' via CUDPP
Hi,
I've tried building cudpp both from the zip file for 2.2 as well as the
latest master branch, but both fail, complaining with a missing file from
#### Begin ####
$ cmake .
-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found CUDA: /usr/local/cuda (found version "7.5")
-- Configuring done
CMake Error at /usr/share/cmake-2.8/Modules/FindCUDA.cmake:1441
/home/wenxen/packages/cudpp-master/ext/moderngpu/src/mgpuutil.cpp
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx
src/cudpp/CMakeLists.txt:183 (cuda_add_library)
-- Build files have been written to: /home/wenxen/packages/cudpp-master
#### End ####
The card is a new-ish GeForce 630, and can run simple CUDA programs fine.
The directory ext/moderngpu is empty. Thanks for any help.
--
You received this message because you are subscribed to the Google Groups "CUDPP" group.
Visit this group at http://groups.google.com/group/cudpp.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "CUDPP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cudpp+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/cudpp.
For more options, visit https://groups.google.com/d/optout.
Mark Harris
2015-09-17 05:03:42 UTC
Permalink
If you have already cloned CUDPP, then from the CUDPP home directory, you
need to:

git submodule init
git submodule update

Mark
Post by John Owens
When you fetch CUDPP from git, make sure to get the submodules. I usually do this with
git clone --recursive https://github.com/cudpp/cudpp.git
Anyway, your ext/moderngpu and ext/cub directories need to be filled with
the moderngpu and cub distributions, respectively.
JDO
On Tue, Sep 15, 2015 at 5:53 AM, 'wxChap' via CUDPP <
Post by 'wxChap' via CUDPP
Hi,
I've tried building cudpp both from the zip file for 2.2 as well as the
latest master branch, but both fail, complaining with a missing file from
#### Begin ####
$ cmake .
-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found CUDA: /usr/local/cuda (found version "7.5")
-- Configuring done
CMake Error at /usr/share/cmake-2.8/Modules/FindCUDA.cmake:1441
/home/wenxen/packages/cudpp-master/ext/moderngpu/src/mgpuutil.cpp
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx
src/cudpp/CMakeLists.txt:183 (cuda_add_library)
-- Build files have been written to: /home/wenxen/packages/cudpp-master
#### End ####
The card is a new-ish GeForce 630, and can run simple CUDA programs fine.
The directory ext/moderngpu is empty. Thanks for any help.
--
You received this message because you are subscribed to the Google Groups "CUDPP" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at http://groups.google.com/group/cudpp.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "CUDPP" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at http://groups.google.com/group/cudpp.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "CUDPP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cudpp+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/cudpp.
For more options, visit https://groups.google.com/d/optout.
Rintu Panja
2016-06-15 17:52:24 UTC
Permalink
But Sir,
I have checked with --recursive and by doing init and then update. But I am
getting the following error:
***@rintu:~/Downloads/mars_lab$ git clone --recursive
https://github.com/cudpp/cudpp.git
Cloning into 'cudpp'...
remote: Counting objects: 8587, done.
remote: Total 8587 (delta 0), reused 0 (delta 0), pack-reused 8587
Receiving objects: 100% (8587/8587), 111.18 MiB | 10.47 MiB/s, done.
Resolving deltas: 100% (6753/6753), done.
Checking connectivity... done.
Submodule 'ext/cub' (git://github.com/NVlabs/cub.git) registered for path
'ext/cub'
Submodule 'ext/moderngpu' (git://github.com/NVlabs/moderngpu.git)
registered for path 'ext/moderngpu'
Cloning into 'ext/cub'...
fatal: unable to connect to github.com:
github.com[0: 192.30.252.131]: errno=Connection refused

Clone of 'git://github.com/NVlabs/cub.git' into submodule path 'ext/cub'
failed

Can you please check.

Thanks & Regards,
Rintu
Post by Mark Harris
If you have already cloned CUDPP, then from the CUDPP home directory, you
git submodule init
git submodule update
Mark
Post by John Owens
When you fetch CUDPP from git, make sure to get the submodules. I usually do this with
git clone --recursive https://github.com/cudpp/cudpp.git
Anyway, your ext/moderngpu and ext/cub directories need to be filled with
the moderngpu and cub distributions, respectively.
JDO
On Tue, Sep 15, 2015 at 5:53 AM, 'wxChap' via CUDPP <
Post by 'wxChap' via CUDPP
Hi,
I've tried building cudpp both from the zip file for 2.2 as well as the
latest master branch, but both fail, complaining with a missing file from
#### Begin ####
$ cmake .
-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found CUDA: /usr/local/cuda (found version "7.5")
-- Configuring done
CMake Error at /usr/share/cmake-2.8/Modules/FindCUDA.cmake:1441
/home/wenxen/packages/cudpp-master/ext/moderngpu/src/mgpuutil.cpp
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx
src/cudpp/CMakeLists.txt:183 (cuda_add_library)
-- Build files have been written to: /home/wenxen/packages/cudpp-master
#### End ####
The card is a new-ish GeForce 630, and can run simple CUDA programs
fine. The directory ext/moderngpu is empty. Thanks for any help.
--
You received this message because you are subscribed to the Google
Groups "CUDPP" group.
To unsubscribe from this group and stop receiving emails from it, send
<javascript:>.
Visit this group at http://groups.google.com/group/cudpp.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "CUDPP" group.
To unsubscribe from this group and stop receiving emails from it, send an
.
Visit this group at http://groups.google.com/group/cudpp.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "CUDPP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cudpp+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/cudpp.
For more options, visit https://groups.google.com/d/optout.
John Owens
2016-06-15 17:55:54 UTC
Permalink
This appears to be a problem with your connection to github and has nothing to do with CUDPP. Appended is my trace from running the same command.

JDO


$ git clone --recursive https://github.com/cudpp/cudpp.git
Cloning into 'cudpp'...
remote: Counting objects: 8587, done.
remote: Total 8587 (delta 0), reused 0 (delta 0), pack-reused 8587
Receiving objects: 100% (8587/8587), 111.18 MiB | 10.86 MiB/s, done.
Resolving deltas: 100% (6753/6753), done.
Checking connectivity... done.
Submodule 'ext/cub' (git://github.com/NVlabs/cub.git) registered for path 'ext/cub'
Submodule 'ext/moderngpu' (git://github.com/NVlabs/moderngpu.git) registered for path 'ext/moderngpu'
Cloning into '/private/tmp/cudpp/ext/cub'...
remote: Counting objects: 26314, done.
remote: Total 26314 (delta 0), reused 0 (delta 0), pack-reused 26314
Receiving objects: 100% (26314/26314), 142.14 MiB | 11.10 MiB/s, done.
Resolving deltas: 100% (23717/23717), done.
Checking connectivity... done.
Submodule path 'ext/cub': checked out 'f0b7d80a39a5837454bdb17f396f3fe833009781'
Cloning into '/private/tmp/cudpp/ext/moderngpu'...
remote: Counting objects: 1244, done.
remote: Total 1244 (delta 0), reused 0 (delta 0), pack-reused 1244
Receiving objects: 100% (1244/1244), 6.72 MiB | 3.23 MiB/s, done.
Resolving deltas: 100% (613/613), done.
Checking connectivity... done.
Submodule path 'ext/moderngpu': checked out 'b6b3ed52f8f7478b969e05242980c97ff21a6ab0'
$
Post by John Owens
git clone --recursive https://github.com/cudpp/cudpp.git
--
You received this message because you are subscribed to the Google Groups "CUDPP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cudpp+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/cudpp.
For more options, visit https://groups.google.com/d/optout.
Loading...