tag:blogger.com,1999:blog-839192421527479486.post479273391649811815..comments2023-09-16T04:20:19.421-07:00Comments on Renan Cabrera L. PhD: Eigenvalues: C/LapackRenan Cabrera L. Ph.D.http://www.blogger.com/profile/01274204455427708304noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-839192421527479486.post-72380990726841893592017-04-11T10:09:48.145-07:002017-04-11T10:09:48.145-07:00Thank you very much. This is quite useful.Thank you very much. This is quite useful.Anonymoushttps://www.blogger.com/profile/00780781446529095830noreply@blogger.comtag:blogger.com,1999:blog-839192421527479486.post-54174210011486079312014-04-01T02:40:23.573-07:002014-04-01T02:40:23.573-07:00Hi!! Thanks!! nice example!!
Hi!! Thanks!! nice example!! <br /><br />Giuseppe Marco Randazzohttps://www.blogger.com/profile/16563503268590361140noreply@blogger.comtag:blogger.com,1999:blog-839192421527479486.post-66301637131850643122012-01-21T19:03:28.858-08:002012-01-21T19:03:28.858-08:00Hi,
Your compiler cannot find the lapack library ...Hi,<br /><br />Your compiler cannot find the lapack library file<br />which can be <br />liblapack.so or liblapack.a <br /><br />make sure you have those files.<br /><br />You may need to edit<br />/etc/ld.so.conf<br />to include the path where the libraries are located<br />and execute ldconfigRenan Cabrera L. Ph.D.https://www.blogger.com/profile/01274204455427708304noreply@blogger.comtag:blogger.com,1999:blog-839192421527479486.post-54529041059836046732011-12-16T03:10:11.474-08:002011-12-16T03:10:11.474-08:00hi,
i am trying to compile this code but when i am...hi,<br />i am trying to compile this code but when i am doing <br />gcc main.c -llapack -lblas -lgfortran -lm <br />i am getting an error as <br />/usr/bin/ld: cannot find -llapack<br />Please if you can guide me in removing this error<br /><br />Thanks<br />Rahirashihttps://www.blogger.com/profile/12142500462612044760noreply@blogger.comtag:blogger.com,1999:blog-839192421527479486.post-67176420507394828402011-05-21T22:48:26.923-07:002011-05-21T22:48:26.923-07:00Yes, Lapack contains methods for special kinds of ...Yes, Lapack contains methods for special kinds of matrices in order to optimize the code. You can find the function you want for example at http://www.netlib.org/lapack/double/.<br /><br />My example uses zge functions.<br />z: double complex <br />ge: general matrices.Renan Cabrera L. Ph.D.https://www.blogger.com/profile/01274204455427708304noreply@blogger.comtag:blogger.com,1999:blog-839192421527479486.post-10067816013006179472011-05-21T22:44:25.764-07:002011-05-21T22:44:25.764-07:00The Makefile is something like:
#
CC = gcc
#edit...The Makefile is something like:<br /><br />#<br />CC = gcc<br /><br />#edit LAPACK_PATH if necessary<br />LAPACK_PATH = /usr/lib64/atlas<br /><br />a,out: main.c<br /> $(CC) main.c -L$(LAPACK_PATH) -llapack -lblas -lgfortran -lmRenan Cabrera L. Ph.D.https://www.blogger.com/profile/01274204455427708304noreply@blogger.comtag:blogger.com,1999:blog-839192421527479486.post-43291531508769431992011-05-20T04:04:50.562-07:002011-05-20T04:04:50.562-07:00A very useful example code that I have been search...A very useful example code that I have been searching for days. Could you also please add a few lines on how to compile this code. Also, are there any specialised functions to diagonalize real symmetric matrices using Lapack in C.<br />ThanksArunhttps://www.blogger.com/profile/18201436283401220013noreply@blogger.com