I am compiling a code that uses Cray LibSci numerical library for BLAS and LAPACK on a Cray XC30 system using the Intel compiler with the "-ipo" flag and including "-openmp" to compile OpenMP-enabled code.
I see the following error for any code I try to compile:
** segmentation violation signal raised **
Access violation or stack overflow. Please contact Support.
ifort: error #10106: Fatal error in /opt/intel/composer_xe_2013_sp1.4.211/bin/intel64/fortcom, terminated by segmentation violation
ifort: error #10014: problem during multi-file optimization compilation (code 1)
This can be illustrated with a very simple example:
user@eslogin008:~> cat blas1F.f
program blas1F
implicit none
real*4 x(4), y(4)
external sswap
data x/2, 3, 4, 5/
data y/5, 4, 9, 2/
call sswap(4, x, 1, y, 1)
write (*,*) 'After Swap..'
end
Compiling:
user@eslogin008:~> ftn -ipo -openmp blas1F.f
** segmentation violation signal raised **
Access violation or stack overflow. Please contact Support.
ifort: error #10106: Fatal error in /opt/intel/composer_xe_2013_sp1.4.211/bin/intel64/fortcom, terminated by segmentation violation
ifort: error #10014: problem during multi-file optimization compilation (code 1)
Excluding either one of the "-ipo" or "-openmp" flags results in the code compiling and running fine.