lapack-autoconf.tar.gz : build LAPACK 3.2.2 with autoconf

Post here if you have having problem using the Makefile build process.

lapack-autoconf.tar.gz : build LAPACK 3.2.2 with autoconf

Postby cottrell » Wed Jul 07, 2010 12:38 pm

For those who like to build software with the GNU autoconf
procedure --

./configure <options> ; make ; make check; make install

There's a small package, lapack-autoconf.tar.gz, available at

http://www.wfu.edu/~cottrell/lapack/

(There's also a README there.) Unpack this package in the top-
level lapack source directory and you're in business. Builds
shared and/or static libraries, supports various precision options,
and so on.

Allin Cottrell
Wake Forest University
cottrell
 
Posts: 68
Joined: Thu Jan 15, 2009 1:40 pm

Re: lapack-autoconf.tar.gz : build LAPACK 3.2.2 with autoconf

Postby Left4DeadCheats » Fri Jul 09, 2010 9:33 pm

Thanks, I've been looking for this. What's the command line to unzip and extract?
Left4DeadCheats
 
Posts: 1
Joined: Fri Jul 09, 2010 9:30 pm

Re: lapack-autoconf.tar.gz : build LAPACK 3.2.2 with autoconf

Postby cottrell » Mon Jul 12, 2010 10:58 pm

Oops, sorry, the README was not as informative as it might have been.
There's now a better version of
http://www.wfu.edu/~cottrell/lapack/README

But the procedure is just: tar xvfz lapack-autoconf.tar.gz in the top-level
directory of the current lapack source tree.

Allin Cottrell
cottrell
 
Posts: 68
Joined: Thu Jan 15, 2009 1:40 pm

Re: lapack-autoconf.tar.gz : build LAPACK 3.2.2 with autocon

Postby mesothelioma » Fri Sep 17, 2010 10:18 am

cottrell wrote:Oops, sorry, the README was not as informative as it might have been.
There's now a better version of
http://www.wfu.edu/~cottrell/lapack/README

But the procedure is just: tar xvfz lapack-autoconf.tar.gz in the top-level
directory of the current lapack source tree.

Allin Cottrell


Great. Thanks for the added info.
mesothelioma
 
Posts: 1
Joined: Fri Sep 17, 2010 10:12 am
Location: canada

Re: lapack-autoconf.tar.gz : build LAPACK 3.2.2 with autocon

Postby Duncan » Sat Oct 02, 2010 7:24 pm

I'm having difficult running this command, I don't get why it won't work?
Code: Select all
--enable-single=no -enable-complex=no
Duncan
 
Posts: 1
Joined: Sat Oct 02, 2010 7:01 pm
Location: Knoxville, TN

Re: lapack-autoconf.tar.gz : build LAPACK 3.2.2 with autocon

Postby cottrell » Tue Oct 05, 2010 9:27 am

Duncan wrote:I'm having difficult running this command, I don't get why it won't work?
Code: Select all
--enable-single=no -enable-complex=no


These are options for the ./configure script. Also there's a dash missing
from the second option. The full invocation would be:

Code: Select all
./configure --enable-single=no --enable-complex=no
cottrell
 
Posts: 68
Joined: Thu Jan 15, 2009 1:40 pm

lapack-autoconf-0.2 for lapack 3.3.0

Postby cottrell » Mon Nov 22, 2010 5:59 pm

There is now an updated version of lapack-autoconf that works
with lapack 3.3.0. Please see http://www.wfu.edu/~cottrell/lapack
cottrell
 
Posts: 68
Joined: Thu Jan 15, 2009 1:40 pm

lapack-autoconf-0.3

Postby cottrell » Wed Dec 15, 2010 2:21 pm

There is now an updated version of lapack-autoconf available
at http://www.wfu.edu/~cottrell/lapack/lap ... 0.3.tar.gz .
This is for lapack 3.3.0. It addresses a problem noted by Erich Dolejsi,
namely a build error in the lapack test suite if you are using a
third-party BLAS.
cottrell
 
Posts: 68
Joined: Thu Jan 15, 2009 1:40 pm

Re: lapack-autoconf.tar.gz : build LAPACK 3.2.2 with autocon

Postby JoshDawson » Fri Jan 21, 2011 2:04 pm

Great, thanks for the upgrades. Is there another one coming already after 3.30? Also thanks for the correct command lines, I'm always terrible with these.
JoshDawson
 
Posts: 1
Joined: Fri Jan 21, 2011 1:58 pm

lapack-autoconf update

Postby cottrell » Sat Apr 23, 2011 2:18 pm

There's an update of my autoconf apparatus for lapack 3.3.1:
http://www.wfu.edu/~cottrell/lapack/lap ... onf.tar.gz
cottrell
 
Posts: 68
Joined: Thu Jan 15, 2009 1:40 pm

Re: lapack-autoconf.tar.gz : build LAPACK 3.2.2 with autocon

Postby velcro » Sat Apr 23, 2011 4:42 pm

great update thanks
velcro
 
Posts: 1
Joined: Sat Apr 23, 2011 4:37 pm

Re: lapack-autoconf.tar.gz : build LAPACK 3.2.2 with autocon

Postby shintanoid » Mon May 30, 2011 7:10 am

Thanks!


I have a problem when using -llapack -lblas

I create a file named example.cpp
and with

g++ -c example.cpp
gfortran example.o -o example -llapack -lblas

till now it is ok, then ./example there is an error

the error is

./example: error while loading shared libraries: liblapack.so.3: cannot open shared object file: No such file or directory


I think there is no problem in my program(I have tested before), and there is no error when installing lapack

is it a bug?what should I do?
shintanoid
 
Posts: 2
Joined: Mon May 30, 2011 6:54 am

Re: lapack-autoconf.tar.gz : build LAPACK 3.2.2 with autocon

Postby admin » Tue May 31, 2011 2:22 am

Is your LD_LIBRARY_PATH set accordingly?
admin
Site Admin
 
Posts: 486
Joined: Wed Dec 08, 2004 7:07 pm

Re: lapack-autoconf.tar.gz : build LAPACK 3.2.2 with autocon

Postby shintanoid » Wed Jun 01, 2011 6:18 am

admin wrote:Is your LD_LIBRARY_PATH set accordingly?



I didn't set any PATH,maybe that is the problem

today I reinstalled ubuntu,and lapack with autoconf, this time nothing goes wrong......strange, anyway it's getting work, so I don't mind anymore

thanks!
shintanoid
 
Posts: 2
Joined: Mon May 30, 2011 6:54 am

Re: lapack-autoconf.tar.gz : build LAPACK 3.2.2 with autocon

Postby markuspiro » Wed Mar 06, 2013 1:31 pm

Hello,

I am using the lapack-3.4.0-autoconf to configure lapack and blas as shared libraries. I have followed the instructions from (viewtopic.php?f=2&t=1891#p5328):

tar -zxvf lapack-3.4.0.tgz
cd lapack-3.4.0
cp ~/Downloads/lapack-3.4.0-autoconf.tar.gz .
tar -zxvf lapack-3.4.0-autoconf.tar.gz
./configure
make
make check
make install

Everything is smooth until make install returning the following error:

/home/pirom/src/lapack-3.4.0/libtool: line 8183: mpif90: command not found
libtool: install: error: relink `../liblapack.la' with the above command before installing it
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/pirom/src/lapack-3.4.0/SRC'
make: *** [install_lapack] Error 2

Any ideas?

Alternatively, I understand that blas and lapack can be built as shared libraries with cmake. I have cmake installed...how exactly can I build lapack and blas as shared library in cmake?

Thanks!
markuspiro
 
Posts: 2
Joined: Mon Mar 04, 2013 1:14 pm

Next

Return to Makefile

Who is online

Users browsing this forum: No registered users and 1 guest

cron