Latte-Lammps compilation error with mpiifort

Dear users,
I have compiled latte code with mpiifort/mkl. I used manual method for linking lammps to latte. I generated 3 links with “make lib-latee”. I used ifort version in lib/latte for Makefile.lammps: