Hi all,
I am trying to set the conda environment for the project as mentioned in installation guide. I have been able to set everything till Build Caffe2.
After cloning pytorch, when I run cmake in build I get this summary. In summary it shows CUDA 9.2 and cudnn 7.1.4 and other details like opencv 3.4.0 and so on.
But down the line it shows following error
(1) [Could not find a package configuration file provided by "Eigen3" with any
of the following names:
Eigen3Config.cmake
eigen3-config.cmake
Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or set
"Eigen3_DIR" to a directory containing one of the above files. If "Eigen3"
provides a separate development package or SDK, be sure it has been
installed.]
Here is the summary of cmake ..
-- **** Summary ****
-- General:
-- CMake version : 3.5.1
-- CMake command : /usr/bin/cmake
-- Git version : v0.1.11-9471-g0262fd0-dirty
-- System : Linux
-- C++ compiler : /usr/bin/c++
-- C++ compiler version : 5.4.0
-- BLAS : Eigen
-- CXX flags : -fvisibility-inlines-hidden -DONNX_NAMESPACE=onnx_c2 -O2 -fPIC -Wno-narrowing -Wall -Wextra -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations
-- Build type : Release
-- Compile definitions :
-- CMAKE_PREFIX_PATH :
-- CMAKE_INSTALL_PREFIX : /usr/local
--
-- BUILD_CAFFE2 : ON
-- BUILD_ATEN : OFF
-- BUILD_BINARY : ON
-- BUILD_CUSTOM_PROTOBUF : ON
-- Link local protobuf : ON
-- BUILD_DOCS : OFF
-- BUILD_PYTHON : ON
-- Python version : 2.7.13
-- Python executable : /home/aafaq/yes/envs/pythorch1/bin/python
-- Pythonlibs version : 2.7.13
-- Python library : /home/aafaq/yes/envs/pythorch1/lib/python2.7
-- Python includes : /home/aafaq/yes/envs/pythorch1/include/python2.7
-- Python site-packages: lib/python2.7/site-packages
-- BUILD_SHARED_LIBS : ON
-- BUILD_TEST : OFF
-- USE_ASAN : OFF
-- USE_ATEN : OFF
-- USE_CUDA : ON
-- CUDA static link : OFF
-- USE_CUDNN : ON
-- CUDA version : 9.2
-- cuDNN version : 7.1.4
-- CUDA root directory : /usr/local/cuda-9.2
-- CUDA library : /usr/local/cuda-9.2/lib64/stubs/libcuda.so
-- cudart library : /usr/local/cuda-9.2/lib64/libcudart_static.a;-pthread;dl;/usr/lib/x86_64-linux-gnu/librt.so
-- cublas library : /usr/local/cuda-9.2/lib64/libcublas.so;/usr/local/cuda-9.2/lib64/libcublas_device.a
-- cufft library : /usr/local/cuda-9.2/lib64/libcufft.so
-- curand library : /usr/local/cuda-9.2/lib64/libcurand.so
-- cuDNN library : /usr/local/cuda-9.2/lib64/libcudnn.so
-- nvrtc : /usr/local/cuda-9.2/lib64/libnvrtc.so
-- CUDA include path : /usr/local/cuda-9.2/include
-- NVCC executable : /usr/local/cuda-9.2/bin/nvcc
-- CUDA host compiler : /usr/bin/cc
-- USE_TENSORRT : OFF
-- USE_ROCM : OFF
-- USE_EIGEN_FOR_BLAS : ON
-- USE_FFMPEG : ON
-- USE_GFLAGS : ON
-- USE_GLOG : ON
-- USE_GLOO : ON
-- USE_GLOO_IBVERBS : OFF
-- USE_LEVELDB : ON
-- LevelDB version : 1.18
-- Snappy version : 1.1.3
-- USE_LITE_PROTO : OFF
-- USE_LMDB : ON
-- LMDB version : 0.9.17
-- USE_METAL : OFF
-- USE_MKL :
-- USE_MOBILE_OPENGL : OFF
-- USE_MPI : ON
-- USE_NCCL : ON
-- USE_SYSTEM_NCCL : OFF
-- USE_NERVANA_GPU : OFF
-- USE_NNPACK : ON
-- USE_OBSERVERS : ON
-- USE_OPENCL : OFF
-- USE_OPENCV : ON
-- OpenCV version : 3.4.0
-- USE_OPENMP : OFF
-- USE_PROF : OFF
-- USE_REDIS : OFF
-- USE_ROCKSDB : OFF
-- USE_ZMQ : OFF
-- Public Dependencies : Threads::Threads;gflags;glog::glog
-- Private Dependencies : nnpack;cpuinfo;/usr/lib/x86_64-linux-gnu/liblmdb.so;/usr/lib/x86_64-linux-gnu/libleveldb.so;/usr/lib/x86_64-linux-gnu/libsnappy.so;/usr/lib/x86_64-linux-gnu/libnuma.so;opencv_core;opencv_highgui;opencv_imgproc;opencv_imgcodecs;opencv_videoio;opencv_video;/home/aafaq/yes/lib/libavcodec.so;/home/aafaq/yes/lib/libavformat.so;/home/aafaq/yes/lib/libavutil.so;/home/aafaq/yes/lib/libswscale.so;/usr/lib/openmpi/lib/libmpi_cxx.so;/usr/lib/openmpi/lib/libmpi.so;gloo;onnxifi_loader;gcc_s;gcc;dl
-- Configuring done
-- Generating done
-- Build files have been written to: /home/aafaq/yes/envs/pythorch1/pytorch/build
But down the line while installing it shows me this warning
/home/aafaq/yes/envs/pythorch1/pytorch/caffe2/core/common_cudnn.h:25:17: note: #pragma message: We strongly encourage you to move to 6.0 and above.
pragma message "We strongly encourage you to move to 6.0 and above."
^
/home/aafaq/yes/envs/pythorch1/pytorch/caffe2/core/common_cudnn.h:26:17: note: #pragma message: This message is intended to annoy you enough to update.
pragma message "This message is intended to annoy you enough to update."
However in the summary it showed that cudnn version is 7.1.4.
Lastly, It ends with this error
CMakeFiles/Makefile2:1401: recipe for target 'caffe2/CMakeFiles/caffe2_gpu.dir/all' failed
make[1]: [caffe2/CMakeFiles/caffe2_gpu.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: [all] Error 2
Hi all, I am trying to set the conda environment for the project as mentioned in installation guide. I have been able to set everything till Build Caffe2. After cloning pytorch, when I run cmake in build I get this summary. In summary it shows CUDA 9.2 and cudnn 7.1.4 and other details like opencv 3.4.0 and so on. But down the line it shows following error
(1) [Could not find a package configuration file provided by "Eigen3" with any of the following names: Eigen3Config.cmake eigen3-config.cmake Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or set "Eigen3_DIR" to a directory containing one of the above files. If "Eigen3" provides a separate development package or SDK, be sure it has been installed.] Here is the summary of cmake ..
-- **** Summary **** -- General: -- CMake version : 3.5.1 -- CMake command : /usr/bin/cmake -- Git version : v0.1.11-9471-g0262fd0-dirty -- System : Linux -- C++ compiler : /usr/bin/c++ -- C++ compiler version : 5.4.0 -- BLAS : Eigen -- CXX flags : -fvisibility-inlines-hidden -DONNX_NAMESPACE=onnx_c2 -O2 -fPIC -Wno-narrowing -Wall -Wextra -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -- Build type : Release -- Compile definitions : -- CMAKE_PREFIX_PATH : -- CMAKE_INSTALL_PREFIX : /usr/local -- -- BUILD_CAFFE2 : ON -- BUILD_ATEN : OFF -- BUILD_BINARY : ON -- BUILD_CUSTOM_PROTOBUF : ON -- Link local protobuf : ON -- BUILD_DOCS : OFF -- BUILD_PYTHON : ON -- Python version : 2.7.13 -- Python executable : /home/aafaq/yes/envs/pythorch1/bin/python -- Pythonlibs version : 2.7.13 -- Python library : /home/aafaq/yes/envs/pythorch1/lib/python2.7 -- Python includes : /home/aafaq/yes/envs/pythorch1/include/python2.7 -- Python site-packages: lib/python2.7/site-packages -- BUILD_SHARED_LIBS : ON -- BUILD_TEST : OFF -- USE_ASAN : OFF -- USE_ATEN : OFF -- USE_CUDA : ON -- CUDA static link : OFF -- USE_CUDNN : ON -- CUDA version : 9.2 -- cuDNN version : 7.1.4 -- CUDA root directory : /usr/local/cuda-9.2 -- CUDA library : /usr/local/cuda-9.2/lib64/stubs/libcuda.so -- cudart library : /usr/local/cuda-9.2/lib64/libcudart_static.a;-pthread;dl;/usr/lib/x86_64-linux-gnu/librt.so -- cublas library : /usr/local/cuda-9.2/lib64/libcublas.so;/usr/local/cuda-9.2/lib64/libcublas_device.a -- cufft library : /usr/local/cuda-9.2/lib64/libcufft.so -- curand library : /usr/local/cuda-9.2/lib64/libcurand.so -- cuDNN library : /usr/local/cuda-9.2/lib64/libcudnn.so -- nvrtc : /usr/local/cuda-9.2/lib64/libnvrtc.so -- CUDA include path : /usr/local/cuda-9.2/include -- NVCC executable : /usr/local/cuda-9.2/bin/nvcc -- CUDA host compiler : /usr/bin/cc -- USE_TENSORRT : OFF -- USE_ROCM : OFF -- USE_EIGEN_FOR_BLAS : ON -- USE_FFMPEG : ON -- USE_GFLAGS : ON -- USE_GLOG : ON -- USE_GLOO : ON -- USE_GLOO_IBVERBS : OFF -- USE_LEVELDB : ON -- LevelDB version : 1.18 -- Snappy version : 1.1.3 -- USE_LITE_PROTO : OFF -- USE_LMDB : ON -- LMDB version : 0.9.17 -- USE_METAL : OFF -- USE_MKL : -- USE_MOBILE_OPENGL : OFF -- USE_MPI : ON -- USE_NCCL : ON -- USE_SYSTEM_NCCL : OFF -- USE_NERVANA_GPU : OFF -- USE_NNPACK : ON -- USE_OBSERVERS : ON -- USE_OPENCL : OFF -- USE_OPENCV : ON -- OpenCV version : 3.4.0 -- USE_OPENMP : OFF -- USE_PROF : OFF -- USE_REDIS : OFF -- USE_ROCKSDB : OFF -- USE_ZMQ : OFF -- Public Dependencies : Threads::Threads;gflags;glog::glog -- Private Dependencies : nnpack;cpuinfo;/usr/lib/x86_64-linux-gnu/liblmdb.so;/usr/lib/x86_64-linux-gnu/libleveldb.so;/usr/lib/x86_64-linux-gnu/libsnappy.so;/usr/lib/x86_64-linux-gnu/libnuma.so;opencv_core;opencv_highgui;opencv_imgproc;opencv_imgcodecs;opencv_videoio;opencv_video;/home/aafaq/yes/lib/libavcodec.so;/home/aafaq/yes/lib/libavformat.so;/home/aafaq/yes/lib/libavutil.so;/home/aafaq/yes/lib/libswscale.so;/usr/lib/openmpi/lib/libmpi_cxx.so;/usr/lib/openmpi/lib/libmpi.so;gloo;onnxifi_loader;gcc_s;gcc;dl -- Configuring done -- Generating done -- Build files have been written to: /home/aafaq/yes/envs/pythorch1/pytorch/build
But down the line while installing it shows me this warning
/home/aafaq/yes/envs/pythorch1/pytorch/caffe2/core/common_cudnn.h:25:17: note: #pragma message: We strongly encourage you to move to 6.0 and above.
pragma message "We strongly encourage you to move to 6.0 and above."
/home/aafaq/yes/envs/pythorch1/pytorch/caffe2/core/common_cudnn.h:26:17: note: #pragma message: This message is intended to annoy you enough to update.
pragma message "This message is intended to annoy you enough to update."
However in the summary it showed that cudnn version is 7.1.4.
Lastly, It ends with this error CMakeFiles/Makefile2:1401: recipe for target 'caffe2/CMakeFiles/caffe2_gpu.dir/all' failed make[1]: [caffe2/CMakeFiles/caffe2_gpu.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: [all] Error 2
Desperately looking for solution.
Thanks
Regards