-
Notifications
You must be signed in to change notification settings - Fork 61
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
Update platforms #218
Update platforms #218
Conversation
koecher
commented
Jun 29, 2021
•
edited
Loading
edited
- fedora
- macos
- opensuse (Leap/15)
- ubuntu
@tjhei can you have a look on that PR? |
466bf05
to
3a28b98
Compare
A commit for recent openSuse systems is coming soon, I need to collect my changes first. |
When using ubuntu 20.04 and intel's 11gen cores (TigerLake) it is only possible to use native compiler optimizations if the default gcc/g++ version is updated from 9 to 10. A possible way to achive this is to install the packages gcc-10 g++-10 etc. from apt and update the alternatives (see below). I think it would be helpful to add such a comment in the ubuntu20 platform file just below the comment on what packages are assumed to be installed? Use GNU gcc g++ gfortran version 10 by default sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 10 |
What happens otherwise? |
4cf0884
to
ff90471
Compare
I think @gfcas told me, that then the CPU isn't recognized. As the switch |
fixes typo in readme updates readme updates Ubuntu 20 platform notes; reorders packages; adds remark for v10 GNU Compilers Update README.md Co-authored-by: Timo Heister <timo.heister@gmail.com> fixes typo
I see. But this is not specific to Ubuntu 20.04 but any system where the compiler is older than the hardware generation. |
ff90471
to
f553c98
Compare
Let me rerun the install tomorrow. |
Sorry, forgot, that I crashed my laptop with 11gen intel and have now an older pc... If you are interested in the error message I can test it as soon as I get the new laptop? |