Commit e2ddbcb3 authored by Michael Kuron's avatar Michael Kuron
Browse files

rocFFT from ROCm 2.9.0 is broken

parent e7ee0a0a
Pipeline #9532 passed with stages
in 209 minutes and 37 seconds
......@@ -25,6 +25,13 @@ RUN apt-get update && apt-get install -y \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# patch rocFFT as a workaround for https://github.com/espressomd/espresso/issues/3235
RUN dpkg-query --show --showformat '${Version}' rocfft | grep -qv '0\.9\.7\.722' || ( \
git clone -b rocm-2.9 https://github.com/ROCmSoftwarePlatform/rocFFT.git && \
cd rocFFT && git diff 3b0813f~1..3b0813f library/src/plan.cpp | git apply && mkdir build && cd build && \
cmake .. -DCMAKE_INSTALL_PREFIX=/opt/rocm -DCMAKE_CXX_COMPILER=/opt/rocm/bin/hcc -DCMAKE_CXX_FLAGS=--amdgpu-target=gfx900 && make -j$(nproc) install && \
cd && rm -rf rocFFT )
RUN useradd -m espresso
USER 1000
WORKDIR /home/espresso
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment