Skip to content

Commit

Permalink
Update Python/README.md to better comprehend MPI plugin (#1145)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmhowe23 committed Jan 29, 2024
1 parent 12418a7 commit e0fb95f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,12 @@ Quantum with all its dependencies:
```console
conda create -y -n cuda-quantum python==3.10 pip
conda install -y -n cuda-quantum -c "nvidia/label/cuda-11.8.0" cuda
conda install -y -n cuda-quantum -c conda-forge mpi4py openmpi
conda install -y -n cuda-quantum -c conda-forge mpi4py openmpi cxx-compiler cuquantum
conda env config vars set -n cuda-quantum LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$CONDA_PREFIX/envs/cuda-quantum/lib"
conda env config vars set -n cuda-quantum MPI_PATH=$CONDA_PREFIX/envs/cuda-quantum
conda run -n cuda-quantum pip install cuda-quantum
conda activate cuda-quantum
source $CONDA_PREFIX/lib/python3.10/site-packages/distributed_interfaces/activate_custom_mpi.sh
```

[//]: # (End conda install)
Expand Down

0 comments on commit e0fb95f

Please sign in to comment.