diff --git a/.github/workflows/compile-cuda.yaml b/.github/workflows/compile-cuda.yaml index 0bddcd3c744..45bb78a7aa9 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 2ce2a80f01a..dbbe43dc4af 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@v4 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