b) rdhc binary does not work, and has ugly warnings
$ rdhc
/usr/bin/rdhc:480: SyntaxWarning: "\[" is an invalid escape sequence. Such
sequences will not work in the future. Did you mean "\\["? A raw string is also
an option.
'Display controller|Processing
accelerators|\[03[[:xdigit:]]{2}\]|\[12[[:xdigit:]]{2}\]' ",\
/usr/bin/rdhc:1257: SyntaxWarning: "\|" is an invalid escape sequence. Such
sequences will not work in the future. Did you mean "\\|"? A raw string is also
an option.
nic_cards, stderr, ret_code = run_command("lspci -nn | grep -i
'ethernet\|network\|infiniband'", shell=True)
======================================================================
WARNING: Missing Required Python Packages
======================================================================
The following packages are required but not installed:
- prettytable
To install the missing packages, run:
pip3 install prettytable
Or install all requirements:
pip3 install -r <ROCM_INSTALL_PATH>/share/rdhc/requirements.txt
Or
pip3 install -r requirements.txt
======================================================================
Exiting...
$ echo $?
1
b1) After I install python3-prettytable, it also fails later in multiple ways,
like:
2026-07-24 13:04:56,012 - RDHC - ERROR - Error reading ROCm version: [Errno 2]
No such file or directory: '/opt/rocm/.info/version'
...
ERROR:root:Error executing command: ['rocminfo'], error: [Errno 2] No such file
or directory: 'rocminfo'
...
ERROR:root:Error executing command: ['amd-smi', 'version'], error: [Errno 2] No
such file or directory: 'amd-smi'
and many more, some for sure because this system doesn't have an AMD
GPU.
What's the point of this new binary?
Who is the target consumer?
Does it need to be in /usr/bin, or should be inside the rocm paths elsewhere?
Does it belong in a library package like librocm-core1? Keep in mind it looks
like it's missing many dependencies declared in the package, and all these
would be added to bin:librocm-core1's list of dependencies.
** Changed in: rocm-core (Ubuntu Resolute)
Status: In Progress => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2153989
Title:
SRU: New upstream version 7.2.4
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rocm-core/+bug/2153989/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs