diff --git a/.github/workflows/compile-cuda.yaml b/.github/workflows/compile-cuda.yaml index 64684a3bd1a..580b32aea0e 100644 --- a/.github/workflows/compile-cuda.yaml +++ b/.github/workflows/compile-cuda.yaml @@ -24,5 +24,5 @@ jobs: - name: Build Open MPI run: | ./autogen.pl - ./configure --prefix=${PWD}/install --with-cuda=${CUDA_PATH} --with-cuda-libdir=${CUDA_PATH}/lib64/stubs + ./configure --prefix=${PWD}/install --with-cuda=${CUDA_PATH} --with-cuda-libdir=${CUDA_PATH}/lib64/stubs --enable-nvcc NVCC=/usr/local/cuda/bin/nvcc make -j diff --git a/.github/workflows/compile-rocm.yaml b/.github/workflows/compile-rocm.yaml index d041bad1d02..d6e163ad335 100644 --- a/.github/workflows/compile-rocm.yaml +++ b/.github/workflows/compile-rocm.yaml @@ -20,12 +20,12 @@ jobs: echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/5.7.1 jammy main" | sudo tee --append /etc/apt/sources.list.d/rocm.list echo -e 'Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600' | sudo tee /etc/apt/preferences.d/rocm-pin-600 sudo apt update - sudo apt install -y rocm-hip-runtime + sudo apt install -y rocm-hip-runtime hipcc - uses: actions/checkout@v3 with: submodules: recursive - name: Build Open MPI run: | ./autogen.pl - ./configure --prefix=${PWD}/install --with-rocm=/opt/rocm --disable-mpi-fortran + ./configure --prefix=${PWD}/install --with-rocm=/opt/rocm --disable-mpi-fortran --enable-hipcc HIPCC=/opt/rocm-5.7.1/bin/hipcc LD_LIBRARY_PATH=/opt/rocm/lib make -j