Mentions légales du service

Skip to content
Snippets Groups Projects
Commit c728b45c authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

Install stapru-1.4.0 for versions with hip (1.3.10 incompatible)

parent 494f6bcd
No related branches found
No related tags found
No related merge requests found
Pipeline #798438 passed
......@@ -136,12 +136,12 @@ ENV PKG_CONFIG_PATH=$STARPU_DIR/lib/pkgconfig:$PKG_CONFIG_PATH
ENV LD_LIBRARY_PATH=/opt/rocm/lib
ENV HIPCCFLAGS="-fPIC"
RUN cd $HOME && \
git clone https://gitlab.inria.fr/starpu/starpu.git && \
cd starpu/ && \
./autogen.sh && \
wget https://files.inria.fr/starpu/starpu-1.4.0/starpu-1.4.0.tar.gz && \
tar xvzf starpu-1.4.0.tar.gz && \
cd starpu-1.4.0/ && \
./configure --prefix=/home/gitlab/install/starpu-hip --enable-debug --disable-cuda --enable-hip && \
make -j5 install && \
cd $HOME && rm starpu/ -rf
cd $HOME && rm starpu-1.4.0/ -rf
# Install Starpu (master) with HIP+CUDA
ENV HIPCUDA_DIR=/home/gitlab/hipcuda
......@@ -164,9 +164,9 @@ RUN cd $HOME && \
cmake .. -DCMAKE_INSTALL_PREFIX=$HIPCUDA_DIR -DHIP_ROOT_DIR=$HIPCUDA_DIR -DUSE_CUDA=ON && \
make -j5 install
RUN cd $HOME && \
git clone https://gitlab.inria.fr/starpu/starpu.git && \
cd starpu/ && \
./autogen.sh && \
wget https://files.inria.fr/starpu/starpu-1.4.0/starpu-1.4.0.tar.gz && \
tar xvzf starpu-1.4.0.tar.gz && \
cd starpu-1.4.0/ && \
./configure --prefix=/home/gitlab/install/starpu-hipcuda --enable-debug --disable-cuda --enable-hip --with-hipblas=$HIPCUDA_DIR && \
make -j5 install && \
cd $HOME && rm starpu/ -rf
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment