I got the following advice from Intel for compiler flags: -i8 -openmp -I$(MKLROOT)/include
At least on this particular cluster and a couple of recent versions of ifort, mkl and intelmpi, the -i8 flag causes elk to fail mpi runs. I tried out i2 and i4 as well and both also give an excecutable that does not work. For i2 and i8 the problem seems to be mpi related and for i4 I get e.g.
libmkl_intel_ilp6 00007F38F205FE30 Unknown Unknown Unknown
elk 000000000043A36E Unknown Unknown Unknown
elk 000000000049334B Unknown Unknown Unknown
elk 0000000000486E23 Unknown Unknown Unknown
elk 00000000004CE0B2 Unknown Unknown Unknown
elk 0000000000419895 Unknown Unknown Unknown
elk 0000000000404FDC Unknown Unknown Unknown
libc.so.6 00007F38EE701CDD Unknown Unknown Unknown
elk 0000000000404ED9 Unknown Unknown Unknown
forrtl: severe (174): SIGSEGV, segmentation fault occurred
The suggested linker flags were
-L$(MKLROOT)/lib/intel64 -lmkl_intel_ilp64 -lmkl_intel_thread -lmkl_core -lpthread -lm
I'll try to diagnose from which option the mkl related error comes from next week.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.