Mentions légales du service

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

distrib: new versions rocm 6.1.2, starpu 1.4.7, chameleon 1.2.0, fabulous...

distrib: new versions rocm 6.1.2, starpu 1.4.7, chameleon 1.2.0, fabulous 1.1.3, spm 1.2.3, pastix 6.3.2
parent 1566f191
No related branches found
No related tags found
No related merge requests found
Pipeline #997033 failed
......@@ -19,6 +19,7 @@ RUN apt-get install -y \
libfxt-dev \
libgtg-dev \
libhypre-dev \
libblas-dev \
liblapack-dev \
liblapacke-dev \
libmetis-dev \
......@@ -30,6 +31,7 @@ RUN apt-get install -y \
libptscotch-dev \
libscalapack-mpi-dev \
libsuitesparse-dev \
libtool-bin \
nvidia-cuda-dev \
nvidia-cuda-toolkit \
ocl-icd-opencl-dev \
......@@ -41,12 +43,10 @@ RUN apt-get install -y \
python3-scipy
RUN curl -fsSL https://repo.radeon.com/rocm/rocm.gpg.key | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/rocm-keyring.gpg
RUN echo 'deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/rocm-keyring.gpg] https://repo.radeon.com/rocm/apt/5.4.2 jammy main' | sudo tee /etc/apt/sources.list.d/rocm.list
RUN echo 'deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/rocm-keyring.gpg] https://repo.radeon.com/rocm/apt/6.1.2 jammy main' | sudo tee /etc/apt/sources.list.d/rocm.list
RUN echo -e 'Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600' | sudo tee /etc/apt/preferences.d/rocm-pin-600
RUN apt-get update
RUN apt-get install -y rocm-hip-sdk
RUN apt-get install -y libtool-bin
RUN apt-get install -y rocm-hip-sdk && rm -rf /var/lib/apt/lists/*
RUN apt-get autoremove -y
RUN apt-get autoclean -y
......@@ -118,41 +118,41 @@ ENV SIMGRID_DIR=/home/gitlab/install/simgrid
ENV PKG_CONFIG_PATH=$SIMGRID_DIR/lib/pkgconfig:$PKG_CONFIG_PATH
RUN cd $HOME && \
wget https://files.inria.fr/starpu/starpu-1.4.1/starpu-1.4.1.tar.gz > /dev/null 2>&1
wget https://files.inria.fr/starpu/starpu-1.4.7/starpu-1.4.7.tar.gz > /dev/null 2>&1
# Install StarPU 1.4
RUN cd $HOME && \
tar xzf starpu-1.4.1.tar.gz && \
cd starpu-1.4.1/ && \
tar xzf starpu-1.4.7.tar.gz && \
cd starpu-1.4.7/ && \
./configure --prefix=/home/gitlab/install/starpu --enable-debug && \
make -j5 && \
make install && \
cd $HOME && \
rm -rf starpu-1.4.1/
rm -rf starpu-1.4.7/
ENV STARPU_DIR=/home/gitlab/install/starpu
ENV PKG_CONFIG_PATH=$STARPU_DIR/lib/pkgconfig:$PKG_CONFIG_PATH
# Install StarPU 1.4 with Simgrid
RUN cd $HOME && \
tar xzf starpu-1.4.1.tar.gz && \
cd starpu-1.4.1/ && \
tar xzf starpu-1.4.7.tar.gz && \
cd starpu-1.4.7/ && \
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 -rf starpu-1.4.1/
rm -rf starpu-1.4.7/
# Install StarPU 1.4 with HIP
ENV LD_LIBRARY_PATH=/opt/rocm/lib
ENV HIPCCFLAGS="-fPIC"
RUN cd $HOME && \
tar xzf starpu-1.4.1.tar.gz && \
cd starpu-1.4.1/ && \
tar xzf starpu-1.4.7.tar.gz && \
cd starpu-1.4.7/ && \
./configure --prefix=/home/gitlab/install/starpu-hip --enable-debug --disable-cuda --enable-hip && \
make -j5 install && \
cd $HOME && \
rm -rf starpu-1.4.1/
rm -rf starpu-1.4.7/
# Install Starpu 1.4 with HIP+CUDA
ENV HIPCUDA_DIR=/home/gitlab/hipcuda
......@@ -170,29 +170,28 @@ RUN mkdir $HIPCUDA_DIR && \
cmake .. -DHIP_COMMON_DIR=$HIP_DIR -DHIP_PLATFORM=nvidia -DCMAKE_INSTALL_PREFIX=$HIPCUDA_DIR && \
make -j5 install
RUN cd $HOME && \
git clone https://github.com/ROCmSoftwarePlatform/hipBLAS.git && \
git clone -b "$ROCM_BRANCH" https://github.com/ROCmSoftwarePlatform/hipBLAS.git && \
cd hipBLAS/ && mkdir build && cd build && \
cmake .. -DCMAKE_INSTALL_PREFIX=$HIPCUDA_DIR -DHIP_ROOT_DIR=$HIPCUDA_DIR -DUSE_CUDA=ON && \
make -j5 install
RUN cd $HOME && \
tar xzf starpu-1.4.1.tar.gz && \
cd starpu-1.4.1/ && \
tar xzf starpu-1.4.7.tar.gz && \
cd starpu-1.4.7/ && \
./configure --prefix=/home/gitlab/install/starpu-hipcuda --enable-debug --disable-cuda --enable-hip --with-hipblas=$HIPCUDA_DIR && \
make -j5 install && \
cd $HOME && \
rm -rf starpu-1.4.1/
rm -rf starpu-1.4.7/
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV LD_LIBRARY_PATH=""
ENV HIP_PLATFORM=""
RUN cd $HOME && \
rm -rf starpu-1.4.1.tar.gz
rm -rf starpu-1.4.7.tar.gz
# Install Chameleon
RUN cd $HOME && \
git clone --recursive https://gitlab.inria.fr/solverstack/chameleon.git && \
git clone --recursive -b v1.2.0 https://gitlab.inria.fr/solverstack/chameleon.git && \
cd chameleon/ && \
git checkout 18143a45158ce2dcf5216476f8fce543d675485b && \
source ./.gitlab-ci-env.sh && \
mkdir build && \
cd build && \
......@@ -208,7 +207,7 @@ ENV PKG_CONFIG_PATH=$CHAMELEON_DIR/lib/pkgconfig:$PKG_CONFIG_PATH
RUN cd $HOME && \
git clone --recursive https://gitlab.inria.fr/solverstack/hqr.git && \
cd hqr/ && \
git checkout 9acae6d7001f97c47ad2cc2e559f3080ade6b788 && \
git checkout 6a87f9084f21536ff0f44a074ee44b56c55e1daa && \
mkdir build && \
cd build && \
cmake .. -DCMAKE_INSTALL_PREFIX=/home/gitlab/install/hqr -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=ON && \
......@@ -221,9 +220,8 @@ ENV PKG_CONFIG_PATH=$HQR_DIR/lib/pkgconfig:$PKG_CONFIG_PATH
# Install Fabulous
RUN cd $HOME && \
git clone --recursive https://gitlab.inria.fr/solverstack/fabulous.git && \
git clone --recursive -b v1.1.3 https://gitlab.inria.fr/solverstack/fabulous.git && \
cd fabulous/ && \
git checkout 5b976edab6981cfa95d422960197ca2faaacf256 && \
mkdir build && \
cd build && \
cmake .. -DCMAKE_INSTALL_PREFIX=/home/gitlab/install/fabulous -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=ON -DFABULOUS_BUILD_C_API=ON -DFABULOUS_BUILD_Fortran_API=ON && \
......@@ -236,9 +234,8 @@ ENV PKG_CONFIG_PATH=$FABULOUS_DIR/lib/pkgconfig:$PKG_CONFIG_PATH
# Install SPM
RUN cd $HOME && \
git clone --recursive https://gitlab.inria.fr/solverstack/spm.git && \
git clone --recursive -b v1.2.3 https://gitlab.inria.fr/solverstack/spm.git && \
cd spm/ && \
git checkout 2ba385c1fe61d30af5105de2b9d3c6704e1a0a3d && \
mkdir build && \
cd build && \
cmake .. -DCMAKE_INSTALL_PREFIX=/home/gitlab/install/spm -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=ON -DSPM_INT64=OFF && \
......@@ -251,9 +248,8 @@ ENV PKG_CONFIG_PATH=$SPM_DIR/lib/pkgconfig:$PKG_CONFIG_PATH
# Install PaStiX
RUN cd $HOME && \
git clone --recursive https://gitlab.inria.fr/solverstack/pastix.git && \
git clone --recursive -b v6.3.2 https://gitlab.inria.fr/solverstack/pastix.git && \
cd pastix/ && \
git checkout 41f61f4632e6c62f5cfee10818c308d2d718ed8e && \
mkdir build && \
cd build && \
PARSEC_DIR=/home/gitlab/install/parsec-shm && \
......@@ -280,4 +276,3 @@ ENV FABULOUS_DIR=/home/gitlab/install/fabulous
ENV SPM_DIR=/home/gitlab/install/spm
ENV PASTIX_DIR=/home/gitlab/install/pastix
WORKDIR /builds
......@@ -47,7 +47,8 @@ RUN apt-get update && \
qt6-tools-dev && \
apt-get autoremove -y && \
apt-get autoclean -y && \
apt-get purge -y
apt-get purge -y && \
rm -rf /var/lib/apt/lists/*
RUN cd $HOME && \
wget https://perftools.pages.jsc.fz-juelich.de/cicd/otf2/tags/otf2-3.0.3/otf2-3.0.3.tar.gz && \
......
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