Hi, I want to try out RisingWave, but I'm getting a SIGILL (Illegal instruction) error when running both the executable and the docker container. I'm running Ubuntu 22.04. Here's my CPU info:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 36 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Vendor ID: GenuineIntel
Model name: Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz
CPU family: 6
Model: 42
Thread(s) per core: 2
Core(s) per socket: 2
Socket(s): 1
Stepping: 7
CPU max MHz: 2900.0000
CPU min MHz: 800.0000
BogoMIPS: 4585.32
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm epb pti ssbd ibrs ibpb stibp tpr_shadow flexpriority ept vpid xsaveopt dtherm ida arat pln pts vnmi md_clear flush_l1d```
I also have a backtrace and disassemble from gdb showing where the error occurs. I've tried RisingWave versions v1.6.0 and v1.5.4, both `-x86_64-unknown-linux-all-in-one.tar.gz` and `-x86_64-unknown-linux.tar.gz`. Can anyone help me understand why this is happening and how to fix it?
autisticdude
Asked on Feb 06, 2024
Our RisingWave binary is built with avx2. It seems your i5-2410m does not support it. Currently, you need to choose a machine supporting avx2 to run RisingWave.