LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-30-2012, 12:00 PM   #1
hanamilani
Member
 
Registered: Dec 2008
Posts: 66

Rep: Reputation: 0
lapack3.4.0 installation


Hi,

I installed lapack previous versions by taking the following steps:

% tar -zxvf lapack.tgz
% cd lapack-3.2/
% cp make.inc.example make.inc
% vi make.inc
% make all

but in the new version of 3.4.0, I receive the following error which I can not figure out what file is missing:

hana@linux-xg3a:~/Desktop/lapack-3.4.0> make all
( cd INSTALL; make; ./testlsame; ./testslamch; ./testdlamch; \
./testsecond; ./testdsecnd; ./testieee; ./testversion )
make[1]: Entering directory `/home/sara/Desktop/lapack-3.4.0/INSTALL'
usr/local/bin/mpif90 -O2 -c lsame.f -o lsame.o
make[1]: usr/local/bin/mpif90: Command not found
make[1]: *** [lsame.o] Error 127
make[1]: Leaving directory `/home/sara/Desktop/lapack-3.4.0/INSTALL'
/bin/sh: ./testlsame: No such file or directory
/bin/sh: ./testslamch: No such file or directory
/bin/sh: ./testdlamch: No such file or directory
/bin/sh: line 1: ./testsecond: No such file or directory
/bin/sh: line 1: ./testdsecnd: No such file or directory
/bin/sh: line 1: ./testieee: No such file or directory
/bin/sh: line 1: ./testversion: No such file or directory
make: *** [lapack_install] Error 127
 
Old 01-30-2012, 03:00 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
Which Linux OS are you using ? Like Ubuntu 11.10 32bits, CentOS 6 64bits, etc.
http://www.linuxquestions.org/linux/...Ask_a_Question
http://linuxsilo.net/docs/smart-questions_en.html

About your errors :
A corrupt source package ? A missing /usr/bin/gfortran ?
( mpif90 is not required for the below mentioned source packages.)


A reliable source package is 1) lapack-3.4.0.tgz :
http://www.netlib.org/lapack/lapack-3.4.0.tgz

cd lapack-3.4.0/ && mkdir build && cd build/ && cmake ../
&& make : No errors. But no shared libraries are created,
only libblas.a, liblapack.a


Or 2) source + patches : lapack-3.4.0-2.fc17.src.rpm
http://download.fedora.redhat.com/pu...2.fc17.src.rpm
>>> rpmbuild -bb lapack.spec : No errors. Result =
liblapacke.so.3 liblapacke.so.3.4 liblapacke.so.3.4.0
liblapack.so.3 liblapack.so.3.4 liblapack.so.3.4.0 liblapack.so
libblas.so.3 libblas.so.3.4 libblas.so.3.4.0 libblas.so
liblapack.a libblas.a

..

Last edited by knudfl; 01-30-2012 at 05:01 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
lapack3 in lenny olin Debian 2 12-17-2008 09:30 AM
Redhat/Linux Installation Support??? Is It Red hat installation problem??? wanux Red Hat 1 08-01-2006 11:32 PM
Installation doesn't recognize Red Hat Enterprise Linux ES installation cd bizkut Red Hat 2 08-15-2004 09:57 AM


All times are GMT -5. The time now is 05:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration