RDC:Move rdc deamon to rocm path.
Installing files to standard path across each version and using ldconfig has issues with side-by-side install. Usage of RUNPATH/RPATH for ROCm to ensure all ROCm libraries are picked without the need for ldconfig. For RDC server to be picked up by systemctl, service config file shall be a symlink from /lib/systemctl/system/rdc.service to corresponding RDC file path in a given version of ROCm For side-by-side install packages of RDC post install scripts will be removed. Hence Use will have to set the symlink explicitly for now. Change-Id: I916da7cf132f0f9c667e2470fac2b0875e3db9d0
This commit is contained in:
+8
-5
@@ -100,12 +100,14 @@ When *rdcd* is started from a command-line the *capabilities* are determined by
|
||||
$ cd rdc_install_prefix ## If specified in Building RDC section
|
||||
|
||||
## To run with authentication. Ensure SSL keys are setup properly
|
||||
$ ./usr/sbin/rdcd ## rdcd is started with monitor-only capabilities
|
||||
$ sudo ./usr/sbin/rdcd ## rdcd is started will full-capabilities
|
||||
## version will be the version number(ex:3.10.0) of ROCm where RDC was pacakged with
|
||||
$ /opt/rocm-<version>/rdc/bin/rdcd ## rdcd is started with monitor-only capabilities
|
||||
$ sudo /opt/rocm-<version>/rdc/bin/rdcd ## rdcd is started will full-capabilities
|
||||
|
||||
## To run without authentication. SSL key & certificates are not required.
|
||||
$ ./usr/sbin/rdcd -u ## rdcd is started with monitor-only capabilities
|
||||
$ sudo ./usr/sbin/rdcd -u ## rdcd is started will full-capabilities
|
||||
## version will be the version number(ex:3.10.0) of ROCm where RDC was pacakged with
|
||||
$ /opt/rocm-<version>/rdc/bin/rdcd -u ## rdcd is started with monitor-only capabilities
|
||||
$ sudo /opt/rocm-<version>/rdc/bin/rdcd -u ## rdcd is started will full-capabilities
|
||||
|
||||
### Start RDCD using systemd
|
||||
*rdcd* can be started by using the systemctl command. systemctl will read /lib/systemd/system/rdc.service, which is installed with rdc. This file has 2 lines that control what *capabilities* with which *rdcd* will run. If left uncommented, rdcd will run with full-capabilities.
|
||||
@@ -137,6 +139,7 @@ Log messages that can provide useful debug information.
|
||||
journalctl -u rdc
|
||||
|
||||
## To run rdcd with debug log from command-line use
|
||||
RDC_LOG=DEBUG ./usr/sbin/rdcd
|
||||
## version will be the version number(ex:3.10.0) of ROCm where RDC was pacakged with
|
||||
RDC_LOG=DEBUG /opt/rocm-<version>/rdc/bin/rdcd
|
||||
|
||||
|
||||
|
||||
مرجع در شماره جدید
Block a user