From 1ed0a4a4b8a08927dd6b6fdafe3b0e853c5ac27e Mon Sep 17 00:00:00 2001 From: Vincent Michaud-Rioux Date: Fri, 13 Oct 2023 15:49:53 -0400 Subject: [PATCH] Fix ENABLE_MPI --- .github/workflows/tests_linux_x86_mpich.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests_linux_x86_mpich.yml b/.github/workflows/tests_linux_x86_mpich.yml index 3f49a6f45b..62e3852a2d 100644 --- a/.github/workflows/tests_linux_x86_mpich.yml +++ b/.github/workflows/tests_linux_x86_mpich.yml @@ -286,7 +286,7 @@ jobs: CUQUANTUM_SDK: $(python -c "import site; print( f'{site.getsitepackages()[0]}/cuquantum/lib')") run: | SKIP_COMPILATION=True PL_BACKEND=lightning_qubit python -m pip install -e . -vv - PL_BACKEND=lightning_gpu python setup.py build_ext -i --define="CMAKE_CXX_COMPILER=$(which g++-${{ env.GCC_VERSION }});CMAKE_PREFIX_PATH=/opt/mpi/mpich;PLLGPU_ENABLE_MPI=ON;CMAKE_CUDA_COMPILER=/usr/local/cuda/bin/nvcc;CMAKE_CUDA_ARCHITECTURES=${{ env.CI_CUDA_ARCH }};Python_EXECUTABLE=${{ steps.python_path.outputs.python }}" + PL_BACKEND=lightning_gpu python setup.py build_ext -i --define="CMAKE_CXX_COMPILER=$(which g++-${{ env.GCC_VERSION }});CMAKE_PREFIX_PATH=/opt/mpi/mpich;ENABLE_MPI=ON;CMAKE_CUDA_COMPILER=/usr/local/cuda/bin/nvcc;CMAKE_CUDA_ARCHITECTURES=${{ env.CI_CUDA_ARCH }}" PL_BACKEND=lightning_gpu python -m pip install -e . --verbose - name: Run PennyLane-Lightning-GPU unit tests (MPICH backend)