Skip to content

Commit

Permalink
Merge branch 'disable_hip_build' into 'master'
Browse files Browse the repository at this point in the history
Temporary disable the hip build since there is a repository issue

See merge request npneq/inq!1162
  • Loading branch information
xavierandrade committed Nov 17, 2024
2 parents 4efc4ee + 4c00ca4 commit 2e9415f
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -815,25 +815,25 @@ clang-ompi-template:

#######################################################################################################################

hip-mpich-build:
stage: build
needs: []
image: rocm/dev-ubuntu-22.04
script:
- apt-get -qq update
- apt-get install --no-install-recommends -y rocthrust-dev hipblas-dev hipfft-dev rocm-device-libs pixz curl git ca-certificates ssh g++ gfortran clang make cmake pkg-config libblas-dev liblapack-dev libfftw3-dev libopenmpi-dev openmpi-bin libboost-system-dev libboost-serialization-dev libhdf5-dev libhdf5-openmpi-dev valgrind libmpich-dev mpich libhdf5-dev libhdf5-mpich-dev wget python3 python3-dev
- /opt/rocm/bin/hipconfig --full
- HIPCC_VERBOSE=1 /opt/rocm/bin/hipcc --version
- wget https://github.com/Kitware/CMake/releases/download/v3.27.0-rc3/cmake-3.27.0-rc3-linux-x86_64.sh --no-verbose
- sh ./cmake-3.27.0-rc3-linux-x86_64.sh --skip-license --prefix=/usr
- cmake --version
- mkdir build && cd build
- export PATH=/opt/rocm/bin:/opt/rocm/llvm/bin:${PATH}
- export CMAKE_PREFIX_PATH=/opt/rocm:${CMAKE_PREFIX_PATH}
- export ROCM_PATH=/opt/rocm
- export HIP_PATH=/opt/rocm
- cmake .. -DCMAKE_HIP_COMPILER=/opt/rocm/llvm/bin/clang++ -DENABLE_HIP=1 -DCMAKE_HIP_ARCHITECTURES=gfx90a
- make -j2
#hip-mpich-build:
# stage: build
# needs: []
# image: rocm/dev-ubuntu-22.04
# script:
# - apt-get -qq update
# - apt-get install --no-install-recommends -y rocthrust-dev hipblas-dev hipfft-dev rocm-device-libs pixz curl git ca-certificates ssh g++ gfortran clang make cmake pkg-config libblas-dev liblapack-dev libfftw3-dev libopenmpi-dev openmpi-bin libboost-system-dev libboost-serialization-dev libhdf5-dev libhdf5-openmpi-dev valgrind libmpich-dev mpich libhdf5-dev libhdf5-mpich-dev wget python3 python3-dev
# - /opt/rocm/bin/hipconfig --full
# - HIPCC_VERBOSE=1 /opt/rocm/bin/hipcc --version
# - wget https://github.com/Kitware/CMake/releases/download/v3.27.0-rc3/cmake-3.27.0-rc3-linux-x86_64.sh --no-verbose
# - sh ./cmake-3.27.0-rc3-linux-x86_64.sh --skip-license --prefix=/usr
# - cmake --version
# - mkdir build && cd build
# - export PATH=/opt/rocm/bin:/opt/rocm/llvm/bin:${PATH}
# - export CMAKE_PREFIX_PATH=/opt/rocm:${CMAKE_PREFIX_PATH}
# - export ROCM_PATH=/opt/rocm
# - export HIP_PATH=/opt/rocm
# - cmake .. -DCMAKE_HIP_COMPILER=/opt/rocm/llvm/bin/clang++ -DENABLE_HIP=1 -DCMAKE_HIP_ARCHITECTURES=gfx90a
# - make -j2


#########################################################################################################################
Expand Down

0 comments on commit 2e9415f

Please sign in to comment.