<div dir="ltr"><div>I am configuring with MKL:</div><div><br></div><div>     '--with-blas-lapack-dir=/opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/lib/intel64_lin',</div><div>    '--with-mkl_pardiso-dir=/opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/lib/intel64_lin',   </div><div><br></div><div>and get this error (appended). It is looking for libmkl_intel.a but this is what there is:</div><div><br></div><div><div>08:46 cori07 maint *= ~/petsc_install/petsc/src/snes/examples/tutorials$ ll /opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/lib/intel64_lin/libmkl_inte*</div><div>-rw-r--r-- 1 root root 22133402 Oct  6  2017 /opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/lib/intel64_lin/libmkl_intel_ilp64.a</div><div>-rwxr-xr-x 1 root root  9783841 Oct  6  2017 /opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/lib/intel64_lin/libmkl_intel_ilp64.so</div><div>-rw-r--r-- 1 root root 23254666 Oct  6  2017 /opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/lib/intel64_lin/libmkl_intel_lp64.a</div><div>-rwxr-xr-x 1 root root 10567885 Oct  6  2017 /opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/lib/intel64_lin/libmkl_intel_lp64.so</div><div>-rw-r--r-- 1 root root 49087274 Oct  6  2017 /opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/lib/intel64_lin/libmkl_intel_thread.a</div><div>-rwxr-xr-x 1 root root 37230319 Oct  6  2017 /opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/lib/intel64_lin/libmkl_intel_thread.so</div></div><div><br></div><div>I would guess I want to add and LDFLAGS="l<span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">mkl_intel_thread</span>" maybe? I want to use OpenMP.</div><div><br></div><div>Thanks,</div><div>Mark</div><div><br></div><div><br></div><div><br></div><div>                       Pushing language C</div><div>                            Popping language C</div><div>Executing: cc  -o /tmp/petsc-ZL05ng/config.libraries/conftest     -g -O0 -hcpu=mic-knl -qopenmp-simd -fopenmp /tmp/petsc-ZL05ng/config.libraries/conftest.o  -Wl,-rpath,/opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/lib/intel64_lin -L/opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/lib/intel64_lin -lmkl_intel -lmkl_core -lmkl_gnu_thread -lgomp -ldl -lpthread -lstdc++ -ldl</div><div>Possible ERROR while running linker: exit code 256</div><div>stderr:</div><div>/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: cannot find -lmkl_intel</div><div>                    Popping language C</div><div>              Unknown name mangling in BLAS/LAPACK</div><div>**** Configure header /tmp/petsc-ZL05ng/confdefs.h ****</div><div>#if !defined(INCLUDED_UNKNOWN)</div><div><br></div></div>