LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   some problem about LAPACK and BLAS (https://www.linuxquestions.org/questions/linux-software-2/some-problem-about-lapack-and-blas-347984/)

ztdep 07-29-2005 07:43 AM

some problem about LAPACK and BLAS
 
i have a full install of the red hat linux ,

and the LAPACK ,BLAS library for the linear compuation have also been involved.

but when i can not find the lapack and Blas in my computer, what is the reason and how to use them!



regards

spariggio82 07-30-2005 12:21 AM

did you install it manually????

which language do you use????

ztdep 07-30-2005 07:22 AM

no
i use fortran

would you like to teach me how to install the LAPACK

spariggio82 07-30-2005 08:10 AM

I use fortran too but I had to install them because Slackware doesn't have them.
I've unpacked the package (I'm not remembering if it's rpm or tar.gz). There's should be a script that allows to compile the whole library. For more information read the README because i'm not remembering exactly what to do.

However after installing them to use them you have to link the library using ldconfig.
Maybe after linking using ldconfig you'll have to manually modify the ld.so.conf file in /etc directory


Finally when you compile a program use the flags -l and -L to indicate what library you're using !!!!


If you want more info I could ask to a friend of mine that had recently installed them on SuSE.

ztdep 07-30-2005 08:46 PM

thank you very much !
i want to know more detail about how to use ldconfig and modify ld.so.conf file .
regards!
ztdep@yahoo.com.cn

spariggio82 07-31-2005 12:21 PM

Ok these shiuld solve oyur problem
[list=1][*]Install The Lapack library using a tar.gz archive or a rpm archive (i suggest the second);[*]when you compile a program, follow the instructions in this page

http://www.nacse.org/demos/lapack/compile.html :
[/list=1]

In this case you don't need to use ldconfig.

If there's any prblem continue posting here so other people can read an learn/teach about this problem.

ztdep 07-31-2005 11:41 PM

thank you very much!

i will try

ztdep 08-01-2005 03:23 AM

but i have performed a full installation of the redhat ,
and i have seen the LAPACK and BLAS was installed ,but where are they installed .
i can not find them .

regards

spariggio82 08-03-2005 05:32 AM

did you try under /usr/lib ???? or under /usr/share/lib ????


All times are GMT -5. The time now is 07:04 AM.