how to install lapack under windows cygwin!

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

how to install lapack under windows cygwin!

Postby dp » Thu Mar 23, 2006 4:08 am

hi:
i have download the lapack 3.0 , and i wnat to intstall it under windows system, and i use the cygwin.
i first untar the tar file,then
i enter the make command, but it can not work .
it gives me many rows of error: such as
f77 language arch=v8plusa not recognized
f77: stgsna.f: linker input file unused because linking not done

then what should i compile it correctly!

regards
dp
 
Posts: 4
Joined: Thu Mar 23, 2006 3:59 am

Postby sven » Thu Mar 23, 2006 4:50 am

You can get LAPACK as part of cygwin, run the cygwin setup and select lapack from the Maths category. I believe that also installs the BLAS. the lapack and blas libraries will be in /lib.

I have not used the cygwin versions myself, so I don't know how efficient they are, but at least it should be an easy way to get started.

Best wishes,

Sven Hammarling.
sven
 
Posts: 144
Joined: Wed Dec 22, 2004 4:28 am

Postby Julien Langou » Thu Mar 23, 2006 5:39 pm

yep, or if you want to compile it your LAPACK yourself you can do:

mv INSTALL/make.inc.LINUX make.inc
make blaslib lib testing

(you were using the default make.inc, you have to change it for Linux machine - or cygwin)

but Sven is right, you'd be as better to go with the lapack version distributed by cygwin.

Julien
Julien Langou
 
Posts: 734
Joined: Thu Dec 09, 2004 12:32 pm
Location: Denver, CO, USA

Postby dp » Thu Mar 23, 2006 9:28 pm

hI:
IT WORKS , BUT I ONLY FIND THE LIBLAPACK.A IN THE /LIB DIRECTORY, DOES LAPACK INCLUDE THE BLAS .

REGARDS
dp
 
Posts: 4
Joined: Thu Mar 23, 2006 3:59 am

Postby Julien Langou » Fri Mar 24, 2006 11:25 am

DOES LAPACK INCLUDE THE BLAS .


On Cygwin, yes and no.

If you want the short answer: yes.
A line like:
g77 myprogram.f -llapack
will work.
So on some sense you have BLAS and LAPACK at once.

But hopefully no... The two libraries are still distinct. The idea is that you want to plug any BLAS behind LAPACK. So a LAPACK library should not include a BLAS library inside it. I do not know all the details on how the cygwin guys have done it but I think this is ok.
Julien Langou
 
Posts: 734
Joined: Thu Dec 09, 2004 12:32 pm
Location: Denver, CO, USA


Return to User Discussion

Who is online

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

cron