To do the same with Code_Saturne, I configure it with 'CC=icc FC=ifort' + other needed terms.
This compiles the code with icc and ifort, but it does not use the MKL libs. provided by Intel, instead it used ATLAS.
checking for smp ESSL BLAS... no
checking for ESSL BLAS... no
checking for ESSL BLAS... no
checking for threaded MKL BLAS... no
checking for MKL BLAS... no
checking for threaded ATLAS BLAS... no
checking for ATLAS BLAS... yes
For Code_Aster I have the following line generated by Intel link-advisor:
How do I continue now, my lack of programming skills holds me back.MATHLIB='-Wl,--start-group /opt/intel/Compiler/11.1/073/mkl/lib/em64t/libmkl_intel_lp64.a -L/usr/lib -lg2c /opt/intel/Compiler/11.1/073/mkl/lib/em64t/mkl_intel_thread.a /opt/intel/Compiler/11.1/073/mkl/lib/em64t/libmkl_core.a /opt/intel/Compiler/11.1/073/mkl/lib/em64t/
libmkl_blacs_openmpi_lp64.a -Wl,--end-group'
Regards,
Claus
Ps. Im just trying to compile NCS here - should other packages be compiled with Intel aswell?