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

What are reccommended tools version to install? #1562

Open
ankhafizov opened this issue Aug 4, 2024 · 1 comment
Open

What are reccommended tools version to install? #1562

ankhafizov opened this issue Aug 4, 2024 · 1 comment

Comments

@ankhafizov
Copy link

I use:

  • Ubuntu 24.04 LTS x86_64
  • cmake version 3.28.3
  • gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
  • cuda_12.1

I tried to exec:
cmake . -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo

and got:
132 | #error -- unsupported GNU version! gcc versions later than 12 are not supported! The nvcc flag '-allow-unsupported-compiler' can be used to override this version check; however, using an unsupported host compiler may cause compilation failure or incorrect run time execution. Use at your own risk.

If I do:
export NVCC_APPEND_FLAGS='-allow-unsupported-compiler'

I also receive tons of errors.

Could you please help, what I am doing wrong? What are the most modern versions of gcc, cmske,cuda, etc, that I can install?

@MarcusVH98
Copy link

Same issue, but it wants version 13.

#error -- unsupported GNU version! gcc versions later than 13 are not supported! The nvcc flag '-allow-unsupported-compiler' can be used to override this version check; however, using an unsupported host compiler may cause compilation failure or incorrect run time execution. Use at your own risk.

-allow-unsupported-compiler Gives a bunch new errors.

I've set gcc version to 13, but can't figure out how to set c++ compiler to any older than version 14 on Fedora 40

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