Sunday, March 17, 2013

I finally made the LAPACK work on Visual Studio 2008


It was a success. Something that took my time and attention for some time. I had trouble using the LAPACK solver function in FORTRAN 95. I could made that thing work on gfortran gnu. But, for Intel fortran compiler ifort.exe under Visual Studio, I was totally lost.

I made it work first by downloading the given example
http://icl.cs.utk.edu/lapack-for-windows/lapack/LAPACK-VS-Example.zip

Then I downloaded and placed the library prebuild files In the solution library:
http://icl.cs.utk.edu/lapack-for-windows/lapack/#libraries

There was a trick in compiling. I was getting an error in compilation for a file that one library conflict with some others. So I ask the linker in Project property to ignore the file and does the compiling without it.
It was in
Project>XYX Propertis>linker> Ignore Specific Library

It is working now.
I got the example for dgesv function from the
http://faculty.washington.edu/rjl/uwamath583s11/sphinx/notes/html/lapack_examples.html

It was noce to be able to work this package at the end.