LinuxQuestions.org
Visit Jeremy's Blog.
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 03-31-2013, 02:57 PM   #1
jpandey
LQ Newbie
 
Registered: Mar 2013
Posts: 5

Rep: Reputation: Disabled
lapack installation help needed


while running make command following error is coming..plz tell me how to solve it..

jyoti@jyoti-Compaq-Presario-CQ45-NoteBook-PC:~/lapack/lapack-3.4.2$ make
( cd INSTALL; make; ./testlsame; ./testslamch; ./testdlamch; \
./testsecond; ./testdsecnd; ./testieee; ./testversion )
make: /sbin/sh: Command not found
make: *** [lapack_install] Error 127

thank u..
 
Old 04-01-2013, 08:47 AM   #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: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
The default way for a lapack install : sudo apt-get install liblapack-dev

A manual build, A.: Please read the file 'README' :
Old method : "Configuration have to be set in the make.inc file."
The proof way : "LAPACK includes also the CMAKE build."

A manual build, B.:
1) Please start from scratch with a new unpacked lapack-3.4.2.tgz
2) sudo apt-get install cmake gfortran
3) cd lapack-3.4.2/
4) mkdir build
5) cd build/
6) cmake ../
7) make
8) sudo make install

Questions ? You will have to specify Ubuntu version, like Ubuntu 12.04-amd64.

-
 
Old 04-08-2013, 02:56 AM   #3
jpandey
LQ Newbie
 
Registered: Mar 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
thank u so much for replying...
my installation has done...
plz answer one more thing if i do bydefault installation of lapack(not manual) den will it create any problem while running any program dat uses lapack library routines???
 
Old 04-08-2013, 03:16 AM   #4
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: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
# 3.

Do not expect everything to work from a manual install.
( You can probably delete the manual build with 'sudo make uninstall' ).
This is the proof solution : sudo apt-get install liblapack-dev
 
  


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
Installation and Use of Common Scientific Libraries in Unix Part 2: LAPACK and its wrappers LAPACKE ejspeiro LinuxAnswers Discussion 2 03-20-2013 10:40 AM
complete step by step lapack installation steps jpandey Linux - Newbie 4 03-09-2013 05:06 AM
lapack subroutines kypamadhav Linux - Newbie 1 12-06-2010 12:37 PM
Lapack soltanloo Linux - Software 1 10-01-2009 05:41 AM
ARPACK vs. LAPACK mkrems Programming 3 05-15-2008 02:00 PM


All times are GMT -5. The time now is 11:01 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