Hi,
I'm trying to compile and run pardiso_solv_sym_inv.f90 program from PARDISO.
My compilation is succesfull but during the execution I get a segmentation fault error.
Obviously my linking in not correct.
Can anyone advice me how to link? Thanks.
Konstantin
My makerules file:
PROGRAMS = pardiso_solv_sym_inv
pardiso_solv_sym_inv : pardiso_solv_sym_inv.o
$(FC) $(PFLAGS) -o $@ pardiso_solv_sym_inv.o $(PLIBS)
all : $(PROGRAMS)
clean:
rm -v *.o *.mod $(PROGRAMS)
.f90.o :
$(FC) $(SFLAGS) -c $<
My makfile:
.suffixes:
.SUFFIXES: .f90 .o
FC = /opt/intel/bin/ifort
MKL_MIC_ENABLE=1
DIRECTIVES = -axAVX -ansi-alias -ip -sox -mcmodel=large
PDIRECTIVES = $(DIRECTIVES)
MKLROOT = /opt/intel/composer_xe_2015.3.187
CDIRS = -I$(MKLROOT)/mkl/include -L$(MKLROOT)/mkl/lib/intel64/ -L$(MKLROOT)/mkl/lib/mic/libmkl_blacs_intelmpi_ilp64.so
COMPFLAGS = -DMKL_ILP64 -w -g -O2 -fdefault-integer-8
PCOMPFLAGS = $(COMPFLAGS) -openmp
SFLAGS = $(COMPFLAGS) $(DIRECTIVES) $(CDIRS)
PFLAGS = $(PCOMPFLAGS) $(PDIRECTIVES) $(CDIRS)
LIBS = -lmkl_intel_ilp64 -lmkl_core -liomp5 -lm
PLIBS = $(LIBS) -lmkl_intel_thread -lpthread
MAKERULES = /group/adhis/Kon/mkl/fortran/makerules
include ${MAKERULES}
The error I get:
[PARDISO]: License check was successful ...
forrtl: severe (174): SIGSEGV, segmentation fault occurred