scalapack cmake target points to incorrect directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
scalapack (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I added "find_package(
CMake Error at /usr/lib/
The imported target "scalapack" references the file
"/usr/
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/
but not all the files it references.
Call Stack (most recent call first):
/usr/lib/
test/CMakeList
I worked around this by replacing "lib" with "lib/x86_
$ lsb_release -rd
Description: Ubuntu 20.04.2 LTS
Release: 20.04
$ apt-cache policy libscalapack-
libscalapack-
Installed: 2.1.0-2build1
Candidate: 2.1.0-2build1
Version table:
*** 2.1.0-2build1 500
500 http://
100 /var/lib/
The scalapack cmake target also points to /usr/lib/ x86_64- linux-gnu/ liblapack. so, which is provided by the liblapack-dev package. One either needs to add this package to the list of dependencies or link against /usr/lib/ x86_64- linux-gnu/ lapack/ liblapack. so.3 provided by liblapack3.