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

Compiling with modern Linux / CUDA: -arch option #26

Open
chateauferret opened this issue Jul 12, 2021 · 3 comments
Open

Compiling with modern Linux / CUDA: -arch option #26

chateauferret opened this issue Jul 12, 2021 · 3 comments

Comments

@chateauferret
Copy link

On running the Linux build script for cpu+cuda I got an error to the effect that "compute_30" wasn't recognised. Seemingly this has to do with specifying a minimum architecture which is now obsolete and should be met by any modern GPU / CUDA version. I just deleted the option in the compile script and it built and ran fine. Note that the compile options are also set to terse, so there will be no output during the compile, which takes a couple of minutes; please be patient (or set it to verbose).

@johnowhitaker
Copy link

Thanks for sharing a solution. Removing '-arch compute_30' let me install on Google Colab.

@nerdyrodent
Copy link

I used -arch compute_50 with CUDA 11

@bettyeats
Copy link

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

4 participants