CARTAvis / carta

To CARTA users, this repo holds the CARTA release packages. Please use this repo to log bugs and feature requests. These will be triaged by the development team and prioritised as necessary in the development cycles.
19 stars 0 forks source link

Illegal Instruction core dumped #177

Closed Toma-Bad closed 10 months ago

Toma-Bad commented 1 year ago

Hi, I'm trying to run the AppImage of carta v3.0 on my Ubuntu 18.04 installation, but i get the following error:

/tmp/appimage_extracted_20170caa873dac89d7c4d9bd8a62d6e5/AppRun: line 26: 3215944 Illegal instruction (core dumped) $DIR/bin/carta_backend "$@" What should i do?

confluence commented 1 year ago

I have transferred this bug report from the backend repo.

@Toma-Bad which AppImage file did you download? Are you sure that it matches your system's architecture?

Toma-Bad commented 1 year ago

Hi! Yes, it was the latest AppImage for the correct linux version.

On Thu, Dec 29, 2022 at 1:12 AM Adrianna Pińska @.***> wrote:

I have transferred this bug report from the backend repo.

@Toma-Bad https://github.com/Toma-Bad which AppImage file did you download? Are you sure that it matches your system's architecture?

— Reply to this email directly, view it on GitHub https://github.com/CARTAvis/carta/issues/177#issuecomment-1366992535, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEV4PGQTND7RTV57WMQWRKLWPTJNFANCNFSM6AAAAAATLU3LLE . You are receiving this because you were mentioned.Message ID: @.***>

-- Toma Bădescu

ajm-ska commented 1 year ago

@Toma-Bad I wonder if the problem is with the AppImage executable part.

Are you able to extract the Appimage by running the following command?

./carta-v3.0-x86_64.AppImage --appimage-extract

If that works, are you then able to run the following?

cd squashfs-root/bin export LD_LIBRARY_PATH=../lib:$LD_LIBRARY_PATH ./carta_backend

Also, would you be able to share the output of lscpu with us please?

Toma-Bad commented 1 year ago

Hi, I extracted and followed the instructions, and the result was this:

Downloads/squashfs-root/bin$ ./carta_backend Illegal instruction (core dumped) Downloads/squashfs-root/bin$ lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 1 Core(s) per socket: 4 Socket(s): 1 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 16 Model: 2 Model name: AMD Phenom(tm) 9550 Quad-Core Processor Stepping: 3 CPU MHz: 2205.668 BogoMIPS: 4411.33 Virtualization: AMD-V L1d cache: 64K L1i cache: 64K L2 cache: 512K L3 cache: 2048K NUMA node0 CPU(s): 0-3 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs hw_pstate vmmcall npt lbrv svm_lock

On Tue, Jan 3, 2023 at 3:26 AM Anthony Moraghan @.***> wrote:

@Toma-Bad https://github.com/Toma-Bad I wonder if the problem is with the AppImage executable part.

Are you able to extract the Appimage by running the following command?

./carta-v3.0-x86_64.AppImage --appimage-extract

If that works, are you then able to run the following?

cd squashfs-root/bin export LD_LIBRARY_PATH=../lib:$LD_LIBRARY_PATH ./carta_backend

Also, would you be able to share the output of lscpu with us please?

— Reply to this email directly, view it on GitHub https://github.com/CARTAvis/carta/issues/177#issuecomment-1369334543, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEV4PGX5TRLULA4LSJ5XNHLWQOE4PANCNFSM6AAAAAATLU3LLE . You are receiving this because you were mentioned.Message ID: @.***>

-- Toma Bădescu

ajm-ska commented 1 year ago

@Toma-Bad Thank you for the information. We investigated and I'm sorry to say that CARTA is unable to run on your computer. The carta_backend requires compatibility with the SSE4 instruction set at the very least. Your AMD Phenom 9550 CPU is 15 years old and although lscpu shows that it supports SSE4a, it seems SSE4a was a special AMD implementation that did not contain all standard SSE4 instructions. So that is why the carta_backend immediately crashes. It is probably not the answer that you want, but all we can suggest is to run CARTA on a different computer with a newer CPU.

Toma-Bad commented 1 year ago

Thanks for the reply, I will try to get it installed on the institute system. All the best!

On Tue, Jan 10, 2023 at 1:27 PM Anthony Moraghan @.***> wrote:

@Toma-Bad https://github.com/Toma-Bad Thank you for the information. We investigated and I'm sorry to say that CARTA is unable to run on your computer. The carta_backend requires compatibility with the SSE4 instruction set at the very least. Your AMD Phenom 9550 CPU is 15 years old and although lscpu shows that it supports SSE4a, it seems SSE4a was a special AMD implementation that did not contain all standard SSE4 instructions. So that is why the carta_backend immediately crashes. It is probably not the answer that you want, but all we can suggest is to run CARTA on a different computer with a newer CPU.

— Reply to this email directly, view it on GitHub https://github.com/CARTAvis/carta/issues/177#issuecomment-1377188035, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEV4PGWIK4TKEFOB5RX2K6DWRVITNANCNFSM6AAAAAATLU3LLE . You are receiving this because you were mentioned.Message ID: @.***>

-- Toma Bădescu

kswang1029 commented 10 months ago

Is this still an issue with v4-stable release? If not, or there are alternative solutions, can we close this issue?

ajm-ska commented 10 months ago

It is still an issue, but there is no solution other than using a modern CPU that supports the full SSE4 instruction set. Current and future carta-backends will require the full SSE4 instruction set to fully utilise the performance available from modern CPUs. We'll be able to close the issue now.