Removing unused communications and use ialltoallv #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: HIP CI | |
on: | |
push: | |
branches: | |
- exawind | |
pull_request: | |
branches: | |
- exawind | |
jobs: | |
hip-build: | |
runs-on: ubuntu-latest | |
name: HIP/ROCm | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Prepare HIP/ROCm environment | |
run: | | |
export DEBIAN_FRONTEND=noninteractive | |
wget -q -O - http://repo.radeon.com/rocm/rocm.gpg.key | sudo apt-key add - | |
echo 'deb [arch=amd64] http://repo.radeon.com/rocm/apt/debian/ xenial main' | sudo tee /etc/apt/sources.list.d/rocm.list | |
sudo apt-get update | |
sudo apt-get install -y libopenmpi-dev rocm-dev rocm-libs | |
- name: Configure and build | |
run: | | |
echo 'export PATH=$PATH:/opt/rocm/bin:/opt/rocm/profiler/bin:/opt/rocm/opencl/bin' | sudo tee -a /etc/profile.d/rocm.sh | |
source /etc/profile.d/rocm.sh | |
cmake -Bbuild \ | |
-DCMAKE_CXX_COMPILER=$(which hipcc) \ | |
-DCMAKE_C_COMPILER=$(which hipcc) \ | |
-DCMAKE_Fortran_COMPILER=$(which mpif90) \ | |
-DCMAKE_VERBOSE_MAKEFILE=ON \ | |
-DTIOGA_ENABLE_HIP=ON \ | |
-DTIOGA_HIP_ARCH="gfx906,gfx908" . | |
cmake --build build -- -j $(nproc) |