Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gpu driver #3

Open
QUTghy opened this issue Oct 1, 2021 · 1 comment
Open

gpu driver #3

QUTghy opened this issue Oct 1, 2021 · 1 comment

Comments

@QUTghy
Copy link

QUTghy commented Oct 1, 2021

"Set LD_LIBRARY_PATH to point to both the MuJoCo binaries (/$HOME/.mujoco/mujoco200/bin) as well as the gpu drivers (something like /usr/lib/nvidia-390, you can find your version by running nvidia-smi)".

Hi, Could you tell me why should make LD_LIBRARY_PATH point to gpu driver, and how can I find where my gpu driver is? (I find my gpu driver version is 460 by running nvidia-smi.)

@LanqingLi1993
Copy link
Owner

LanqingLi1993 commented Oct 5, 2021

Hi,

Pointing LD_LIBRARY_PATH to the CUDA library path is to enable the program to run on your GPUs. Here is a detailed guide: https://www.ibm.com/docs/en/sdk-java-technology/8?topic=egpulwo-enabling-application-processing-graphics-processing-unit-linux-windows-only.

To find your CUDA library path, simply type "which nvcc" in your Linux terminal, please refer to https://stackoverflow.com/questions/43323311/cant-find-cuda-lib-and-include-on-ubuntu for more details.

If you are familiar with Anaconda, simply intalling CUDA and dependencies using it should be handy: https://fmorenovr.medium.com/set-up-conda-environment-pytorch-1-7-cuda-11-1-96a8e93014cc

Let me know if you have further questions while setting up environments or running the code. @QUTghy

Best,
Lanqing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants