Closed soumith closed 10 years ago
This is my Settings.mk
--- a/Settings.mk
+++ b/Settings.mk
@@ -1,18 +1,18 @@
BUILD_MODE=release
ENABLE_CUDA_BACKEND=yes
-ENABLE_CUDA_PROFILING=no
-CPP11COMPILER=no
+ENABLE_CUDA_PROFILING=yes
+CPP11COMPILER=yes
BOOST_PATH=/usr/local
OPENCV_PATH=/usr/local
-NETCDF_INSTALLED=yes
+NETCDF_INSTALLED=no
NETCDF_PATH=
-MATIO_INSTALLED=yes
+MATIO_INSTALLED=no
MATIO_PATH=
CUDA_PATH=/usr/local/cuda
NVCC=nvcc
NNFORGE_PATH=../..
-NNFORGE_INPUT_DATA_PATH=/home/max/nnforge/input_data
-NNFORGE_WORKING_DATA_PATH=/home/max/nnforge/working_data
+NNFORGE_INPUT_DATA_PATH=./nnforge/input_data
+NNFORGE_WORKING_DATA_PATH=./nnforge/working_data
If you've seen these issues before, or if there's a standard script to install nnForge with CUDA support for Ubuntu, please let me know.
Thanks!
My main goal is to benchmark all the ConvNet libraries with reproducible instructions/scripts. Located here: https://github.com/soumith/convnet-benchmarks
Hi Soumith,
CPP11COMPILER=no # CUDA doesn't support C++11 yet BOOST_PATH=/usr # If you install Boost through deb packages they are here
This is not the first time developers encounter this problem. It looks like I should set BOOST_PATH=/usr in Settings.mk
Thank you!
Also, the boost libraries are no longer post-fixed by "-mt" in the latest versions, they are built multi-threaded by default, had to change that as well, fyi.
Yeah, thanks, good point.
This issue is fixed with CUDA 6.5: you can now build CUDA backend with -std=c++11
If you see AVX related errors when CPP11COMPILER=yes then set CPP_HW_ARCHITECTURE=-march=corei7 This workaround should work.
Hey,
I am trying to build nnForge on my machine: Ubuntu 14.04 64-bit with CUDA 6.0
I am running into two different issues: (1) When
CPP11COMPILER=yes
the CUDA modules fail to build with the error:(2) With
CPP11COMPILER=no
the core library itself fails to build with the error: