Hi Justin,
I had the same error, and fixed it by setting the LD_PRELOAD environment variable-
export LD_PRELOAD=$mklroot/lib/intel64_lin/libmkl_avx512.so:$mklroot/lib/intel64_lin/libmkl_def.so
Here, $mklroot is the the path to the MKL installation on your cluster.
> Hi all,
> 
> I'm trying to install firedrake onto a skylake cluster, and I have
> to not only install firedrake as a local user but also to install
> my own python3. So PETSc, firedrake, and python3 is built using
> intel compilers.
> 
> So everything installs correctly, and nothing terrible happens when
> i type
> 
> python -c "from firedrake import *"
> 
> however, when I try to run any firedrake code, I get this error:
> 
> Intel MKL FATAL ERROR: Cannot load libmkl_avx512.so or
> libmkl_def.so.