deeplearningais / CUV

Matrix library for CUDA in C++ and Python
www.ais.uni-bonn.de
196 stars 48 forks source link

Instalation issues #1

Closed sirotenko closed 13 years ago

sirotenko commented 13 years ago

I'm not familar with cmake, so following the instalation steps in readme the following result appeared: sirotenko@sirotenko-System-Product-Name:~/projects/cuv/build/debug$ cmake -DCMAKE_BUILD_TYPE=Debug ../../ -- The Fortran compiler identification is unknown CMake Error: your Fortran compiler: "CMAKE_Fortran_COMPILER-NOTFOUND" was not found. Please set CMAKE_Fortran_COMPILER to a valid compiler path or name. -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- A library with BLAS API not found. Please specify library location. CMake Error at /usr/share/cmake-2.8/Modules/FindBLAS.cmake:457 (message): A required library with BLAS API not found. Please specify library location. Call Stack (most recent call first): src/matrix_ops/CMakeLists.txt:1 (FIND_PACKAGE)

-- Configuring incomplete, errors occurred!

So the question is where to get most suitable fortran compiler and how to configure cmake to find the blas library?

temporaer commented 13 years ago

It is not a problem of cmake, it probably means that you did not install the required packages correctly. Please use your package manager to install gfortran and libcblas-dev (assuming you are on Ubuntu/Debian), feel free to ask again if something else shows up. I'd appreciate it if you'd send the list of things you needed to install, then we can put them in the documentation!