Skip to content
This repository was archived by the owner on Jun 5, 2023. It is now read-only.

Commit a2d4f72

Browse files
authored
Merge pull request #94 from settle/patch-1
Corrected installation instructions (render group and clinfo path)
2 parents 10b1a8e + 0a6dbcb commit a2d4f72

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

Installation_Guide/Installation-Guide.rst

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -121,41 +121,45 @@ The current rocm.gpg.key is not available in a standard key ring distribution, b
121121
sudo apt install rocm-dkms && sudo reboot
122122
123123

124-
4. Set permissions. To access the GPU, you must be a user in the video group. Ensure your user account is a member of the video group prior to using ROCm. To identify the groups you are a member of, use the following command:
124+
4. Set permissions. To access the GPU, you must be a user in the video and render groups. Ensure your user account is a member of the video and render groups prior to using ROCm. To identify the groups you are a member of, use the following command:
125125

126126
::
127127

128128
groups
129129
130130

131-
5. To add your user to the video group, use the following command with the sudo password:
131+
5. To add your user to the video and render groups, use the following command with the sudo password:
132132

133133
::
134134

135135
sudo usermod -a -G video $LOGNAME
136136

137-
6. By default, you must add any future users to the video group. To add future users to the video group, run the following command:
137+
sudo usermod -a -G render $LOGNAME
138+
139+
6. By default, you must add any future users to the video and render groups. To add future users to the video and render groups, run the following command:
138140

139141
::
140142

141143
echo 'ADD_EXTRA_GROUPS=1' | sudo tee -a /etc/adduser.conf
142144

143145
echo 'EXTRA_GROUPS=video' | sudo tee -a /etc/adduser.conf
144146

147+
echo 'EXTRA_GROUPS=render' | sudo tee -a /etc/adduser.conf
148+
145149
7. Restart the system.
146150

147151
8. After restarting the system, run the following commands to verify that the ROCm installation is successful. If you see your GPUs listed by both commands, the installation is considered successful.
148152

149153
::
150154

151155
/opt/rocm/bin/rocminfo
152-
/opt/rocm/opencl/bin/x86_64/clinfo
156+
/opt/rocm/opencl/bin/clinfo
153157

154158
Note: To run the ROCm programs, add the ROCm binaries in your PATH.
155159

156160
::
157161

158-
echo 'export PATH=$PATH:/opt/rocm/bin:/opt/rocm/profiler/bin:/opt/rocm/opencl/bin/x86_64' | sudo tee -a /etc/profile.d/rocm.sh
162+
echo 'export PATH=$PATH:/opt/rocm/bin:/opt/rocm/profiler/bin:/opt/rocm/opencl/bin' | sudo tee -a /etc/profile.d/rocm.sh
159163

160164

161165
Uninstalling ROCm Packages from Ubuntu
@@ -326,14 +330,14 @@ After restarting the system, run the following commands to verify that the ROCm
326330
::
327331

328332
/opt/rocm/bin/rocminfo
329-
/opt/rocm/opencl/bin/x86_64/clinfo
333+
/opt/rocm/opencl/bin/clinfo
330334

331335

332336
**Note**: Add the ROCm binaries in your PATH for easy implementation of the ROCm programs.
333337

334338
::
335339

336-
echo 'export PATH=$PATH:/opt/rocm/bin:/opt/rocm/profiler/bin:/opt/rocm/opencl/bin/x86_64' | sudo tee -a /etc/profile.d/rocm.sh
340+
echo 'export PATH=$PATH:/opt/rocm/bin:/opt/rocm/profiler/bin:/opt/rocm/opencl/bin' | sudo tee -a /etc/profile.d/rocm.sh
337341

338342

339343
Compiling Applications Using HCC, HIP, and Other ROCm Software
@@ -424,7 +428,7 @@ The following section tells you how to perform an install and uninstall ROCm on
424428

425429
4. Verify the ROCm installation.
426430

427-
5. Run /opt/rocm/bin/rocminfo and /opt/rocm/opencl/bin/x86_64/clinfo commands to list the GPUs and verify that the ROCm installation is successful.
431+
5. Run /opt/rocm/bin/rocminfo and /opt/rocm/opencl/bin/clinfo commands to list the GPUs and verify that the ROCm installation is successful.
428432

429433
6. Set permissions.
430434

@@ -454,14 +458,14 @@ To access the GPU, you must be a user in the video group. Ensure your user accou
454458
::
455459

456460
/opt/rocm/bin/rocminfo
457-
/opt/rocm/opencl/bin/x86_64/clinfo
461+
/opt/rocm/opencl/bin/clinfo
458462

459463
Note: To run the ROCm programs more efficiently, add the ROCm binaries in your PATH.
460464

461465

462466
::
463467

464-
echo 'export PATH=$PATH:/opt/rocm/bin:/opt/rocm/profiler/bin:/opt/rocm/opencl/bin/x86_64'|sudo tee -a /etc/profile.d/rocm.sh
468+
echo 'export PATH=$PATH:/opt/rocm/bin:/opt/rocm/profiler/bin:/opt/rocm/opencl/bin'|sudo tee -a /etc/profile.d/rocm.sh
465469
466470
**Uninstallation**
467471

0 commit comments

Comments
 (0)