1
0
Fork 0

toolchain install with apt

main
Jeff Moe 2024-02-04 18:13:38 -07:00
parent 7cd9db6f02
commit 7181d28d51
5 changed files with 69 additions and 2 deletions

View File

@ -5,7 +5,7 @@ git clone https://github.com/Nek5000/nekRS
cd nerKS/
rm -rf build/
# need to rm 3rd_party/occa and get github.cmo/libocca/occa version 1.6.0 or HEAD
# need to rm 3rd_party/occa and get github.com/libocca/occa version 1.6.0 or HEAD
# or hip fails build. But then it fails with occa error during runtime. :|
# Perhaps like this
cd 3rd_party/

View File

@ -19,6 +19,7 @@ tinyrocs is currently working with AMD 7900 XTX GPUs and ``tinygrad``!
os
kernel
toolchain
toolchain-apt
toolchain-6.0.2
toolchain-spack
apps

View File

@ -0,0 +1,40 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2023, 2024 Jeff Moe
# This file is distributed under the same license as the tinyrocs package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: tinyrocs 0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-02-04 18:12-0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: en\n"
"Language-Team: en <LL@li.org>\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.14.0\n"
#: ../../../_source/toolchain-apt.rst:3
msgid "Toolchain APT"
msgstr ""
#: ../../../_source/toolchain-apt.rst:4
msgid ""
"AMD has ROCm repos available for Ubuntu. Unfortunately, these are binary-"
"only repos, and does not support using ``deb-src`` to download the source."
msgstr ""
#: ../../../_source/toolchain-apt.rst:8
msgid ""
"Earlier versions of ROCm binaries either didn't support the 7900 XTX, or "
"there were package conflicts with Debian stable (hard python version deps)."
msgstr ""
#: ../../../_source/toolchain-apt.rst:11
msgid "Set up AMD Radeon repo and install SDK."
msgstr ""

View File

@ -42,7 +42,7 @@ Install dependencies from Debian repositories.
ntpsec-ntpdate nvme-cli ocl-icd-opencl-dev openmpi-bin pahole pkg-config \
portaudio19-dev python3-argcomplete python3-pip python3-pygments \
python3-venv python3-virtualenv python3-yaml quilt rsync rsyslog sshfs \
sudo swig traceroute vim xxd python3-sphinx git-lfs \
sudo swig traceroute vim xxd python3-sphinx git-lfs hwdata \
lua5.3 liblua5.3-dev libmpfr-dev libmsgpack-dev libfmt-dev \
environment-modules python3-numpy pybind11-dev libopengl-dev zip zsh

View File

@ -0,0 +1,26 @@
=============
Toolchain APT
=============
AMD has ROCm repos available for Ubuntu.
Unfortunately, these are binary-only repos, and does not support using
``deb-src`` to download the source.
Earlier versions of ROCm binaries either didn't support the 7900 XTX,
or there were package conflicts with Debian stable (hard python version deps).
Set up AMD Radeon repo and install SDK.
.. code-block:: sh
sudo mkdir --parents --mode=0755 /etc/apt/keyrings
wget https://repo.radeon.com/rocm/rocm.gpg.key -O - | \
gpg --dearmor | sudo tee /etc/apt/keyrings/rocm.gpg > /dev/null
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] http://repo.radeon.com/rocm/apt/6.0.2 jammy main" \
| sudo tee --append /etc/apt/sources.list.d/rocm.list
echo -e 'Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600' \
| sudo tee /etc/apt/preferences.d/rocm-pin-600
apt update
apt install rocm-hip-sdk