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

SNAP from gcc-pkgconfig builds fail with SIGILL on older machines without avx2/fma #82

Open
heikoklein opened this issue May 11, 2022 · 0 comments
Assignees
Labels

Comments

@heikoklein
Copy link
Member

SNAP build with the default gcc_pkgconfig.mk automatically enforce avx2 and fma. These instructions have been available since about 2013 and are therefore generally widely available. It should be noted that Pentium and Celeron processors didn't get these instructions before 2020. Other examples without these instructions are some cloud-platforms (ostack/default bionic images) or ppi-blogin machines. If run on any of these unsupported machines, SNAP will fail with a SIGILL (illegal instructions signal) in strange places.

There are large performance benefits running SNAP with these instruction-sets. Please edit the gcc_pkgconfig.mk and remove the -mavx2 -mfma options before compilation if you must run on an unsupported platform.

@heikoklein heikoklein self-assigned this May 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant