Specify CUDA_TOOLKIT_ROOT_DIR

1,213 views
Skip to first unread message

Robin Allenson

unread,
Feb 19, 2016, 5:25:45 PM2/19/16
to torch7
Hello

I'm trying to install cutorch on OS X. I do
luarocks install cutorch
and everything runs nicely until I get
-- Found Torch7 in /Users/RobinMac/torch/install
CMake Error at /usr/local/Cellar/cmake/3.3.2/share/cmake/Modules/FindCUDA.cmake:603 (message):
  Specify CUDA_TOOLKIT_ROOT_DIR
Call Stack (most recent call first):
  CMakeLists.txt:7 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!
See also "/tmp/luarocks_cutorch-scm-1-3177/cutorch/build/CMakeFiles/CMakeOutput.log".

Error: Build error: Failed building.

Any ideas?

Cheers
Robin
--
Robin Allenson

Koustav Mullick

unread,
Feb 20, 2016, 1:36:48 AM2/20/16
to torch7

Robin Allenson

unread,
Feb 20, 2016, 6:03:32 AM2/20/16
to torch7 on behalf of Koustav Mullick
Hi Koustav

Thanks for the help. Indeed I had not installed CUDA. #fail.

--
Cheers
Robin

--
You received this message because you are subscribed to a topic in the Google Groups "torch7" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/torch7/wCnQ7uodt9w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to torch7+un...@googlegroups.com.
To post to this group, send email to tor...@googlegroups.com.
Visit this group at https://groups.google.com/group/torch7.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages