Public bug reported:
I recently experimented with pytorch and discovered that libhipsolver-
dev isn't enough for building:
***** Library versions from cmake find_package *****
amd_comgr VERSION: 3.0.0
rocrand VERSION: 4.1.0
hiprand VERSION: 3.1.0
rocblas VERSION: 5.1.0
hipblas VERSION: 3.1.0
miopen VERSION: 3.5.1
hipfft VERSION: 1.0.21
hipsparse VERSION: 4.1.0
rocprim VERSION: 4.1.0
hipcub VERSION: 4.1.0
rocthrust VERSION: 4.1.0
CMake Error at
/usr/lib/x86_64-linux-gnu/cmake/hipsolver/hipsolver-targets.cmake:101 (message):
The imported target "roc::hipsolver_fortran" references the file
"/usr/lib/x86_64-linux-gnu/libhipsolver_fortran.so.1.0"
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/lib/x86_64-linux-gnu/cmake/hipsolver/hipsolver-
targets.cmake"
but not all the files it references.
Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/hipsolver/hipsolver-config.cmake:92
(include)
cmake/public/LoadHIP.cmake:89 (find_package)
cmake/public/LoadHIP.cmake:193 (find_package_and_print_version)
cmake/Dependencies.cmake:963 (include)
CMakeLists.txt:872 (include)
Now an obvious solution is to add libhipsolver-fortran-dev to b-d, but I'm
questioning the value of libhipsolver-fortran-dev. Because if
hipsolver-targets.cmake comes from libhipsolver-dev, then shouldn't
libhipsolver-dev have been enough to resolve this?
Other ideas I have:
1) Split out hipsolver targets and hipsolver-fortran targets to their own cmake
files (then if libhipsolver-fortran-dev wasn't installed then it just wouldn't
be used)
2) Add a dependency of libhipsolver-fortran-dev to libhipsolver-dev
3) Remove libhipsolver-fortran-dev entirely
** Affects: hipsolver (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2142249
Title:
libhipsolver-fortran-dev should be pulled in by libhipsolver-dev
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hipsolver/+bug/2142249/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs