how to install lapack for vs2008 on win7/64

Post here if you have a question about the installation process

how to install lapack for vs2008 on win7/64

Postby frumpel » Mon Jul 11, 2011 1:01 am

Hi All!

Ultimately I am trying to recompile lapackpp for win7/64 and without MinGW so I can port an application from XP. However, I seem to be failing at the most basic step: getting a LAPACK test app to compile using vs2008. I am not sure whether I just don't understand the tutorial(s) at

http://icl.cs.utk.edu/lapack-for-windows/

or whether they are just slightly misleading?

The LAPACK tutorial at http://icl.cs.utk.edu/lapack-for-windows/lapack/index.html would suggest that it should be possible to use visual studio with the LAPACK libraries simply by using
Code: Select all
extern "C"
in the function definition, but in VS2008 this seems to reproducibly lead to a link error
Code: Select all
lapacktest2.obj : error LNK2019: unresolved external symbol _dgesv_ referenced in function _main


Following the CLAPACK tutorial at http://icl.cs.utk.edu/lapack-for-windows/clapack/index.html works fine but there is no 64 bit library for download.

My head feels flat from banging against various surfaces so any pointers would be greatly appreciated!

Rudolf
frumpel
 
Posts: 2
Joined: Mon Jul 11, 2011 12:42 am

Re: how to install lapack for vs2008 on win7/64

Postby admin » Tue Aug 16, 2011 9:54 am

Do you have the INTEL Fortran compiler on your Windows machine?
If no, the choice are rather limited at the moment.
Indeed, there is some problem with CLAPACK in 64 bits this is why no library is available.
admin
Site Admin
 
Posts: 504
Joined: Wed Dec 08, 2004 7:07 pm


Return to Installation

Who is online

Users browsing this forum: No registered users and 1 guest

cron