CLAPACK 3.2.1 is released

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

CLAPACK 3.2.1 is released

Postby peng.du » Thu Jun 25, 2009 5:45 pm

CLAPACK 3.2.1 was released on Jun 25, 2009 at

Update from clapack3.2:
(1) a few bugs about the return type of smaxloc and dmaxloc are fixed
(2) A clapack.h file is included as part of the package

For function what's-new info, please refer to

Posts: 11
Joined: Tue Feb 17, 2009 4:14 pm

Re: CLAPACK 3.2.1 is released

Postby lucky0002 » Wed Apr 06, 2011 2:31 am

Hello ,
I am experimenting something with the lapack.
I called the 'ssyev'( routine for calculating eigen values of symmetric matrix) , and linked with the lapack.lib, blas.lib, libf2c.lib ( the prebuilt binaries I downloaded).
When I run the program , for 128X128, and 256X256 matrix it takes very less time, less that 1 seconds.

But Other thing I tried is that , I have collected the C files( total no was arround 50) that are the depencencies along with the code for ssyev.
And now the performance is reduced.
for 128X128 matrix it will take 7.9 seconds
and for 256X256 matrix it takes arround 23 seconds.

Why there is so much difference?
It seems to me I might be mising the compiler flags, what are the other issues that c'd be responsible?

Please tell me the compiler flags/optimizations I should set while compiling those 50 C files to get the comparable performance.
Posts: 7
Joined: Mon Mar 07, 2011 7:25 am

Re: CLAPACK 3.2.1 is released

Postby admin » Wed Apr 06, 2011 11:52 pm

Those libraries were compiled with the /02 optimization flag.
Take a look here to see how it was built: ... html#build
Site Admin
Posts: 588
Joined: Wed Dec 08, 2004 7:07 pm

Re: CLAPACK 3.2.1 is released

Postby lucky0002 » Thu Apr 07, 2011 2:14 am

Actually I have used the same link to compile the libraries for my system.

But the thing is when I am using precompiled libraries ( compiled with /O2 flag) the runtime is less than 0.1 seconds.
And when I am compiling the source files( 50 C files that I collected ) with the same optimization flag, the runtime is very poor , as I indicated above.

What you say about this?
Posts: 7
Joined: Mon Mar 07, 2011 7:25 am

Return to User Discussion

Who is online

Users browsing this forum: No registered users and 5 guests