[cmake-developers] [CMake 0013509]: FindBLAS.cmake cannot find acml5.1.0

Mantis Bug Tracker mantis at public.kitware.com
Mon Sep 3 07:09:41 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=13509 
====================================================================== 
Reported By:                Bogdan Cristea
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13509
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   high
Status:                     new
====================================================================== 
Date Submitted:             2012-09-03 07:09 EDT
Last Modified:              2012-09-03 07:09 EDT
====================================================================== 
Summary:                    FindBLAS.cmake cannot find acml5.1.0
Description: 
ACML5.1.0 was installed in the default location (/opt). Using
cmake ..
does not find ACML library. When using 
cmake .. -DBLA_VENDOR=ACML
the following error message is generated:

-- A library with BLAS API not found. Please specify library location.          
                                      
                                                                                
                                    │CMake Error at
cmake/Modules/FindBLAS.cmake:295 (list):                                        
                       
                                                                                
                                    │  list index: 0 out of range (-0,
18446744073709551615)                                                           
    
                                                                                
                                    │Call Stack (most recent call first):     
                                                                             
                                                                                
                                    │  cmake/Modules/FindLAPACK.cmake:140
(find_package)                                                                  
 
                                                                                
                                    │  CMakeLists.txt:29 (find_package) 

Steps to Reproduce: 
- Install cmake 2.8.6
- Install ACML5.1.0 for Linux
- Create a CMakeLists.txt file in order to detect blas library:
find_package(BLAS)
- Create a folder build below the folder containing CMakeLists.txt
- Change folder to build and use 'cmake ..'

Additional Information: 
FindLAPACK is also affected by this bug.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-09-03 07:09 Bogdan Cristea New Issue                                    
2012-09-03 07:09 Bogdan Cristea File Added: FindBLAS.cmake.patch                
   
======================================================================




More information about the cmake-developers mailing list