Petsc configure should be able to detect MKL and add the proper linking by just using the -with-blaslapack-dir= option. Alternatively, you can use --COPTFLAGS=‘-mkl-sequential’ > On Apr 24, 2018, at 10:26 AM, Samuel Lanthaler <s.lanthaler at gmail.com> wrote: > > <make_fail_ex5f.txt>