Quantcast
Channel: Intel® oneAPI Math Kernel Library & Intel® Math Kernel Library
Viewing all articles
Browse latest Browse all 2652

Unexpected EOF while reading module lapack95

$
0
0

Hello,

I am trying to run examples in $(MKLROOT)/examples directory (specifically examples_f95.tgz). I have problem with lapack.

As the user guide suggest if I want to use gfortran compiler I should build lapack and blas libraries located in $(MKLROOT)/interfaces. This is what I did:

1) In $(MKLROOT)/interfaces/blas95

sudo make libintel64 FC=gfrotran interface=lp64 INSTALL_DIR=/opt/intel/mkl/gfortran

2) In $(MKLROOT)/interfaces/lapack95

sudo make libintel64 FC=gfrotran interface=lp64 INSTALL_DIR=/opt/intel/mkl/gfortran

Everything compiled without errors. However, after this procedure only blas95.mod and f95_precision.mod were located in /opt/intel/mkl/gfortran/include/intel64/lp64. Examples from blas95 directory are working, but those from lapack95 don't beacuse there is no lapack95.mod file. Somewhere in this forum I found that .mod files can be included manually just by running:

sudo gfortran -J/opt/intel/mkl/include/intel64/lp64 -c lapack.f90 blas.f90 

from $(MKLROOT)/include directory. After this procedure .mod files were present, but compilation of lapack example produces error:

Fatal Error: Reading module lapack95 at line 2 column 1: Unexpected EOF

I don't have this problem with blas although I have the same options in make. 


Viewing all articles
Browse latest Browse all 2652

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>