Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

Ilegal instruccion on Xeon E5472

Hernan_Favio_M_
Beginner
405 Views

Hi all,

I'm compiling this tool called XIOS for parallel I/O operations, 

When i compile it with all its dependencies (HDF5, Netcdf) , and running the test, I get the following error:

forrtl: severe (168): Program Exception - illegal instruction
Image              PC                Routine            Line        Source             
xios_server.exe    0000000000A69351  Unknown               Unknown  Unknown
xios_server.exe    0000000000A6748B  Unknown               Unknown  Unknown
xios_server.exe    0000000000A145D4  Unknown               Unknown  Unknown
xios_server.exe    0000000000A143E6  Unknown               Unknown  Unknown
xios_server.exe    00000000009EDC69  Unknown               Unknown  Unknown
xios_server.exe    00000000009F14C4  Unknown               Unknown  Unknown
libpthread-2.12.s  000000370640F710  Unknown               Unknown  Unknown
xios_server.exe    0000000000A74F58  Unknown               Unknown  Unknown
xios_server.exe    0000000000830547  Unknown               Unknown  Unknown
xios_server.exe    00000000007A1B93  Unknown               Unknown  Unknown
xios_server.exe    00000000007A1D8A  Unknown               Unknown  Unknown
xios_server.exe    00000000007A892F  Unknown               Unknown  Unknown
xios_server.exe    000000000074BB6D  Unknown               Unknown  Unknown
xios_server.exe    0000000000700646  Unknown               Unknown  Unknown
xios_server.exe    000000000070152D  Unknown               Unknown  Unknown
xios_server.exe    000000000067011F  Unknown               Unknown  Unknown
xios_server.exe    0000000000640B95  Unknown               Unknown  Unknown
xios_server.exe    000000000063E464  _ZN4xios9CONetCDF          15  onetcdf4.cpp
xios_server.exe    00000000005A705C  _ZN4xios14CNc4Dat          31  nc4_data_output.cpp
xios_server.exe    00000000005A7001  _ZN4xios14CNc4Dat          28  nc4_data_output.cpp
xios_server.exe    0000000000527469  _ZN4xios5CFile12c         297  file.cpp
xios_server.exe    0000000000526A9D  _ZN4xios5CFile9ch         180  file.cpp
xios_server.exe    000000000051A266  _ZN4xios6CField10         192  field.cpp
xios_server.exe    000000000051A032  _ZN4xios6CField14         182  field.cpp
xios_server.exe    0000000000519449  _ZN4xios6CField14         139  field.cpp
xios_server.exe    0000000000519159  _ZN4xios6CField13          84  field.cpp
xios_server.exe    00000000004E94FF  _ZN4xios14CContex         196  context_server.cpp
xios_server.exe    00000000004E9277  _ZN4xios14CContex         155  context_server.cpp
xios_server.exe    00000000004E857F  _ZN4xios14CContex          50  context_server.cpp
xios_server.exe    00000000006433F9  _ZN4xios7CServer1         379  server.cpp
xios_server.exe    000000000064326B  _ZN4xios7CServer9         161  server.cpp
xios_server.exe    0000000000644DF7  _ZN4xios7CServer1         126  server.cpp
xios_server.exe    00000000004EB390  _ZN4xios5CXios14i          72  cxios.cpp
xios_server.exe    000000000040CA2C  MAIN__                      7  xios_server.f90
xios_server.exe    0000000000A1E7C2  Unknown               Unknown  Unknown
libc-2.12.so       0000003705C1ED5D  __libc_start_main     Unknown  Unknown
xios_server.exe    000000000040C929  Unknown               Unknown  Unknown

My operating system is Centos 6.6.  The login node in which I'm compiling its:  a 

Intel(R) Xeon(R) CPU           X5675  @ 3.07GHz

The compute nodes are: 

Intel(R) Xeon(R) CPU           E5472  @ 3.00GHz
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 lahf_lm dts tpr_shadow vnmi flexpriority

 

I'm compiling all the dependencies with the following directives:

-O3 -xSSE4.1 -fp-model source

I'd like to know if there is anything wrong with my setup , i'll appreciate it.

This code used to work with an older version of the intel compilers,

FavioMJ  

 

 

 

 

0 Kudos
3 Replies
SergeyKostrov
Valued Contributor II
405 Views
>>...Intel(R) Xeon(R) CPU E5472 @ 3.00GHz >>flags fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 >>ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl vmx est >>tm2 ssse3 cx16 xtpr pdcm dca sse4_1 lahf_lm dts tpr_shadow vnmi flexpriority The crash-log provided doesn't show where exactly the application crashed and a disassembled piece of codes is needed to understand what instruction caused that crash. >>... >>...xios_server.exe 000000000063E464 _ZN4xios9CONetCDF 15 onetcdf4.cpp >>... This is the file you should look at first.
0 Kudos
Hernan_Favio_M_
Beginner
405 Views

Thanks for the reply,

I was able to run this code, by compiling all its dependencies with the following options:

-O3 -msse4.1  

The thing is that the login node has a newer processor than the compute nodes, and some of the flags are not available in the compute nodes.  Still there is something wrong numerically but i'm looking..

 

 

 

0 Kudos
SergeyKostrov
Valued Contributor II
405 Views
>>... >>I was able to run this code, by compiling all its dependencies with the following options: >> >>-O3 -msse4.1 It is a right decision to recompile all modules for SSE4.1 ISA. The only issue is that it is too old ISA and most computer systems support AVX and AVX2 ISAs. You could try these ISAs as well as soon as all problems / issues are resolved.
0 Kudos
Reply