Obj/mod_diffusion.o Obj/mod_time.o gas.f90 -c -module Mod/ -o Obj/gas.o
Solver/linear_solver_RCIISS.f90(13): error #5102: Cannot open include file 'mkl_rci.fi'
compilation aborted for gas.f90 (code 1)
The MKL include directory is defined in the make file as:
MKLROOT = /opt/intel/composer_xe_2011_sp1.9.289/mkl/
MKL = -I$(MKLROOT)/include/intel64/lp64 -I$(MKLROOT)/include -L$(MKLROOT)/lib $(MKLROOT)/lib/libmkl_blas95_lp64.a $(MKLROOT)/lib/libmkl_lapack95_lp64.a -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -openmp -lpthread -lm
and the file is there (/opt/intel/composer_xe_2011_sp1.9.289/mkl/include/mkl_rci.fi)
I even add the file 'mkl_rci.fi' directly to the project, but it gives me the same error. I used other MKL functions before the recent changes in the project and there was no problem in linking and compiling. Any clue what would be the problem?
but the particular include file is not target-architecture specific, and is therefore located in
MKL = -I$(MKLROOT)/include/intel64/lp64 -I$(MKLROOT)/include
MKL = -I$(MKLROOT)/include -I$(MKLROOT)/include/intel64/lp64
Undefined symbols for architecture x86_64:
"_linear_solver_rciiss_", referenced from:
_MAIN__ in gas.o
ld: symbol(s) not found for architecture x86_64
make: *** [FRSGW3D.e] Error 1
It appears you are not including the mkl libraries.
there is a command line switch that will add the libraries for you:
ifort -mkl gas.o -o gas