how to use lapack under windows?

Open discussion regarding features, bugs, issues, vendors, etc.

how to use lapack under windows?

Postby lukesawyer » Wed Dec 07, 2011 4:07 am

I want to use lapack and make C++ matrix wrapper for it, but lapack is written in Fortran, there are some clapack but I want to use it from source. compile firstly *.f and *.cpp files to object files then link it into a application..

the following apps and sources that I have.

visual studio proff edition,dev c++,ultimate++,mingw whatever
g95 and gfortran (under mingw) compiler
lapack (latest source)
blas (included in lapack)

How can I make an application please help...

My Operating System is Windows 7 and CPU Core2Duo and I dont have Intel math kernel
lukesawyer
 
Posts: 1
Joined: Wed Dec 07, 2011 3:57 am

Re: how to use lapack under windows?

Postby admin » Fri Dec 09, 2011 8:25 pm

Hey,
you can take a look here: http://icl.cs.utk.edu/lapack-for-windows/lapack/index.html
You can either download the dll or use CMAKE and Mingw to generate your own libraries.
You will be able to call the Fortran from a C visual studio solution (see example on the webpage).
I am currently working on porting LAPACKE to work under Windows and CMAKE.
Once this will be ready, you will be able to call the LAPACK C Wrapper directly.
Julie
admin
Site Admin
 
Posts: 436
Joined: Wed Dec 08, 2004 7:07 pm

Re: how to use lapack under windows?

Postby admin » Fri Jan 13, 2012 5:07 pm

Here it is, you can now call directly LAPACKE from VS Studio.
Please see http://icl.cs.utk.edu/lapack-for-window ... k/#lapacke
Please let me know how it goes.
Julie
admin
Site Admin
 
Posts: 436
Joined: Wed Dec 08, 2004 7:07 pm


Return to User Discussion

Who is online

Users browsing this forum: Exabot [Bot] and 4 guests