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

gyrfalcON does not compile on tiger lake CPU's #44

Open
teuben opened this issue Jan 25, 2021 · 2 comments
Open

gyrfalcON does not compile on tiger lake CPU's #44

teuben opened this issue Jan 25, 2021 · 2 comments

Comments

@teuben
Copy link
Owner

teuben commented Jan 25, 2021

This is a case where the compiler does not know about the CPU yet. gyrfalcON uses -march=native to get the best possible speedup, but this fails on current intel Gen11 CPUs with the tiger lake based CPU.
The solution is to put
export NO_ARCH_NATIVE=1
in your ~/.nemo_local.sh file on that particular machine.

Not until falcON is using NEMO's makedefs mechanism, can we expect this kind of problem to go away.

@teuben
Copy link
Owner Author

teuben commented Feb 6, 2021

the configure --disable-native opption will also do it, but the ~/.nemo_local.sh is useful for a global setting on a machine.

@teuben
Copy link
Owner Author

teuben commented Apr 7, 2021

usr/dehnen/falcON/src/public/lib/bodyfunc.cc has some hardcoded options (e.g. clang will not like the -mpreferred-stack-boundary=4 option)

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

No branches or pull requests

1 participant