Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!

SIGILL

jansson
Beginner
144 Views

Hi

One of our customers get SIGILL when they run our program. Not immediately on starting the program but after a while when they start to do some actual calculations.

Its a Mac OSX
OS architecture: x86_64
OS version: 10.11.6

sysctl -a | grep machdep.cpu

Gives among other things:
machdep.cpu.brand_string: Intel(R) Xeon(R) CPU           E5462  @ 2.80GHz
machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 DTES64 MON DSCPL VMX EST TM2 SSSE3 CX16 TPR PDCM SSE4.1
machdep.cpu.extfeatures: SYSCALL XD EM64T LAHF

Program is compiled with:
-march=corei7 -axSSSE3

Ifort 16.0.4

I am a bit surprised by the crash since CPU supports SSSE3 and is an Intel CPU.

Any idea of what to try or investigate to get it working?

Cheers,

Magnus

 

 

0 Kudos
1 Solution
jimdempseyatthecove
Black Belt
144 Views

-axSSSE3 specifies the compiler is to generate multiple (additional) code paths including SSSE3.

-march=corei7 Specifies the compiler is to generate code for all corei7, which includes SSE4

Try:

    -xSSSE3       (no march and not "ax")

You could also have an issue with data alignment.

Jim Dempsey

View solution in original post

2 Replies
jimdempseyatthecove
Black Belt
145 Views

-axSSSE3 specifies the compiler is to generate multiple (additional) code paths including SSSE3.

-march=corei7 Specifies the compiler is to generate code for all corei7, which includes SSE4

Try:

    -xSSSE3       (no march and not "ax")

You could also have an issue with data alignment.

Jim Dempsey

View solution in original post

jansson
Beginner
144 Views

Thank you Jim,

"-xSSSE3       (no march and not "ax")" worked.

I also found that "-march=core2 -axSSSE3" work.

Cheers,
Magnus

 

 

 

Reply