First — my apologies. My previous post was written with an automatic translator and was confusing. Sorry for that. Below is a corrected, concise description of the problem and the exact output I have. I would appreciate any advice.
Short summary
- Machine: dual-socket server node with two Intel Xeon E5-2697 v2 (Ivy Bridge). These CPUs support AVX but do not support AVX2.
- Compiler/linker: Intel Fortran (I use mpiifx as the Fortran driver and icc/icpc for C/C++).
- Build: I compiled using the included .inc (snippet below) with -march=ivybridge. Compilation completed successfully.
4)Run: When running the produced binary with the CRYSTAL input (included below) the program crashes immediately with:
forrtl: severe (168): Program Exception - illegal instruction
Image PC Routine Line Source
libc.so.6 0000718B3FC45330 Unknown Unknown Unknown
PcrystalOMP 0000000000E915A2 Unknown Unknown Unknown
PcrystalOMP 0000000006828517 Unknown Unknown Unknown
PcrystalOMP 00000000004073BD Unknown Unknown Unknown
PcrystalOMP 000000000040735D Unknown Unknown Unknown
libc.so.6 0000718B3FC2A1CA Unknown Unknown Unknown
libc.so.6 0000718B3FC2A28B __libc_start_main Unknown Unknown
PcrystalOMP 0000000000407275 Unknown Unknown Unknown
My .inc file:
For Linux based on x86_64 arch, using Intel Fortran Compiler
F90 = mpiifx
LD = $(F90)
PLD = mpiifx
F90COMMON = -diag-disable 7373 -diag-error 5198,6182,6893,6916,6919,7374,7416,7423,8089,8586
-align -static-intel -cxxlib -qopenmp
F90FLAGS = $(F90COMMON) -O3 -march=ivybridge
F90BASIS = $(F90COMMON) -O0
F90GORB = $(F90COMMON) -O2
F90DENS = $(F90COMMON) -O2
F90FIXED = -FI
F90FREE = -FR
SAVEMOD = -module $(MODDIR)
INCMOD = -I$(MODDIR)
LDFLAGS = $(F90FLAGS)
EIGENV = $(OBJDIR)/diag_lapack.o
MATMULT = $(OBJDIR)/mult_blas.o
MKLPATH = $(MKLROOT)/lib/intel64
LDLIBS = $(LIBXCFUN) -Wl,--start-group
$(MKLPATH)/libmkl_intel_lp64.a $(MKLPATH)/libmkl_intel_thread.a
$(MKLPATH)/libmkl_core.a $(MKLPATH)/libmkl_blacs_openmpi_lp64.a -Wl,--end-group -liomp5 -lpthread -lm -ldl
#LDLIBS =
MXMB = $(OBJDIR)/libmxm.o
MACHINE_C=mach_linux
CC = icc
CFLAGS = -O2 -vec-report0 -Wall -diag-disable 177,279,383,869,981,1418,1419,1572 -DNDEBUG
CXX = icpc
CXXFLAGS = $(CFLAGS) -fno-rtti -fno-exceptions
MPI harness
HARNESS = $(MPI)
https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl-link-line-advisor.html
MKL=$(MKLROOT)/lib/intel64
MPPLIB=-L$(MKL) $(MKL)/libmkl_scalapack_lp64.a -Wl,--start-group
$(MKL)/libmkl_intel_lp64.a $(MKL)/libmkl_sequential.a
$(MKL)/libmkl_core.a $(MKL)/libmkl_blacs_openmpi_lp64.a -Wl,--end-group -liomp5 -lpthread -lm -ldl
Thank you in advance for any guidance. I’m happy to attach any of the files or run recommended diagnostics — please tell me which outputs would be most helpful.
Again, sorry for the confusion from the earlier (poorly translated) message.