I want to use gfortran to compile some code that uses mlk_vsl.f90 from the Intel MKL library on a Mac.
I'm doing the following:
gfortran -o filename filename.f90 -I/${MKLROOT}/include
and I get this error:
"Can't open module file 'mkl_vsl_type.mod" for reading at (1): No such file or directory"
I know that I have to create the .mod file, but I am not sure how.
.modfiles?mkl_vsl_typemodule? Note that the exact linking instructions for MKL are on the Intel website. You can select several options and the site will give you the right command.