Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 841982 - sci-libs/rocSOLVER-4.3.0: cannot be built with rocBLAS-5.0.2
Summary: sci-libs/rocSOLVER-4.3.0: cannot be built with rocBLAS-5.0.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-01 07:56 UTC by Benda Xu
Modified: 2022-05-02 08:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,855.64 KB, text/x-log)
2022-05-01 07:57 UTC, Benda Xu
Details
emerge-info.log (emerge-info.log,6.20 KB, text/x-log)
2022-05-01 07:57 UTC, Benda Xu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benda Xu gentoo-dev 2022-05-01 07:56:52 UTC
The failing message is,

> rocblas.hpp:841:12: error: use of undeclared identifier 'rocblas_internal_trmm_recursive_template'
> ...
> rocblas.hpp:513:12: error: no matching function for call to 'rocblas_internal_trmv_template'

It seems that the rocSOLVER assumes some version specific rocBLAS headers.

Reproducible: Always
Comment 1 Benda Xu gentoo-dev 2022-05-01 07:57:32 UTC
Created attachment 775757 [details]
build.log
Comment 2 Benda Xu gentoo-dev 2022-05-01 07:57:50 UTC
Created attachment 775760 [details]
emerge-info.log
Comment 3 Yiyang Wu 2022-05-01 08:17:35 UTC
rocSOLVER and rocBLAS must be the same version.
Comment 4 Larry the Git Cow gentoo-dev 2022-05-02 08:24:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=284e771bd39b4709afddcc3dd666f5f8665c3754

commit 284e771bd39b4709afddcc3dd666f5f8665c3754
Author:     Benda Xu <heroxbd@gentoo.org>
AuthorDate: 2022-05-02 07:58:23 +0000
Commit:     Benda Xu <heroxbd@gentoo.org>
CommitDate: 2022-05-02 08:24:41 +0000

    sci-libs/hipCUB: loosen the dependency on dev-util/hip
    
    sci-libs/hipSPARSE:
    sci-libs/rocPRIM:
    sci-libs/rocRAND:
    sci-libs/rocSOLVER:
    sci-libs/rocSPARSE: same
    
    The possibility is pointed out by Cory Bloor:
    
    You can probably build the versions of rocBLAS and rocSOLVER tagged at
    rocm-5.1.1 with the HIP stack from ROCm 4.3.1. Just be sure to rebuild
    all the {roc,hip}{BLAS,SOLVER} libraries at the new tag, since they
    all use private (unstable) APIs provided by rocBLAS.
    
    The sci-libs/* ROCm packages should be aligned with sci-libs/rocBLAS,
    while the other dev-*/* ROCm packages should be aligned with
    dev-util/hip.
    
    Credit: Cory Bloor
    Suggested-by: Yiyang Wu <xgreenlandforwyy@gmail.com>
    Closes: https://bugs.gentoo.org/838394
    Closes: https://bugs.gentoo.org/841982
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Benda Xu <heroxbd@gentoo.org>

 sci-libs/hipCUB/{hipCUB-4.3.0.ebuild => hipCUB-4.3.0-r1.ebuild}     | 4 ++--
 .../{hipSPARSE-4.3.0-r1.ebuild => hipSPARSE-4.3.0-r2.ebuild}        | 6 +++---
 .../rocPRIM/{rocPRIM-4.3.0-r1.ebuild => rocPRIM-4.3.0-r2.ebuild}    | 4 ++--
 sci-libs/rocRAND/{rocRAND-4.3.0.ebuild => rocRAND-4.3.0-r1.ebuild}  | 4 ++--
 .../rocSOLVER/{rocSOLVER-4.3.0.ebuild => rocSOLVER-4.3.0-r1.ebuild} | 2 +-
 .../{rocSPARSE-4.3.0-r2.ebuild => rocSPARSE-4.3.0-r3.ebuild}        | 2 +-
 6 files changed, 11 insertions(+), 11 deletions(-)