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

Illegal Instruction core dumped #177

Closed
Toma-Bad opened this issue Dec 21, 2022 · 8 comments
Closed

Illegal Instruction core dumped #177

Toma-Bad opened this issue Dec 21, 2022 · 8 comments
Assignees
Labels
question Further information is requested

Comments

@Toma-Bad
Copy link

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 confluence transferred this issue from CARTAvis/carta-backend Dec 29, 2022
@confluence
Copy link

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
Copy link
Author

Toma-Bad commented Jan 2, 2023 via email

@ajm-ska
Copy link

ajm-ska commented Jan 3, 2023

@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
Copy link
Author

Toma-Bad commented Jan 9, 2023 via email

@ajm-ska
Copy link

ajm-ska commented Jan 10, 2023

@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
Copy link
Author

Toma-Bad commented Jan 10, 2023 via email

@kswang1029
Copy link

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

@kswang1029 kswang1029 added the question Further information is requested label Nov 28, 2023
@ajm-ska
Copy link

ajm-ska commented Nov 28, 2023

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.

@ajm-ska ajm-ska closed this as completed Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants