Saturday, July 21, 2012

Compiling QUEST with Intel XE Compilers on CentOS



This is a continuation of Compiling QUEST with GNU Compilers on CentOS, If  you are planning instead to use Intel XE Compilers, you have to edit the make.inc file. Here are my settings. Do note that the Intel XE and previous version of Intel are major architecture changes. Do look at Linking Applications with Intel MKL version 10

At make,inc, line 23
# Intel Fortran compiler
FC = ifort
FC_FLAGS    = -O3 -warn -openmp
NOOPT_FLAGS = -O0 -warn -openmp

At make.inc line 46
# Intel C++ compiler
 CXX = icc
 CXX_FLAGS = -O3 -openmp $(CUDAINC) $(MAGMAINC)

At make.inc, line 56
# Intel MKL library
MKLPATH   = /opt/intel/mkl/10.2.6.038/lib/em64t
LAPACKLIB = -L$(MKLPATH) -L$mkll  -lguide -lpthread -lguide -lpthread -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core


Finally, follow the verification process at stated in the Compiling QUEST with Intel Compilers on CentOS

No comments: