Problems witch CMAKE (Windows)

Open discussion for MAGMA

Problems witch CMAKE (Windows)

Postby Gridu » Tue Apr 09, 2013 11:50 am

Hi,

I want to use MAGMA under WIndows 64bit and i don't know much about makefiles. So it's a bumpy road for me to get started.

I already have CUDA 5.0 installed and i have compiled lapack libs with cmake (2.8.10) and MinGW64 (newest version) supported by a tutorial.

Now my problem is that cmake can't find cblas. It allways looks at the blas directory. (cblas was built with this tutorial: http://icl.cs.utk.edu/lapack-for-window ... html#build )

CMake-Log
Code: Select all
...
Looking for BLAS - try GENERIC
* debug:
* debug: Looking for BLAS - status of GENERIC
* debug: - libraries : blas
* debug: - additional flags :
* debug: - searching in this paths :
* debug: - obtained library path : D:/Nutzer/Riedel/_Delphi/_Lib/Lapack/bin/libblas.dll
* debug: - BLAS_GENERIC_LIBRARY_PATH : D:/Nutzer/Riedel/_Delphi/_Lib/Lapack/bin
* debug: - BLAS_GENERIC_LDFLAGS : -LD:/Nutzer/Riedel/_Delphi/_Lib/Lapack/bin -lblas
* debug: - BLAS_GENERIC_DGEMM : TRUE
* debug:
Looking for BLAS - found vendors: GENERIC
Looking for BLAS - picked vendor: GENERIC
* debug:
* debug: Looking for BLAS - picked vendor
* debug: - BLAS_LIBRARY_PATH : D:/Nutzer/Riedel/_Delphi/_Lib/Lapack/bin
* debug: - BLAS_LIBRARIES : blas
* debug: - BLAS_LDFLAGS : -LD:/Nutzer/Riedel/_Delphi/_Lib/Lapack/bin -lblas
* debug:
Looking for CBLAS
Looking for CBLAS
Looking for CBLAS - check only with given GENERIC BLAS library
Looking for CBLAS - pkgconfig not used
* debug:
* debug: FindCBLAS - obtained values
* debug:
* debug: CBLAS_ERROR_OCCURRED = FALSE
* debug: CBLAS_VERSION =
* debug: CBLAS_PATH =
* debug: CBLAS_LIBRARY_PATH = D:/Nutzer/Riedel/_Delphi/_Lib/Lapack/lib
* debug: CBLAS_LDFLAGS = -LD:/Nutzer/Riedel/_Delphi/_Lib/Lapack/lib -lblas
* debug: CBLAS_LIBRARY = D:/Nutzer/Riedel/_Delphi/_Lib/Lapack/lib/libblas.lib
* debug: CBLAS_LIBRARIES = blas
* debug:
* debug:
* debug: CHECK :
* debug:
* debug: --> extra libraries:
* debug: - _EXTRA_DEPENDENCIES :
* debug: --> used parameters:
* debug: - CBLAS_TEST_INCS :
* debug: - CBLAS_TEST_FLAGS : -LD:/Nutzer/Riedel/_Delphi/_Lib/Lapack/lib -lblas
* debug: - CBLAS_TEST_LIBS : D:/Nutzer/Riedel/_Delphi/_Lib/Lapack/lib/libblas.lib;c:/MinGW/x86_64-w64-mingw32/lib/libgfortran.dll.a
* debug: --> return code:
* debug: - cblas_sgemm_C_FOUND :
* debug:
Looking for CBLAS - not working
Looking for BLAS - mode already defined
Looking for CBLAS - check Netlib implementation
Looking for CBLAS - pkgconfig not used
Looking for cblas - not found
* debug:
* debug: FindCBLAS - obtained values
* debug:
* debug: CBLAS_ERROR_OCCURRED = FALSE
* debug: CBLAS_VERSION = CBLAS_VERSION-NOTFOUND
* debug: CBLAS_PATH = CBLAS_PATH-NOTFOUND
* debug: CBLAS_LIBRARY_PATH =
* debug: CBLAS_LDFLAGS =
* debug: CBLAS_LIBRARY =
* debug: CBLAS_LIBRARIES =
* debug:
* debug:
* debug: CHECK :
* debug:
* debug: --> extra libraries:
* debug: - _EXTRA_DEPENDENCIES : BLAS
* debug: --> used parameters:
* debug: - CBLAS_TEST_INCS :
* debug: - CBLAS_TEST_FLAGS : -LD:/Nutzer/Riedel/_Delphi/_Lib/Lapack/bin -lblas
* debug: - CBLAS_TEST_LIBS : D:/Nutzer/Riedel/_Delphi/_Lib/Lapack/bin/libblas.dll;c:/MinGW/x86_64-w64-mingw32/lib/libgfortran.dll.a
* debug: --> return code:
* debug: - cblas_sgemm_C_FOUND :
* debug:
Looking for CBLAS - not working
Looking for CBLAS - not found
CMake Error at cmake_modules/buildsystem/DefineDependencies.cmake:63 (MESSAGE):
Looking for CBLAS - not found
Call Stack (most recent call first):
CMakeLists.txt:215 (DEFINE_PACKAGE)
Configuring incomplete, errors occurred!


maybe its a stupid question, sorry, but how can i fix it?
Gridu
 
Posts: 1
Joined: Tue Apr 09, 2013 9:59 am

Return to User discussion

Who is online

Users browsing this forum: Bing [Bot] and 1 guest