Skip to content

[Question/Issue] How to install cuquantum on WSL2 Ubuntu-20.04? #13

Answered by Sinestro38
Sinestro38 asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks @leofang , I got the network installation to work!

Thought I'll post the full set of steps I followed here in case anyone finds it of use.

wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-keyring_1.0-1_all.deb
sudo dpkg -i cuda-keyring_1.0-1_all.deb
sudo ln -s /usr/lib/wsl/lib/libcuda.so.1 /usr/local/cuda/lib64/libcuda.so
sudo apt-get update
sudo apt-get -y install cuquantum cuquantum-dev cuquantum-doc

Crucially, I added the last 2 of the following 4 lines to the top of my .bashrc so that the cuquantum files are included in the LD_LIBRARY_PATH.

export PATH="/usr/local/cuda/bin:$PATH"
export LD_LIBRARY_PATH="/usr/local/cuda/lib64:$LD_LIBRARY_PAT…

Replies: 10 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@leofang
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by leofang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #12 on August 15, 2022 19:26.