Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
45 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

Accepted Solutions
Highlighted
45 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

0 Kudos
2 Replies
Highlighted
46 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

0 Kudos
Highlighted
Beginner
45 Views

Thank you Jim,

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

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

Cheers,
Magnus

 

 

 

0 Kudos