Mentions légales du service

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

Update to starpu 1.4.1

parent 1ba3d88a
No related branches found
No related tags found
No related merge requests found
Pipeline #813247 passed
...@@ -117,33 +117,41 @@ RUN cd $HOME && \ ...@@ -117,33 +117,41 @@ RUN cd $HOME && \
ENV SIMGRID_DIR=/home/gitlab/install/simgrid ENV SIMGRID_DIR=/home/gitlab/install/simgrid
ENV PKG_CONFIG_PATH=$SIMGRID_DIR/lib/pkgconfig:$PKG_CONFIG_PATH ENV PKG_CONFIG_PATH=$SIMGRID_DIR/lib/pkgconfig:$PKG_CONFIG_PATH
# Install StarPU 1.3 # Install StarPU 1.4
RUN cd $HOME && \ RUN cd $HOME && \
wget https://files.inria.fr/starpu/starpu-1.3.10/starpu-1.3.10.tar.gz && \ wget https://files.inria.fr/starpu/starpu-1.4.1/starpu-1.4.1.tar.gz && \
tar xvzf starpu-1.3.10.tar.gz && \ tar xvzf starpu-1.4.1.tar.gz && \
cd starpu-1.3.10/ && \ cd starpu-1.4.1/ && \
./configure --prefix=/home/gitlab/install/starpu --enable-debug && \ ./configure --prefix=/home/gitlab/install/starpu --enable-debug && \
make -j5 && \ make -j5 && \
make install && \ make install && \
export PKG_CONFIG_PATH=/home/gitlab/install/simgrid/lib/pkgconfig:$PKG_CONFIG_PATH && \
./configure --prefix=/home/gitlab/install/starpu-simgrid --enable-debug --disable-cuda --disable-opencl --with-fxt=/usr/lib/x86_64-linux-gnu/ --enable-simgrid --with-simgrid-dir=/home/gitlab/install/simgrid && \
make -j5 && \
make install && \
cd $HOME && \ cd $HOME && \
rm starpu-1.3.10/ starpu-1.3.10.tar.gz -rf rm starpu-1.4.1/ starpu-1.4.1.tar.gz -rf
ENV STARPU_DIR=/home/gitlab/install/starpu ENV STARPU_DIR=/home/gitlab/install/starpu
ENV PKG_CONFIG_PATH=$STARPU_DIR/lib/pkgconfig:$PKG_CONFIG_PATH ENV PKG_CONFIG_PATH=$STARPU_DIR/lib/pkgconfig:$PKG_CONFIG_PATH
# Install StarPU 1.4 with Simgrid
RUN cd $HOME && \
wget https://files.inria.fr/starpu/starpu-1.4.1/starpu-1.4.1.tar.gz && \
tar xvzf starpu-1.4.1.tar.gz && \
cd starpu-1.4.1/ && \
export LD_LIBRARY_PATH=/home/gitlab/install/simgrid/lib:$PKG_CONFIG_PATH && \
./configure --prefix=/home/gitlab/install/starpu-simgrid --enable-debug --disable-cuda --disable-opencl --with-fxt --enable-simgrid && \
make -j5 && \
make install && \
cd $HOME && \
rm starpu-1.4.1/ starpu-1.4.1.tar.gz -rf
# Install StarPU 1.4 with HIP # Install StarPU 1.4 with HIP
ENV LD_LIBRARY_PATH=/opt/rocm/lib ENV LD_LIBRARY_PATH=/opt/rocm/lib
ENV HIPCCFLAGS="-fPIC" ENV HIPCCFLAGS="-fPIC"
RUN cd $HOME && \ RUN cd $HOME && \
wget https://files.inria.fr/starpu/starpu-1.4.0/starpu-1.4.0.tar.gz && \ wget https://files.inria.fr/starpu/starpu-1.4.1/starpu-1.4.1.tar.gz && \
tar xvzf starpu-1.4.0.tar.gz && \ tar xvzf starpu-1.4.1.tar.gz && \
cd starpu-1.4.0/ && \ cd starpu-1.4.1/ && \
./configure --prefix=/home/gitlab/install/starpu-hip --enable-debug --disable-cuda --enable-hip && \ ./configure --prefix=/home/gitlab/install/starpu-hip --enable-debug --disable-cuda --enable-hip && \
make -j5 install && \ make -j5 install && \
cd $HOME && rm starpu-1.4.0/ -rf && rm starpu-1.4.0.tar.gz cd $HOME && rm starpu-1.4.1/ -rf && rm starpu-1.4.1.tar.gz
# Install Starpu 1.4 with HIP+CUDA # Install Starpu 1.4 with HIP+CUDA
ENV HIPCUDA_DIR=/home/gitlab/hipcuda ENV HIPCUDA_DIR=/home/gitlab/hipcuda
...@@ -166,12 +174,12 @@ RUN cd $HOME && \ ...@@ -166,12 +174,12 @@ RUN cd $HOME && \
cmake .. -DCMAKE_INSTALL_PREFIX=$HIPCUDA_DIR -DHIP_ROOT_DIR=$HIPCUDA_DIR -DUSE_CUDA=ON && \ cmake .. -DCMAKE_INSTALL_PREFIX=$HIPCUDA_DIR -DHIP_ROOT_DIR=$HIPCUDA_DIR -DUSE_CUDA=ON && \
make -j5 install make -j5 install
RUN cd $HOME && \ RUN cd $HOME && \
wget https://files.inria.fr/starpu/starpu-1.4.0/starpu-1.4.0.tar.gz && \ wget https://files.inria.fr/starpu/starpu-1.4.1/starpu-1.4.1.tar.gz && \
tar xvzf starpu-1.4.0.tar.gz && \ tar xvzf starpu-1.4.1.tar.gz && \
cd starpu-1.4.0/ && \ cd starpu-1.4.1/ && \
./configure --prefix=/home/gitlab/install/starpu-hipcuda --enable-debug --disable-cuda --enable-hip --with-hipblas=$HIPCUDA_DIR && \ ./configure --prefix=/home/gitlab/install/starpu-hipcuda --enable-debug --disable-cuda --enable-hip --with-hipblas=$HIPCUDA_DIR && \
make -j5 install && \ make -j5 install && \
cd $HOME && rm starpu-1.4.0/ -rf && rm starpu-1.4.0.tar.gz cd $HOME && rm starpu-1.4.1/ -rf && rm starpu-1.4.1.tar.gz
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV LD_LIBRARY_PATH="" ENV LD_LIBRARY_PATH=""
ENV HIP_PLATFORM="" ENV HIP_PLATFORM=""
...@@ -180,7 +188,7 @@ ENV HIP_PLATFORM="" ...@@ -180,7 +188,7 @@ ENV HIP_PLATFORM=""
RUN cd $HOME && \ RUN cd $HOME && \
git clone --recursive https://gitlab.inria.fr/solverstack/chameleon.git && \ git clone --recursive https://gitlab.inria.fr/solverstack/chameleon.git && \
cd chameleon/ && \ cd chameleon/ && \
git checkout 0d7356bb08b24cd6dd9046076b6ce6e5286f353b && \ git checkout 18143a45158ce2dcf5216476f8fce543d675485b && \
source ./.gitlab-ci-env.sh && \ source ./.gitlab-ci-env.sh && \
mkdir build && \ mkdir build && \
cd build && \ cd build && \
...@@ -241,7 +249,7 @@ ENV PKG_CONFIG_PATH=$SPM_DIR/lib/pkgconfig:$PKG_CONFIG_PATH ...@@ -241,7 +249,7 @@ ENV PKG_CONFIG_PATH=$SPM_DIR/lib/pkgconfig:$PKG_CONFIG_PATH
RUN cd $HOME && \ RUN cd $HOME && \
git clone --recursive https://gitlab.inria.fr/solverstack/pastix.git && \ git clone --recursive https://gitlab.inria.fr/solverstack/pastix.git && \
cd pastix/ && \ cd pastix/ && \
git checkout f174a885ee0bbde5074aaf08e555e7bb512519b1 && \ git checkout 41f61f4632e6c62f5cfee10818c308d2d718ed8e && \
mkdir build && \ mkdir build && \
cd build && \ cd build && \
PARSEC_DIR=/home/gitlab/install/parsec-shm && \ PARSEC_DIR=/home/gitlab/install/parsec-shm && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment