Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

linking MKL BLAS with gfortran

TimP
Honored Contributor III
516 Views
If you use gfortran, you may have noticed that the g77-compiled blas library supplied in typical linux distros isn't compatible with gfortran. I ran some tests successfully with
gfortran -O2 -march=nocona -L/opt/intel/mkl/8.0/lib/em64t *.f -lmkl_em64t -lguide -lpthread
As expected, setenv OMP_NUM_THREADS=2 invokes parallel execution, where mkl so chooses. Mkl performance was the same, linked with ifort or with gfortran.
lapack would have a problem, due to the run-time library differences between gfortran and ifort.
0 Kudos
0 Replies
Reply