LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 01: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, 07:47 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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, 01: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, 02:16 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 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



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 09:40 AM
complete step by step lapack installation steps jpandey Linux - Newbie 4 03-09-2013 04:06 AM
lapack subroutines kypamadhav Linux - Newbie 1 12-06-2010 11:37 AM
Lapack soltanloo Linux - Software 1 10-01-2009 04:41 AM
ARPACK vs. LAPACK mkrems Programming 3 05-15-2008 01:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:32 PM.

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
Open Source Consulting | Domain Registration