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

Check flags when run Clickhouse #1695

Closed
patsevanton opened this issue Dec 24, 2017 · 3 comments
Closed

Check flags when run Clickhouse #1695

patsevanton opened this issue Dec 24, 2017 · 3 comments

Comments

@patsevanton
Copy link
Contributor

patsevanton commented Dec 24, 2017

Hello!
I try run Clickhouse on old CPU, but get error:
Illegal instruction
I found Clickhouse required CPU flag SSE 4.2.
Can add check flags when run Clickhouse and echo "CPU doesnt support SSE 4.2" if CPU doesnt support SSE 4.2 ?
Thank you

@proller
Copy link
Contributor

proller commented Dec 24, 2017

  1. debian init script already prints this warning: https://github.com/yandex/ClickHouse/blob/master/debian/clickhouse-server.init#L51
  2. you can recompile clickhouse on target host without sse4 usage.
    or you can use cmake flags:
    -DHAVE_SSE41=0 -DHAVE_SSE42=0 -DHAVE_POPCNT=0 DHAVE_PCLMULQDQ_INTRIN=0 -DPCLMULFLAG=' '

@patsevanton
Copy link
Contributor Author

Thank for answer.
I use CentOS and systemd for run Clickhouse.
I think bad idea recompile clickhouse on target host without sse4
May be add CPU flag SSE 4.2 in binary ?

@blinkov
Copy link
Contributor

blinkov commented Aug 22, 2018

At the moment there are no plans to support old CPUs in official ClickHouse builds.

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

3 participants