- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page