diff --git a/.github/workflows/python_wheels.yml b/.github/workflows/python_wheels.yml index ffd033e35e1..b68e1062bfb 100644 --- a/.github/workflows/python_wheels.yml +++ b/.github/workflows/python_wheels.yml @@ -296,9 +296,6 @@ jobs: while IFS= read -r line; do # Replace Python version line=$(echo $line | sed -E "s/python(=)?3.[0-9]{1,}/python\1${{ inputs.python_version }}/g") - # Replace openmpi version requirement - version 4.0.5 was being installed which was not built with - # cuda support, thus causing a seg fault. See https://github.com/NVIDIA/cuda-quantum/issues/2623 - line=$(echo "$line" | sed -E 's/\bopenmpi\b/openmpi\\>=5.0.7/g') # Install the wheel file line=${line//pip install cuda-quantum-cu${cuda_major}/pip install ${cudaq_wheel}} eval "$line" diff --git a/python/README.md.in b/python/README.md.in index 5b6d2d32bca..e2250e878cf 100644 --- a/python/README.md.in +++ b/python/README.md.in @@ -53,7 +53,7 @@ dependencies: cuda_version=${{ cuda_version_conda }} # set this variable to version ${{ cuda_version_requirement }} conda create -y -n cudaq-env python=3.11 pip conda install -y -n cudaq-env -c "nvidia/label/cuda-${cuda_version}" cuda -conda install -y -n cudaq-env -c conda-forge mpi4py openmpi cxx-compiler +conda install -y -n cudaq-env -c conda-forge mpi4py openmpi">=5.0.3" cxx-compiler conda env config vars set -n cudaq-env LD_LIBRARY_PATH="$CONDA_PREFIX/envs/cudaq-env/lib:$LD_LIBRARY_PATH" conda env config vars set -n cudaq-env MPI_PATH=$CONDA_PREFIX/envs/cudaq-env conda activate cudaq-env