There are a few other alternatives when choosing the editions of Intel Compilers and MS VS, most of whom.
So in my case, the compiler correctly finds MKL installed in “-libpath:C:/Program Files/Intel/MKL/10.2.6.037/em64t/lib” and then adds three libraries: “-defaultlib:mkl_intel_lp64 -defaultlib:mkl_pgi_thread -defaultlib:mkl_core”. in the setup and linking of Abaqus 6.12/6.13 with Intel Visual FORTRAN 11.1 and MS VS 2008. "C:/Program Files/PGI/Microsoft Open Tools 14/bin/amd64\link.exe" /NOLOGO. Writing to file \tmp/pgfortran-tempfile.lnkĬ:\PROGRA~1\PGI/win64/18.1/lib\pgimainmx.obj C:\PROGRA~1\PGI/win64/18.1/lib\f90main.obj -incremental:no -debug -nologo -merge:_nv_module_id=.data -merge.nvFatBinSegment=.data "-libpath:C:/Program Files/PGI/Microsoft Open Tools 14/Lib/AMD64" "-libpath:C:/Program Files (x86)/Windows Kits/10/Lib/3.0/ucrt/圆4" "-libpath:C:/Program Files (x86)/Windows Kits/10/Lib/3.0/um/圆4" -libpath:C:\PROGRA~1\PGI/win64/18.1/lib x.obj -out:x.exe -pdb./x.pdb "-libpath:C:/Program Files/Intel/MKL/10.2.6.037/em64t/lib" -defaultlib:mkl_intel_lp64 -defaultlib:mkl_pgi_thread -defaultlib:mkl_core -defaultlib:libiomp5mt /DYNAMICBASE:NO -defaultlib:libpgmp -defaultlib:pg -defaultlib:libpgf90rtl -defaultlib:libpgf90 -defaultlib:libpgf90_rpm1 -defaultlib:libpgf902 -defaultlib:libpgf90rtl -defaultlib:libpgftnrtl -nodefaultlib:msvcrt -defaultlib:libvcruntime -defaultlib:libucrt -defaultlib:libcmt -defaultlib:libpgc14 -defaultlib:libnspgc -defaultlib:legacy_stdio_definitions -defaultlib:oldnames To see what directory the compiler is using, you can run the following from a command line shell: PGI$ pgfortran -Mmkl -dryrun x.obj
This in turn adds the “-Mmkl” flag to the compiler which will then check the Windows registry for the MKL installation directory.
There’s a property setting under “Fortran->Libraries->Use MKL” which you can set.