Notes, awaiting to be committed
parent
ef489032a3
commit
02f15dd8ca
|
@ -0,0 +1,10 @@
|
|||
# needs AMD libm
|
||||
git clone --recursive https://github.com/wrf-model/WRF
|
||||
cd WRF/
|
||||
export NETCDF=/usr
|
||||
cp -p ./share/landread.c.dist ./share/landread.c
|
||||
./configure
|
||||
# Select 72 (single) or 74 (mpi)
|
||||
# No nesting for now 0
|
||||
# vim arch/configure.defaults
|
||||
./compile -j 128 em_real
|
|
@ -0,0 +1,12 @@
|
|||
git clone https://github.com/amd/aocl-libm-ose
|
||||
cd aocl-libm-ose/
|
||||
rm -rf build venv
|
||||
python -m venv venv
|
||||
source venv/bin/activate
|
||||
pip install -U setuptools pip wheel
|
||||
pip install scons
|
||||
# Fails with clang 17, needs 9-16
|
||||
# meh
|
||||
sed -i -e 's/16.0/17.0/g' scripts/site_scons/alm/check.py
|
||||
scons -j128 ALM_CC=/opt/rocm/lib/llvm/bin/clang ALM_CXX=/opt/rocm/lib/llvm/bin/clang++
|
||||
scons -j128 install ALM_CC=/opt/rocm/lib/llvm/bin/clang ALM_CXX=/opt/rocm/lib/llvm/bin/clang++
|
|
@ -0,0 +1,12 @@
|
|||
git clone https://github.com/amd/aocl-utils
|
||||
cd aocl-utils/
|
||||
rm -rf build
|
||||
cmake -B build -G Ninja \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_CXX_COMPILER=clang++ \
|
||||
-DCMAKE_C_COMPILER=clang \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr/local
|
||||
|
||||
ninja -C build
|
||||
sudo ninja -C build install
|
||||
sudo ldconfig
|
|
@ -143,6 +143,7 @@ Phoronix test suite:
|
|||
apt install php-cli php-xml
|
||||
./phoronix-test-suite list-missing-dependencies
|
||||
./phoronix-test-suite list-tests
|
||||
./phoronix-test-suite install pts/hpcc
|
||||
|
||||
Meh, this automatically installs dependencies and builds, but doesn't use ROCm.
|
||||
|
||||
|
|
|
@ -50,6 +50,8 @@ Install dependencies from Debian repositories.
|
|||
libtext-unidecode-perl tex-common texinfo ucx-utils libucx-dev \
|
||||
librdmacm-dev
|
||||
|
||||
apt install -t bookworm-backports linux-cpupower
|
||||
|
||||
# Packages like this aren't used from Debian's repository.
|
||||
# Make sure they are gone.
|
||||
apt purge --autoremove firmware-amd-graphics libhsa-runtime64-1 \
|
||||
|
|
|
@ -69,8 +69,9 @@ Update and install new packages from Ubuntu repos.
|
|||
hpcc gawk googletest libdw-dev libgtest-dev libsigsegv2 \
|
||||
libbabeltrace-dev libbabeltrace1 libbison-dev libncurses5-dev \
|
||||
libtext-unidecode-perl tex-common texinfo ucx-utils libucx-dev \
|
||||
librdmacm-dev
|
||||
|
||||
librdmacm-dev libhdf4-dev libnetcdff-dev libnetcdf-c++4-dev \
|
||||
libnetcdf-dev libnetcdf-mpi-dev libnetcdf-pnetcdf-dev libpnetcdf-dev \
|
||||
netcdf-bin libadios-bin libadios-dev libadios-openmpi-dev csh
|
||||
|
||||
|
||||
OS Configuration
|
||||
|
|
Loading…
Reference in New Issue