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

better docs for compiling and installing libs would be nice #97

Open
j4ys0n opened this issue Jun 15, 2023 · 0 comments
Open

better docs for compiling and installing libs would be nice #97

j4ys0n opened this issue Jun 15, 2023 · 0 comments

Comments

@j4ys0n
Copy link

j4ys0n commented Jun 15, 2023

if would be great if your docs mentioned different gpu-code, gpu-architecture and how to change those.

for example, my gpu ( Quadro P2200) doesn't support above sm_75, so the compile fails. i also installed solana according to the docs here https://docs.solana.com/cli/install-solana-cli-tools (didn't compile from source)

using that install script, and installing nvidia drivers and cuda manually, it doesn't set SOLANA_ROOT or CUDA_HOME so when you pass --cuda to the solana node on startup, it fails because it can't find the cuda libraries.

this repo also doesn't mention that you have to run ldconfig (sudo if applicable) to reload shared libraries.

yes, any competent sysadmin or developer will figure this all out. we all know the best documentation is the source code itself, but at the least, some troubleshooting tips would be super great.

anyway - i'd be happy to document how to run a solana validator in a proxmox lxc with a gpu passed through at some point if y'all are into that.

quick tip - if someone finds this issue on github and solana can't find libcuda-crypt.so, move libcuda-crypt.so and libcl-crypt.so to /usr/local/lib and run ldconfig.

thank you! 😃

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

1 participant